SQLite

All files named ”ext/session/session1.test”
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History for ext/session/session1.test

2025-03-27
18:42
[5d2502922d] part of check-in [c6e4e1cf2b] Add an explicit db close to fix a file-is-opened failure in session1.test in cygwin. (check-in: [c6e4e1cf2b] user: stephan branch: cygwin-fixes, size: 21310)
2025-03-24
19:58
[57cb77a816] part of check-in [1dadea3a79] Test that the sqlite3changeset_apply() function is properly appling indirect changes. (check-in: [1dadea3a79] user: dan branch: trunk, size: 21301)
11:13
[a9cf4280a0] part of check-in [dda9d7cf31] Add test cases to session1.test. (check-in: [dda9d7cf31] user: dan branch: trunk, size: 20247)
2025-01-29
18:40
[cc7e58976c] part of check-in [ff0f1b260d] Fix bug in sessions handling of FK constraints introduced by [e09a0c02] (3.48.0). Bug was preventing a changeset containing FK violations from being applied even when the xConflict(CHANGESET_FOREIGN_KEY) returned OMIT. (check-in: [ff0f1b260d] user: dan branch: mistake, size: 18435)
2025-01-04
16:30
[8d0509cd3f] part of check-in [e09a0c0229] Fix a problem in the sessions extension allowing changesets containing foreign key violations to be committed under some circumstances. (check-in: [e09a0c0229] user: dan branch: trunk, size: 18447)
2021-07-28
18:13
[e94f764fbf] part of check-in [a2fc531177] Add test case to ensure that sessions works with DELETE statements that use the truncate optimization (i.e. a DELETE without a WHERE clause). (check-in: [a2fc531177] user: dan branch: trunk, size: 18419)
2018-10-26
17:05
[0b2f889958] part of check-in [1e69f3ff05] Add the sqlite3session_config() interface. For configuring global parameters belonging to the sessions module. (check-in: [1e69f3ff05] user: dan branch: trunk, size: 18036)
2018-04-09
11:43
[4532116484] part of check-in [3d29631fa7] Add a "flags" parameter to experimental API sqlite3changeset_apply_v2(). Also add the SQLITE_CHANGESETAPPLY_NOSAVEPOINT flag. (check-in: [3d29631fa7] user: dan branch: trunk, size: 17752)
2017-07-19
18:01
[736d7ff178] part of check-in [d14fc621e9] Remove some 'breakpoint' commands in test files. (check-in: [d14fc621e9] user: mistachkin branch: trunk, size: 16611)
2017-01-30
19:44
[c8a50e0e85] part of check-in [856f8604c5] Experimental change to invoke the preupdate hook when WITHOUT ROWID tables are written. (check-in: [856f8604c5] user: dan branch: preupdate-without-rowid, size: 16633)
2017-01-28
19:45
[482e9b8611] part of check-in [dc555b1039] Avoid redundant table b-tree cursor seeks in UPDATE statements that use the two-pass strategy. (check-in: [dc555b1039] user: dan branch: trunk, size: 15893)
2016-10-21
21:21
[e5125b216d] part of check-in [b861328ab9] In the sessions module, avoid recording a change if an UPDATE statement overwrites a column with REAL affinity containing an integer value with the same value. (check-in: [b861328ab9] user: dan branch: sessions-fix, size: 15442)
2016-03-30
21:19
[98f384736e] part of check-in [1085911afb] 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. (check-in: [1085911afb] user: dan branch: session-retry, size: 15135)
2015-10-01
16:35
[5dab50ce55] part of check-in [7695890230] 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. (check-in: [7695890230] user: dan branch: sessions, size: 15135)
2015-06-02
09:19
[d4f53b9b5a] part of check-in [bdaf9575cd] Modify the sessions module to ignore all operations on tables with no primary keys as documented. (check-in: [bdaf9575cd] user: dan branch: sessions, size: 15458)
2014-09-27
16:33
[4653867f32] part of check-in [d2642543ee] Fix a segfault in the streaming API functions triggered by a very long table name. (check-in: [d2642543ee] user: dan branch: sessions, size: 14850)
2014-08-18
16:03
[3733d71eb9] part of check-in [0fac6cfffe] Add miscellaneous test cases to improve coverage of sessions module. (check-in: [0fac6cfffe] user: dan branch: sessions, size: 14243)
2013-07-03
19:53
[894e3bc9f4] part of check-in [1d44e5d3c2] 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. (check-in: [1d44e5d3c2] user: dan branch: sessions, size: 13944)
2011-07-26
15:50
[502086908e] part of check-in [bb3e65d972] Fix a problem causing sqlite3changeset_invert() to effectively drop UPDATE changes. (check-in: [bb3e65d972] user: dan branch: sessions, size: 13969)
2011-07-18
15:22
[98691eec55] part of check-in [d04e0fd82a] Fix the sqlite3session_isempty() method so that it returns, as documented, non-zero when no changes have been recorded by the session object. (check-in: [d04e0fd82a] user: dan branch: sessions, size: 13537)
2011-07-16
18:05
[6ad289a196] part of check-in [364f3b820a] 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. (check-in: [364f3b820a] user: dan branch: sessions, size: 13537)
2011-04-16
19:23
[f5d9f2e362] part of check-in [f46d4b641d] Improve test coverage of session module. (check-in: [f46d4b641d] user: dan branch: sessions, size: 12971)
2011-03-30
21:04
[7a92a2a6f5] part of check-in [6634521461] Add the SQLITE_ENABLE_PREUPDATE_HOOK compile-time option. (check-in: [6634521461] user: drh branch: sessions, size: 12375)
2011-03-24
11:22
[b2da15b9d7] part of check-in [54298ee5ed] Store primary key definitions for modified tables in changesets. Add the sqlite3changeset_pk() API to extract this data from a changeset iterator. (check-in: [54298ee5ed] user: dan branch: sessions, size: 12335)
2011-03-23
16:03
[bca38efbc3] part of check-in [1feaf2d35f] Add the "indirect flag" to the changeset blob format. Also the sqlite3session_indirect() API. (check-in: [1feaf2d35f] user: dan branch: sessions, size: 12269)
2011-03-21
19:41
[1e8cda2cc8] part of check-in [39cdfa5324] Remove some unreachable code in sqlite3session.c. Add test cases. (check-in: [39cdfa5324] user: dan branch: sessions, size: 12225)
2011-03-19
17:07
Renamed and modified test/session1.test → ext/session/session1.test. [3f982c74ee] part of check-in [c4436a936a] Move session1.test from test/ to ext/session/. (check-in: [c4436a936a] user: dan branch: sessions, size: 12226)