summaryrefslogtreecommitdiffstats
path: root/src/sql
diff options
context:
space:
mode:
authorDerick Hawcroft <derick.hawcroft@nokia.com>2009-06-30 11:17:49 +1000
committerDerick Hawcroft <derick.hawcroft@nokia.com>2009-06-30 11:20:52 +1000
commit6af19da2036e80612386d027e42cec3d7cf4de3b (patch)
treecda566e17d44c7cd6da0bf9f96264b10f9419e45 /src/sql
parentedd75cbae9db9aedb2e040c6bbe6cdadabf6dca5 (diff)
bug fix
- case for QVariant::Bool in switch statement was missing Task-number: 215511 Reviewed-by: TrustMe
Diffstat (limited to 'src/sql')
-rw-r--r--src/sql/drivers/odbc/qsql_odbc.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sql/drivers/odbc/qsql_odbc.cpp b/src/sql/drivers/odbc/qsql_odbc.cpp
index e0aa9b538b..2bedf7f0fb 100644
--- a/src/sql/drivers/odbc/qsql_odbc.cpp
+++ b/src/sql/drivers/odbc/qsql_odbc.cpp
@@ -1439,6 +1439,7 @@ bool QODBCResult::exec()
values[i] = QVariant(QDateTime(QDate(dt.year, dt.month, dt.day),
QTime(dt.hour, dt.minute, dt.second, dt.fraction / 1000000)));
break; }
+ case QVariant::Bool:
case QVariant::Int:
case QVariant::UInt:
case QVariant::Double: