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

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

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes