summaryrefslogtreecommitdiffstats
path: root/src/sql
diff options
context:
space:
mode:
authorBill King <bill.king@nokia.com>2009-08-11 09:16:33 +1000
committerBill King <bill.king@nokia.com>2009-08-11 09:16:33 +1000
commit6e699850938527bb25a5453f66d950fa95a8789b (patch)
tree1a23aeb6291ff10be4091f80733b7f8a966da80e /src/sql
parent8aac15d31d0f6d552228fd46b0bb29a4e00e850c (diff)
Missing break when formatting from a time value
Found by coverity.
Diffstat (limited to 'src/sql')
-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 147cd6d6af..8e90a06b7c 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