diff options
author | Derick Hawcroft <derick.hawcroft@nokia.com> | 2009-06-30 01:17:49 (GMT) |
---|---|---|
committer | Derick Hawcroft <derick.hawcroft@nokia.com> | 2009-06-30 01:20:52 (GMT) |
commit | 6af19da2036e80612386d027e42cec3d7cf4de3b (patch) | |
tree | cda566e17d44c7cd6da0bf9f96264b10f9419e45 /src/sql | |
parent | edd75cbae9db9aedb2e040c6bbe6cdadabf6dca5 (diff) | |
download | Qt-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
Diffstat (limited to 'src/sql')
-rw-r--r-- | src/sql/drivers/odbc/qsql_odbc.cpp | 1 |
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: |