Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-34794

OCI: enumeration value ‘CancelQuery’ not handled in switch

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • None
    • 5.2.0 Beta1
    • SQL Support
    • 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

        Activity

          People

            mabrand Mark Brand
            mloskot Mateusz Loskot
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes