summaryrefslogtreecommitdiffstats
path: root/dist/changes-5.0.0
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2012-07-11 09:52:14 +0200
committerQt by Nokia <qt-info@nokia.com>2012-07-17 08:13:30 +0200
commit76880aa2c43946103c4ad2babe45eb71e1ab4f74 (patch)
tree393b844d4222eda39a075c02a1a51bdadae8d275 /dist/changes-5.0.0
parent87ff2c830d32bf26f8540689dd38fba59b18d688 (diff)
QSqlTM: use generated flag more correctly in setRecord()/insertRecord()
The generated flag should affect the generation of SQL commands rather than how the fields of the source record are applied to the model before submitting. This correction allows setRecord() to be used to change TRUE generated flags to FALSE. Clarified documentation on this point and updated change log. Change-Id: I7ee124930822561ed8beee6c6259970b3e929c9b Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
Diffstat (limited to 'dist/changes-5.0.0')
-rw-r--r--dist/changes-5.0.05
1 files changed, 3 insertions, 2 deletions
diff --git a/dist/changes-5.0.0 b/dist/changes-5.0.0
index 1dfbeaa35f..438885888f 100644
--- a/dist/changes-5.0.0
+++ b/dist/changes-5.0.0
@@ -513,8 +513,9 @@ ignore the rest of the range.
removed and only if there are no other changed rows.
* setRecord() and insertRecord()
- -Only use fields where generated flag is set to true. This is
- is consistent with the meaning of the flag.
+ -The generated flags from the source record are preserved in the model
+ and determine which fields are included when changes are applied to
+ the database.
-Require all fields to map correctly. Previously fields that didn't
map were simply ignored.
-For OnManualSubmit, insertRecord() no longer leaves behind an empty