Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
4.7.1
-
None
Description
On qsqltablemodel.cpp:690 there is a call to d->exec(stmt, prepStatement, whereValues).
whereValues should be the FOURTH parameter, not the third (see exec definition)
This causes problems when trying to delete a row (with SQLite) that has a null value and has no primary key...
Patch attached.