Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
None
-
5.2.0 Beta1
-
None
-
Arch Linux (64-bit)
GCC 4.8.2
-
1c47627aa022ebaffdefe1da18cb7ff8146550cc
Description
While building Qt from the current stable branch (SHA-1: 7c73e56) compilation of src/sql/drivers/oci/qsql_oci.cpp fails with:
error: enumeration value ‘CancelQuery’ not handled in switch
I've managed to fix it with this trivial patch:
diff --git a/src/sql/drivers/oci/qsql_oci.cpp b/src/sql/drivers/oci/qsql_oci.cpp index fe9ae42..6843407 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:
Attachments
For Gerrit Dashboard: QTBUG-34794 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
72916,1 | Fix compilation of OCI driver | stable | qt/qtbase | Status: MERGED | +2 | 0 |