summaryrefslogtreecommitdiffstats
path: root/src/sql/drivers/ibase
diff options
context:
space:
mode:
authorBill King <bill.king@nokia.com>2009-09-14 23:59:35 (GMT)
committerBill King <bill.king@nokia.com>2009-09-14 23:59:35 (GMT)
commitd94f6a35202d2d62671072b4ba78e75b07d630bd (patch)
tree0e2f8dd8a91267bc22e0f182a0ab829bc4032c7d /src/sql/drivers/ibase
parenta1d6c4e508cb2ea9a2d33d4f197da416c3f492c8 (diff)
parente6f191185d0a80ced3434a8b378b139386c43760 (diff)
downloadQt-d94f6a35202d2d62671072b4ba78e75b07d630bd.zip
Qt-d94f6a35202d2d62671072b4ba78e75b07d630bd.tar.gz
Qt-d94f6a35202d2d62671072b4ba78e75b07d630bd.tar.bz2
Merge commit 'origin/4.5' into 4.6
Diffstat (limited to 'src/sql/drivers/ibase')
-rw-r--r--src/sql/drivers/ibase/qsql_ibase.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sql/drivers/ibase/qsql_ibase.cpp b/src/sql/drivers/ibase/qsql_ibase.cpp
index b0ba8cd..bc425fc 100644
--- a/src/sql/drivers/ibase/qsql_ibase.cpp
+++ b/src/sql/drivers/ibase/qsql_ibase.cpp
@@ -1296,6 +1296,9 @@ int QIBaseResult::numRowsAffected()
case isc_info_sql_stmt_insert:
cCountType = isc_info_req_insert_count;
break;
+ default:
+ qWarning() << "numRowsAffected: Unknown statement type (" << d->queryType << ")";
+ return -1;
}
char acBuffer[33];