/ File History
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

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

History of ext/session/test_session.c

2018-11-26
07:21
Merge latest trunk changes into this branch. file: [60e15d5d] check-in: [28a615a2] user: dan branch: begin-concurrent, size: 41746
2018-10-26
17:05
Add the sqlite3session_config() interface. For configuring global parameters belonging to the sessions module. file: [98797aba] check-in: [1e69f3ff] user: dan branch: trunk, size: 38321
2018-10-20
13:48
Add the sqlite3changeset_start_v2() - a new version of _start() that accepts a flags parameter - and a streaming equivalent to the sessions module. Also add the SQLITE_CHANGESETSTART_INVERT flag, used with start_v2() to invert a changeset while iterating through it. file: [4699405b] check-in: [cbedcb9a] user: dan branch: trunk, size: 37365
2018-10-18
14:59
Add the SQLITE_CHANGESETAPPLY_INVERT flag to sessions. For inverting and applying a changeset in a single step. file: [94474825] check-in: [d4b6406e] user: dan branch: trunk, size: 36731
2018-04-24
19:21
Merge latest trunk changes into this branch. file: [31bdac59] check-in: [b27bd799] user: dan branch: begin-concurrent, size: 39855
2018-04-09
11:43
Add a "flags" parameter to experimental API sqlite3changeset_apply_v2(). Also add the SQLITE_CHANGESETAPPLY_NOSAVEPOINT flag. file: [dba36c6c] check-in: [3d29631f] user: dan branch: trunk, size: 36430
2018-03-15
19:25
Add simple tests for the sessions module rebase API. file: [f253742e] check-in: [cf0d1abb] user: dan branch: sessions-rebase, size: 35930
2018-03-14
21:06
Add largely untested APIs for rebasing changesets. file: [8c04dc8c] check-in: [39915b68] user: dan branch: sessions-rebase, size: 32845
2018-03-13
20:31
Add sqlite3_changeset_apply_v2() and apply_v2_strm() to the sessions module. file: [6c45bee5] check-in: [445bfe97] user: dan branch: sessions-rebase, size: 32583
2016-12-07
07:46
Merge latest trunk changes into this branch. file: [badd5da3] check-in: [391344d8] user: dan branch: changebatch, size: 35028
2016-08-29
14:18
Use some of the example code from the sessions documenatation in the sessions test cases. file: [eb0bd6c1] check-in: [6602974d] user: dan branch: trunk, size: 31603
2016-08-23
17:02
Add a new method to sessions - sqlite3sessions_fullchangeset() - to return a changeset that always contains values for all old.* fields. Update changebatch to use these values to more reliably detect multi-column UNIQUE constraint violations. file: [9e6a4313] check-in: [efa761b2] user: dan branch: changebatch, size: 31659
2016-08-22
20:49
Add an experimental module to detect conflicts between sessions changesets. file: [24968972] check-in: [0c9fd6b7] user: dan branch: changebatch, size: 31441
2016-07-29
01:31
Add macro necessary for building several extensions when the __stdcall calling convention is not in use. file: [2caed9a6] check-in: [bc8c9b55] user: mistachkin branch: callbackConv, size: 28234
2016-07-28
23:58
Missed a couple Tcl command deletion callbacks. file: [d0754c65] check-in: [fc5c1876] user: mistachkin branch: callbackConv, size: 28175
23:54
Use the SQLITE_TCLAPI macro in several extensions that were missed in the previous check-in. file: [5f9b1da4] check-in: [df254365] user: mistachkin branch: callbackConv, size: 28161
14:37
Allow the 'testfixture.exe' target to be compiled with the __stdcall calling convention. file: [ebf9acf2] check-in: [e8be3dfe] user: mistachkin branch: callbackConv, size: 28063
2016-04-12
20:15
Even more compiler warning fixes. file: [464f2c8b] check-in: [7faec9ea] user: mistachkin branch: warnings, size: 27988
2015-04-23
17:22
Modify the sqlite3session_diff() API so that tables with no PRIMARY KEYs are ignored. This matches the other sessions APIs. Also change sqlite3session_diff() so that it returns SQLITE_SCHEMA, instead of SQLITE_ERROR, if the tables being compared do not have compatible schemas. file: [187bd344] check-in: [aada0ad0] user: dan branch: sessions, size: 27966
15:03
Fix the error message returned by sqlite3session_diff() for tables with no PRIMARY KEY. file: [67a04963] check-in: [4d34a3d4] user: dan branch: sessions, size: 27956
2015-04-08
16:01
Add experimental API sqlite3session_diff(). file: [037fc253] check-in: [c4340b2e] user: dan branch: sessions-diff, size: 27928
2014-09-27
20:45
Change the names of the stream interface APIs to be of the form "_strm" instead of "_str". In other words, added an "m" to the end, to try to make it clear that we are talking about a "stream" and not a "string. file: [a28352e9] check-in: [1f44bfdc] user: drh branch: sessions, size: 27431
16:33
Fix a segfault in the streaming API functions triggered by a very long table name. file: [56a4ddd4] check-in: [d2642543] user: dan branch: sessions, size: 27425
2014-09-25
20:43
Add streaming version of sqlite3changeset_concat(). file: [194083ee] check-in: [88eb6656] user: dan branch: sessions, size: 27158
14:54
Add streaming version of sqlite3changeset_invert() to sessions module. file: [4449ef15] check-in: [8ded6a46] user: dan branch: sessions, size: 26944
2014-09-24
17:13
Add streaming version of sqlite3changeset_apply(). Tests and fixes for the same and sqlite3changeset_start_str(). file: [77f1e7a2] check-in: [b917fc14] user: dan branch: sessions, size: 26811
2014-09-23
20:39
Begin adding 'streaming' APIs to sessions module. This is a work in progress. file: [e39119c8] check-in: [3c7d3d95] user: dan branch: sessions, size: 25061
2014-08-18
16:03
Add miscellaneous test cases to improve coverage of sessions module. file: [a252fb66] check-in: [0fac6cff] user: dan branch: sessions, size: 23676
2014-08-15
20:15
Begin adding the sqlite3session_patchset() API to the sessions extension. This is an interim commit. file: [920ccb6d] check-in: [60a4565a] user: dan branch: sessions, size: 20425
2014-03-06
15:01
Fix a harmless compiler warning in the sessions test harness. file: [7878ac0e] check-in: [d389e20a] user: drh branch: sessions, size: 20233
14:53
Enhance the test harness for the sessions interface so that it does not use SQLite operations that can encounter an OOM error in places where it is unable to report an OOM error back up to the test script. file: [b74ddeb4] check-in: [bc0e6610] user: drh branch: sessions, size: 20228
2013-08-23
17:43
Add the sqlite3session_table_filter API to the sessions extension. file: [d3896830] check-in: [b7e4dd88] user: dan branch: sessions, size: 20136
2013-07-03
19:53
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. file: [12053e91] check-in: [1d44e5d3] user: dan branch: sessions, size: 18713
2013-05-09
23:40
Merge trunk changes into the sessions branch. file: [23eddaf7] check-in: [512f8a1e] user: drh branch: sessions, size: 18242
2011-07-16
18:05
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. file: [ea4dc9b4] check-in: [364f3b82] user: dan branch: sessions, size: 18254
2011-07-13
15:21
Add the xFilter callback to the sqlite3changeset_apply() function. This callback allows the application to accept or reject changes on a per-table basis when applying a changeset. file: [209f13fa] check-in: [282474c4] user: dan branch: sessions, size: 18042
2011-04-16
19:23
Improve test coverage of session module. file: [311e5b92] check-in: [f46d4b64] user: dan branch: sessions, size: 17171
2011-04-14
11:16
Start adding the sqlite3changeset_concat() function to the session module. file: [f4d1dca9] check-in: [8927b226] user: dan branch: sessions, size: 16684
2011-03-30
21:04
Add the SQLITE_ENABLE_PREUPDATE_HOOK compile-time option. file: [82e3fd7d] check-in: [66345214] user: drh branch: sessions, size: 15462
2011-03-25
19:06
Improve coverage of session module a bit more. file: [f8fdf5c1] check-in: [4255a9f6] user: dan branch: sessions, size: 15358
10:52
Improve coverage of session module code. file: [5f186a9f] check-in: [666123c8] user: dan branch: sessions, size: 15263
2011-03-24
11:22
Store primary key definitions for modified tables in changesets. Add the sqlite3changeset_pk() API to extract this data from a changeset iterator. file: [e0f500ec] check-in: [54298ee5] user: dan branch: sessions, size: 14083
2011-03-23
16:03
Add the "indirect flag" to the changeset blob format. Also the sqlite3session_indirect() API. file: [0fcfbd51] check-in: [1feaf2d3] user: dan branch: sessions, size: 13778
2011-03-22
15:21
If a NULL pointer is passed to sqlite3session_attach() in place of a table name, attach all database tables to the session object. file: [d31fbf59] check-in: [e9037e4e] user: dan branch: sessions, size: 13346
2011-03-14
19:49
Fix handling of return values from the conflict handler. Document the conflict handler arguments and return codes in sqlite3session.h. file: [2559ef68] check-in: [cbbb274e] user: dan branch: sessions, size: 13263
2011-03-11
19:05
Add the sqlite3changeset_apply() function. Does not yet handle all cases. file: [1b4f278d] check-in: [2b19be7b] user: dan branch: sessions, size: 12405
2011-03-09
11:17
Add a function to the session extension invert a changeset. file: [7bc88e75] check-in: [75d5dff7] user: dan branch: sessions, size: 8138
2011-03-08
19:22
Add start of sessions feature. file: [72b1af5e] check-in: [269a81a3] user: dan branch: sessions, size: 7129 Added