aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/qt/basic/mysql/qstring-traits.hxx2
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 ());