summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Koenig <tobias.koenig.qnx@kdab.com>2013-11-30 18:08:35 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-12-01 14:47:03 +0100
commit1c47627aa022ebaffdefe1da18cb7ff8146550cc (patch)
tree3cb499e0cb2060d7ae6022c8863f93c6278a63d3
parent4f28464ab7dfe9f18cd72fc022257e66a8e2b279 (diff)
Fix compilation of OCI driver
Add missing feature enum in switch statement to avoid warning that would lead to compilation error when compiled with -Wall. Task-number: QTBUG-34794 Change-Id: Ia2f70f27ecbb7a7dfc9d36d261103ff49b6c5e4b [ChangeLog][QtSql][QOCI] Fix compilation Reviewed-by: Mark Brand <mabrand@mabrand.nl>
-rw-r--r--src/sql/drivers/oci/qsql_oci.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sql/drivers/oci/qsql_oci.cpp b/src/sql/drivers/oci/qsql_oci.cpp
index fe9ae42e6f..6843407e9c 100644
--- a/src/sql/drivers/oci/qsql_oci.cpp
+++ b/src/sql/drivers/oci/qsql_oci.cpp
@@ -2159,6 +2159,7 @@ bool QOCIDriver::hasFeature(DriverFeature f) const
case SimpleLocking:
case EventNotifications:
case FinishQuery:
+ case CancelQuery:
case MultipleResultSets:
return false;
case Unicode: