diff options
Diffstat (limited to 'odb/sqlite')
-rw-r--r-- | odb/sqlite/statement.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/sqlite/statement.cxx b/odb/sqlite/statement.cxx index aa87939..0975545 100644 --- a/odb/sqlite/statement.cxx +++ b/odb/sqlite/statement.cxx @@ -60,7 +60,7 @@ namespace odb const bind& b (p[i]); int j (static_cast<int> (i + start_param)); - if (*b.is_null) + if (b.is_null != 0 && *b.is_null) { e = sqlite3_bind_null (stmt_, j); continue; |