@@ -135,7 +135,9 @@ private class MysqlConnection implements sys.db.Connection {
if (v == null) {
s.add(v);
}
- else {
+ else if (Std.is(v,Bool)) {
+ s.add( v ? 1 : 0 );
+ } else {
var t:Int = untyped v.__GetType();
if( t == 0xff )
@@ -55,7 +55,9 @@ private class SqliteConnection implements Connection {