qt5base-lts/tests/auto
Mark Brand 33c212b7d2 QSqlTableModel::setData(): fix non-change detection
Commit 10ff9de91b introduced the
optimization of ignoring non-changes, but it overshot the mark.
It neglected to consider that QVariant's equality operator does not
compare the null flag. It also failed to consider that setData() has
a useful side effect of setting the generated flag in a column of a
pending INSERT. This is important when the application actually wants
a NULL to be inserted into the column.

Task-number: QTBUG-29217
Change-Id: I1368f7acc21eebfeb5a8d23746fc38f6f30fd395
Reviewed-by: Andy Shaw <andy.shaw@digia.com>
Reviewed-by: Mark Brand <mabrand@mabrand.nl>
2013-02-06 07:57:28 +01:00
..
bic/data test: Add bic data for linux-gcc-amd64 2013-01-29 23:34:24 +01:00
cmake Doc: Fix module name format 2013-01-25 17:27:44 +01:00
compilerwarnings/data Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
concurrent Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
corelib tests: Fix some more old references and links to Nokia 2013-02-01 15:27:37 +01:00
dbus Doc: Fix module name format 2013-01-25 17:27:44 +01:00
gui Clean up logical dpi for QImage. 2013-01-31 10:39:38 +01:00
guiapplauncher
network tests: Fix some more old references and links to Nokia 2013-02-01 15:27:37 +01:00
opengl Doc: Fix module name format 2013-01-25 17:27:44 +01:00
other Fix minor typos in docs, printed messages & comments 2013-01-28 18:12:41 +01:00
printsupport Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
shared Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
sql QSqlTableModel::setData(): fix non-change detection 2013-02-06 07:57:28 +01:00
testlib Doc: Fix module name format 2013-01-25 17:27:44 +01:00
tools Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
widgets Doc: Fix references to Qt Test 2013-01-30 01:35:06 +01:00
xml Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
auto.pro add and use qtHaveModule() function 2012-12-21 19:05:02 +01:00
network-settings.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qtest-config.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
test.pl Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00