Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.7.4
-
678ab52ccba0b6a6903e9aee404dbe84fb74c91d a570ad0ced6f91eb878f90df2731ceba8f8cfe9f
Description
QSqlField: When checking the field type for an aggregated column then it should give the right corresponding data type for the column. For example, with this query:
SELECT SUM(id) FROM testtable
Where id is an integer datatype field, then resulting datatype in the result set should be integer too, but with SQLite it defaults to String instead.
Attachments
For Gerrit Dashboard: QTBUG-22038 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
15226,5 | Improve type detection for query results | 4.8 | qt/qt | Status: MERGED | +2 | 0 |
18532,3 | Improve type detection for query results | master | qt/qtbase | Status: MERGED | +2 | 0 |