Open GoogleCodeExporter opened 9 years ago
I found the bug ...
At Statement Class the method:
private function addParametersToSql():BinaryQuery {
var parts:Array = Util.splitIgnoreQuotedDelim(this.sql, "?");
var binq:BinaryQuery = new BinaryQuery(con.connectionCharSet);
for ( var i:int = 0; i<parts.length; i++ ) {
binq.append(parts[i]);
// IF PARAMS[i+1] VALUE EQUALS NULL IT WILL NOT GET INTO THE
IF STATEMENT ...
if ( params[i+1] ) {
var value:* = params[i+1];
if ( value == null ) {
binq.append("NULL");
}
Original comment by tiagohen...@gmail.com
on 28 Dec 2009 at 4:19
Original issue reported on code.google.com by
tiagohen...@gmail.com
on 28 Dec 2009 at 2:37