summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill King <bill.king@nokia.com>2009-08-10 23:16:33 (GMT)
committerBill King <bill.king@nokia.com>2009-08-10 23:16:33 (GMT)
commit6e699850938527bb25a5453f66d950fa95a8789b (patch)
tree1a23aeb6291ff10be4091f80733b7f8a966da80e
parent8aac15d31d0f6d552228fd46b0bb29a4e00e850c (diff)
downloadQt-6e699850938527bb25a5453f66d950fa95a8789b.zip
Qt-6e699850938527bb25a5453f66d950fa95a8789b.tar.gz
Qt-6e699850938527bb25a5453f66d950fa95a8789b.tar.bz2
Missing break when formatting from a time value
Found by coverity.
-rw-r--r--src/sql/drivers/psql/qsql_psql.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sql/drivers/psql/qsql_psql.cpp b/src/sql/drivers/psql/qsql_psql.cpp
index 147cd6d..8e90a06 100644
--- a/src/sql/drivers/psql/qsql_psql.cpp
+++ b/src/sql/drivers/psql/qsql_psql.cpp
@@ -1139,6 +1139,7 @@ QString QPSQLDriver::formatValue(const QSqlField &field, bool trimStrings) const
{
r = QLatin1String("NULL");
}
+ break;
case QVariant::String:
{
// Escape '\' characters