diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-07-24 16:39:57 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-07-24 16:39:57 +0200 |
commit | 56777a82053f81ff53f8436256f494cadcf763f1 (patch) | |
tree | 5d0c6e23b4a83f79d2a86f5bc10395f5447dd17b | |
parent | 32d382ddfbfac28316a9048e22f8493f66c51805 (diff) |
Remember to set is_null to false if QString is not NULL
-rw-r--r-- | odb/qt/basic/mysql/qstring-traits.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/odb/qt/basic/mysql/qstring-traits.hxx b/odb/qt/basic/mysql/qstring-traits.hxx index 8596d37..668d3c4 100644 --- a/odb/qt/basic/mysql/qstring-traits.hxx +++ b/odb/qt/basic/mysql/qstring-traits.hxx @@ -49,6 +49,8 @@ namespace odb is_null = true; else { + is_null = false; + const QByteArray& a (v.toUtf8 ()); n = static_cast<std::size_t> (a.size ()); |