Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.4.3
-
None
-
e5049ecc4590896a75dedcb098da9e991e1764ee
Description
Inserting a value that's not a number into a double percision field in PosgreSQL using QSqlQuery::prepare() doesn't work. Qt tries to execute the following query
insert into table (field) values (nan)
while the query should look like
insert into table (field) values ('nan')
note the quotes around 'nan'.
autotest: tst_QSqlQuery::task_233829()