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

QSqlDriver.hasFeature(QSqlDriver::Transactions) = false

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.5.0
    • SQL Support
    • None
    • Windows 7 SP1
      64Bit OS
      mingw492_32

    Description

      I am using Qt5.5.0 to access MYSQL database. I am able to do everything it seems except manage transactions. Many docs inform me to use hasFeature(QSqlDriver::Transactions) to see if the driver handles transactions. This returns false. So, I can see what my problem is, but I cannot see what to do about it. I have gone down the path to ensure that the MYSQL database does indeed handle transactions correctly if I use the client that comes with MYSQL, so the database handles transactions fine. We have been using SQLITE for our database for years and using transaction with no problems. The MYSQL driver that I have is from my install directory Program Files (x86)\MySQL\MySQL Connector C 6.1\lib
      and it is libmysql.dll. Again, we can use this for everything but transactions.
      I see at times a need to build a plugin, but I do not know if this is needed in this case. How do I know if I need to build a plugin.

      I would appreciate any direction I could be given. This may not be a Qt bug, but right now, it appears it is not handling transactions with MYSQL.

      Thanks for any help.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              mabrand Mark Brand
              jwozniak@velocitysystems.biz Joseph A. Wozniak
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes