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

Change QSqlQuery::boundValues() to return a QList<QPair<QString, QVariant>> instead of a QMap

    XMLWordPrintable

    Details

    • Technical Risk:
      Normal
    • Commits:
      8ba9d2e0220777bc1a2322eeece7fa9a5c55a96d (qt/qtbase/dev)

      Description

      Change QSqlQuery::boundValues() to return a QList<QPair<QString, QVariant>> instead of a QMap as this will ensure that there is no accidental sorting going on inside the map when using the bound values as the list is kept as is.

      This will enable the code for QSqlResultPrivate::fieldSerial() to be streamlined better too.

        Attachments

          Issue Links

          For Gerrit Dashboard: QTBUG-51609
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              andysh Andy Shaw
              Reporter:
              andysh Andy Shaw
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes