summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerick Hawcroft <derick.hawcroft@nokia.com>2009-06-30 01:17:49 (GMT)
committerDerick Hawcroft <derick.hawcroft@nokia.com>2009-06-30 01:20:52 (GMT)
commit6af19da2036e80612386d027e42cec3d7cf4de3b (patch)
treecda566e17d44c7cd6da0bf9f96264b10f9419e45
parentedd75cbae9db9aedb2e040c6bbe6cdadabf6dca5 (diff)
downloadQt-6af19da2036e80612386d027e42cec3d7cf4de3b.zip
Qt-6af19da2036e80612386d027e42cec3d7cf4de3b.tar.gz
Qt-6af19da2036e80612386d027e42cec3d7cf4de3b.tar.bz2
bug fix
- case for QVariant::Bool in switch statement was missing Task-number: 215511 Reviewed-by: TrustMe
-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 e0aa9b5..2bedf7f 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: