Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.3.2
-
None
-
cf52540dfbf320e3d5cb9f7546542233c170af80
Description
QSqlField::length() always return -1 when using QODBC3 driver and QSqlDatabase::record().
This happens when using QSqlDatabase::record(), but not when using QSqlQuery::record() thus a workaround is to execute a query that selects the columns from the table and then call record() on the query object.