qt5base-lts/tests/auto/sql
Mark Brand 26450fe6a6 QSqlTableModel::removeRows() enforce edit strategy
For OnFieldChange and OnRowChange, we don't want more than one row in
the cache with uncommitted changes. This could happen if deletion in
the database fails while other changes are pending.

Chosen solution is to return false if other rows have pending changes.
Also, we only allow 1 row removed at a time.

Updated test, changes and documentation.

Change-Id: I68baf6d221789b4754e891535070011c759a2155
Reviewed-by: Honglei Zhang <honglei.zhang@nokia.com>
2012-03-15 15:35:43 +01:00
..
kernel Make tst_qsql.cpp independent of QtWidgets 2012-03-11 00:08:33 +01:00
models QSqlTableModel::removeRows() enforce edit strategy 2012-03-15 15:35:43 +01:00
sql.pro Moved sql autotests into new directory structure 2011-09-06 09:32:15 +02:00