From 56777a82053f81ff53f8436256f494cadcf763f1 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 24 Jul 2011 16:39:57 +0200 Subject: Remember to set is_null to false if QString is not NULL --- odb/qt/basic/mysql/qstring-traits.hxx | 2 ++ 1 file changed, 2 insertions(+) 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 (a.size ()); -- cgit v1.1