fixed booleans

This commit is contained in:
brianb
2004-02-07 00:58:29 +00:00
parent 5f02ba4fd2
commit fcf4e1a53a
4 changed files with 5 additions and 1775 deletions

View File

@@ -142,7 +142,7 @@ int lastchar;
}
switch (col->col_type) {
case MDB_BOOL:
return mdb_test_int(node, field->is_null);
return mdb_test_int(node, !field->is_null);
break;
case MDB_BYTE:
return mdb_test_int(node, (gint32)((char *)field->value)[0]);