dan
|
d915152677
|
Have the sqlite3session_apply() function and its streaming equivalent retry any operations that failed with SQLITE_CONSTRAINT after all other operations on the same table have been attempted. New code is largely untested.
FossilOrigin-Name: 1085911afb51744f32fe9db183b50e8e88bdd73e
|
2016-03-30 21:19:00 +00:00 |
|
dan
|
6c39e6a800
|
Changes to the sesssions module ensure that tables appear within changesets and patchsets in the same order that they were attached to the sessions object.
FossilOrigin-Name: 7695890230dc1e0c6db9b7aa509db2039c7f7239
|
2015-10-01 16:35:57 +00:00 |
|
dan
|
6dc29e60c8
|
Modify the sessions module to ignore all operations on tables with no primary keys as documented.
FossilOrigin-Name: bdaf9575cd9ebb33dc5da4062a84bca79e7b0fec
|
2015-06-02 09:19:22 +00:00 |
|
dan
|
e8fa8c9649
|
Fix a segfault in the streaming API functions triggered by a very long table name.
FossilOrigin-Name: d2642543eed54da1ac0f757d43dd4d72482eb752
|
2014-09-27 16:33:09 +00:00 |
|
dan
|
082c96dffa
|
Add miscellaneous test cases to improve coverage of sessions module.
FossilOrigin-Name: 0fac6cfffe628ea02c78ebad065307309ec9eaa1
|
2014-08-18 16:03:46 +00:00 |
|
dan
|
cb3e4b797e
|
Experimental change to the handling of foreign key constraint violations when applying a changeset: all foreign keys, immediate and deferred, are deferred until the end of the transaction (or sub-transaction) opened by the sqlite3changeset_apply(). A single call to the conflict-handler (if any) is made if any FK constraint violations are still present in the database at this point. The conflict-handler may choose to rollback the changeset, or to apply it, constraint violations and all.
FossilOrigin-Name: 1d44e5d3c2b1dc958442f9114a960b256e002ed3
|
2013-07-03 19:53:05 +00:00 |
|
dan
|
cfec7eee20
|
Fix a problem causing sqlite3changeset_invert() to effectively drop UPDATE changes.
FossilOrigin-Name: bb3e65d9724dcecdc54b4c9fb0448f95d14495ff
|
2011-07-26 15:50:36 +00:00 |
|
dan
|
ff53032641
|
Fix the sqlite3session_isempty() method so that it returns, as documented, non-zero when no changes have been recorded by the session object.
FossilOrigin-Name: d04e0fd82a15aee963e35830caf8159b4b6ccd87
|
2011-07-18 15:22:56 +00:00 |
|
dan
|
b69ec3482a
|
Note in the documentation that when iterating through a changeset, all changes to a single table are grouped together. Also add the sqlite3session_isempty() function.
FossilOrigin-Name: 364f3b820a26f9b15cf74a0222ed5e302becc54f
|
2011-07-16 18:05:07 +00:00 |
|
dan
|
6734007d75
|
Improve test coverage of session module.
FossilOrigin-Name: f46d4b641d613c39a80b12106e6a6ac0efc8be83
|
2011-04-16 19:23:10 +00:00 |
|
drh
|
9b1c62d416
|
Add the SQLITE_ENABLE_PREUPDATE_HOOK compile-time option.
FossilOrigin-Name: 6634521461e6acff7cc778590e62d57831f9230d
|
2011-03-30 21:04:43 +00:00 |
|
dan
|
244593c846
|
Store primary key definitions for modified tables in changesets. Add the sqlite3changeset_pk() API to extract this data from a changeset iterator.
FossilOrigin-Name: 54298ee5ed183d1f1c49524f25e8ae1407f3d4b5
|
2011-03-24 11:22:59 +00:00 |
|
dan
|
b4480e942f
|
Add the "indirect flag" to the changeset blob format. Also the sqlite3session_indirect() API.
FossilOrigin-Name: 1feaf2d35fd9ec777319717ae2c2929d66fe7baa
|
2011-03-23 16:03:11 +00:00 |
|
dan
|
db04571c79
|
Remove some unreachable code in sqlite3session.c. Add test cases.
FossilOrigin-Name: 39cdfa5324ae91bfbbac733b1e3e2d33ca883340
|
2011-03-21 19:41:29 +00:00 |
|
dan
|
4565faa990
|
Move session1.test from test/ to ext/session/.
FossilOrigin-Name: c4436a936ab302aec3b7f41a4552f69ad5815744
|
2011-03-19 17:07:57 +00:00 |
|