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

QSqlQuery::numRowsAffected() may return 0 when using MySQL

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P5: Not important
    • Some future release
    • 4.3.4
    • SQL Support
    • None

    Description

      QSqlQuery::numRowsAffected() will return 0 when using MySQL for UPDATE queries when no actual data has been changed, i.e. if the updated data is the same as the old data. This is different from how other databases operates.

      Attachments

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

        Activity

          People

            bilking Bill King
            admin Administrator
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes