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

QSqlDatabase::record() does not report generated columns for SQlite

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3: Somewhat important P3: Somewhat important
    • 6.9.3, 6.10.0 Beta4, 6.11.0 FF
    • 6.7.3
    • sqlite
    • None
    • All
    • a8e4bad3f (dev), b57543584 (6.10), 6890006b2 (6.9)

      qsql_sqlite.cpp

      static QSqlIndex qGetTableInfo(QSqlQuery &q, const QString &tableName, bool onlyPIndex = false)
      

      is using PRAGMA table_info, which doesn't report generated columns. PRAGMA table_xinfo should be used instead.

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

            dheerendra Dheerendra Purohit
            fanda Fanda Vacek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes