/ All files named "ext/session/test_session.c"
Login

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

History for ext/session/test_session.c

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