Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
History for ext/session/test_session.c
2025-05-29
| ||
14:59 | [f89ae37fcf] part of check-in [54b8888080] Update the bedrock branch to version 3.50.0 (check-in: [54b8888080] user: drh branch: bedrock, size: 54825) | |
14:40 | [8f65d66413] part of check-in [436609fdb1] Bring the begin-concurrent branch up to version 3.50.0. (check-in: [436609fdb1] user: drh branch: begin-concurrent, size: 54789) | |
2025-05-22
| ||
18:04 | [2ddff73ea3] part of check-in [3dbde72714] Fix a problem with using streaming iterators with sqlite3changegroup_add_change(). (check-in: [3dbde72714] user: dan branch: trunk, size: 51353) | |
2025-04-21
| ||
13:02 | [6fb82bec81] part of check-in [3215186aa9] Merge all the latest trunk enhancements into the bedrock branch. (check-in: [3215186aa9] user: drh branch: bedrock, size: 54123) | |
12:41 | [c6854bcd31] part of check-in [2866119c75] Merge all recent trunk enhancements into the begin-concurrent branch. (check-in: [2866119c75] user: drh branch: begin-concurrent, size: 54087) | |
2025-03-06
| ||
13:38 | [af162108e8] part of check-in [205979813c] Cygwin-centric fixes from Jan Nijtmans. (check-in: [205979813c] user: stephan branch: cygwin-fixes, size: 50651) | |
2025-01-14
| ||
12:28 | [3e9a06d084] part of check-in [fab341c829] Version 3.48.0 for the bedrock branch (check-in: [fab341c829] user: drh branch: bedrock, size: 54102) | |
12:15 | [0f4eee0054] part of check-in [56d110b636] Version 3.48.0 for the begin-concurrent branch. (check-in: [56d110b636] user: drh branch: begin-concurrent, size: 54066) | |
2025-01-13
| ||
11:28 | [12e0a2c15f] part of check-in [ed83b79100] GCC 13 has become more quite pedantic about the signature of functions matching the type of pointers through which the functions are called. Make adjustments to extension functions and test procedures to work around this. No changes to the core. (check-in: [ed83b79100] user: drh branch: trunk, size: 50630) | |
2024-09-06
| ||
15:45 | [6b2e04ebf6] part of check-in [4a3386ccb8] Update the bedrock branch to include all the latest enhancements from trunk. (check-in: [4a3386ccb8] user: drh branch: bedrock, size: 54137) | |
15:39 | [c17515ec28] part of check-in [2a87a969e7] Merge all the latest trunk enhancements into the begin-concurrent branch. (check-in: [2a87a969e7] user: drh branch: begin-concurrent, size: 54101) | |
11:21 | [aa29abdcc9] part of check-in [60fb8ee153] Fix harmless compiler warnings. (check-in: [60fb8ee153] user: drh branch: trunk, size: 50665) | |
2024-08-01
| ||
00:47 | [1f0cfe31fd] part of check-in [c1f616ce80] Merge the latest trunk enhancements into the bedrock branch. (check-in: [c1f616ce80] user: drh branch: bedrock, size: 54120) | |
00:02 | [719e6d928b] part of check-in [3b131bd9aa] Merge all the latest trunk enhancements into the begin-concurrent branch. (check-in: [3b131bd9aa] user: drh branch: begin-concurrent, size: 54084) | |
2024-07-30
| ||
15:49 | [6acbe67db8] part of check-in [6e5bb48a74] First attempt at getting the build to work with Tcl 9.0. (check-in: [6e5bb48a74] user: drh branch: tcl9, size: 50648) | |
2024-05-21
| ||
15:24 | [c05b495afa] part of check-in [c65a82f1fa] Merge the latest trunk enhancements into the bedrock branch. (check-in: [c65a82f1fa] user: drh branch: bedrock, size: 54006) | |
15:17 | [55afb41db0] part of check-in [5c1c8651d1] Merge the latest trunk enhancements into the begin-concurrent branch. (check-in: [5c1c8651d1] user: drh branch: begin-concurrent, size: 53960) | |
2024-05-06
| ||
17:21 | [8bcc857125] part of check-in [9d67bedc20] Add tests for sqlite3changegroup_add_change(). (check-in: [9d67bedc20] user: dan branch: changegroup-add-change, size: 50534) | |
2024-05-04
| ||
21:10 | [ba40d22840] part of check-in [73647db1dd] Add new sessions API sqlite3changegroup_add_change(). (check-in: [73647db1dd] user: dan branch: changegroup-add-change, size: 48894) | |
2023-11-01
| ||
12:45 | [81ebc0df0c] part of check-in [827cf67fb3] Version 3.44.0 for the bedrock branch. (check-in: [827cf67fb3] user: drh branch: bedrock, size: 50600) | |
12:38 | [dec29dc72c] part of check-in [291d6b4403] Version 3.44.0 for the begin-concurrent branch. (check-in: [291d6b4403] user: drh branch: begin-concurrent, size: 50554) | |
2023-10-31
| ||
17:40 | [7b94ad945c] part of check-in [d1895dd8f5] Fix harmless compiler warnings in test code. (check-in: [d1895dd8f5] user: drh branch: trunk, size: 47128) | |
2023-10-23
| ||
16:08 | [6da663390e] part of check-in [c9c9bc097a] Merge latest changes from wal2 into this branch. (check-in: [c9c9bc097a] user: dan branch: bedrock, size: 50614) | |
15:48 | [3829e4cfa9] part of check-in [c5ef898a79] Merge latest trunk changes into this branch. (check-in: [c5ef898a79] user: dan branch: begin-concurrent, size: 50568) | |
2023-10-20
| ||
17:06 | [73e9921205] part of check-in [fc9f82ea08] Add the SQLITE_CHANGESETAPPLY_FKNOACTION flag to sqlite3session.h, for passing to sqlite3changeset_apply_v2() to cause all foreign key constraints to behave as if they were declared NO ACTION. (check-in: [fc9f82ea08] user: dan branch: trunk, size: 47142) | |
2023-10-09
| ||
12:39 | [be0610a8ab] part of check-in [3d5ec99397] Fix harmless compiler warning in the test module for sessions. (check-in: [3d5ec99397] user: drh branch: trunk, size: 47010) | |
2023-10-06
| ||
19:01 | [0b4bc954e5] part of check-in [5dab481c10] Add tests for the sqlite3changegroup_schema() API. (check-in: [5dab481c10] user: dan branch: session-alter, size: 47016) | |
2023-05-04
| ||
14:41 | [dd6a4db90a] part of check-in [b2e0800b24] Merge latest wal2 changes into this branch. (check-in: [b2e0800b24] user: dan branch: bedrock, size: 47086) | |
2023-05-02
| ||
21:10 | [8957ef4765] part of check-in [6f22c7679f] Update this branch with latest changes from trunk. (check-in: [6f22c7679f] user: dan branch: begin-concurrent, size: 47040) | |
2023-04-24
| ||
19:22 | [5285482f83] part of check-in [8a612f0860] Allow the sessions module to be configured to capture changes from tables with no explicit PRIMARY KEY. (check-in: [8a612f0860] user: dan branch: sessions-rowid-tables, size: 43614) | |
2023-03-08
| ||
18:03 | [b55a669a21] part of check-in [cb023fe285] Add the SQLITE_CHANGESETAPPLY_IGNORENOOP flag, which may be passed to sqlite3changeset_apply_v2() to have it ignore changes that would be no-ops if applied to the database (e.g. deleting a row that has already been deleted), instead of considering them conflicts. (check-in: [cb023fe285] user: dan branch: trunk, size: 43142) | |
2023-02-24
| ||
19:58 | [40fbe5761b] part of check-in [a95a4bce88] Fix a problem with the sqlite3sessions_fullchangeset() and sqlite3changebatch_add() APIs on this branch. (check-in: [a95a4bce88] user: dan branch: bedrock, size: 46535) | |
2023-02-06
| ||
17:35 | [0597d013e6] part of check-in [46e79167b9] Merge the latest trunk enhancements into the begin-concurrent branch. (check-in: [46e79167b9] user: drh branch: begin-concurrent, size: 46489) | |
2023-02-05
| ||
17:40 | [2de472b4d7] part of check-in [c81398c621] Add the "devtest" makefile target that runs both fuzztest and testrunner. (check-in: [c81398c621] user: drh branch: trunk, size: 43062) | |
2022-12-21
| ||
20:07 | [1468abeab1] part of check-in [0c198aee53] Update the begin-concurrent branch with the latest enhancements on trunk. (check-in: [0c198aee53] user: drh branch: begin-concurrent, size: 46502) | |
2022-12-13
| ||
19:52 | [94364b91cf] part of check-in [bd814af14b] Fix a comment in ext/session/test_session.c. (check-in: [bd814af14b] user: dan branch: trunk, size: 43075) | |
19:40 | [6aa7e97407] part of check-in [f9cd23dffb] Prevent the sessions rebaser from generating changesets containing UPDATE records for which non-PK fields are present in the old.* but not the new.* record. Also update the changeset iterator to work around such changesets. (check-in: [f9cd23dffb] user: dan branch: trunk, size: 42600) | |
2021-05-21
| ||
17:31 | [2264610350] part of check-in [4efefb5938] Merge latest changes from wal2 into this branch. (check-in: [4efefb5938] user: dan branch: begin-concurrent-pnu-wal2, size: 43163) | |
15:33 | [a8b3a42a31] part of check-in [0dba9010ad] Merge all recent trunk changes into the begin-concurrent branch. (check-in: [0dba9010ad] user: drh branch: begin-concurrent, size: 43163) | |
2021-04-22
| ||
17:40 | [f433f68a8a] part of check-in [4d5fd2151e] Add the sqlite3session_object_config() API. Current used to enable/disable collecting data for sqlite3session_changeset_size(). (check-in: [4d5fd2151e] user: dan branch: session-changeset-size, size: 39736) | |
2021-04-21
| ||
20:52 | [b3d03f73b7] part of check-in [b5564a6fd5] Add the experimental sqlite3session_changeset_size() API. (check-in: [b5564a6fd5] user: dan branch: session-changeset-size, size: 38870) | |
2021-03-11
| ||
18:52 | [18372dfe25] part of check-in [79d44ebd53] Update this branch with latest changes from trunk. (check-in: [79d44ebd53] user: dan branch: begin-concurrent, size: 42084) | |
15:57 | [90ccf1c30c] part of check-in [07150cf15a] Fix a Tcl object leak in test_session.c. (check-in: [07150cf15a] user: dan branch: trunk, size: 38657) | |
2021-03-03
| ||
19:17 | [602e68c559] part of check-in [acdafef836] Merge recent trunk changes into the begin-concurrent branch. (check-in: [acdafef836] user: drh branch: begin-concurrent, size: 42002) | |
2020-12-23
| ||
16:46 | [93ca965112] part of check-in [823f75c2e4] Add the sqlite3session_memory_used() API to the sessions module. For querying the amount of heap memory currently being used by a session object. (check-in: [823f75c2e4] user: dan branch: trunk, size: 38577) | |
2020-11-26
| ||
11:37 | [1e47903846] part of check-in [ddb97eeef7] Update this branch with latest changes from trunk. (check-in: [ddb97eeef7] user: dan branch: begin-concurrent, size: 41767) | |
2020-10-26
| ||
16:22 | [24286d958d] part of check-in [80eba105d6] Ensure that the table argument passed to Tcl_GetIndexFromObjStruct() in the sessions module test code is declared "static". (check-in: [80eba105d6] user: dan branch: trunk, size: 38342) | |
2018-11-26
| ||
07:21 | [60e15d5db8] part of check-in [28a615a2e0] Merge latest trunk changes into this branch. (check-in: [28a615a2e0] user: dan branch: begin-concurrent, size: 41746) | |
2018-10-26
| ||
17:05 | [98797aba47] 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: 38321) | |
2018-10-20
| ||
13:48 | [4699405b2a] part of check-in [cbedcb9aae] 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: [cbedcb9aae] user: dan branch: trunk, size: 37365) | |
2018-10-18
| ||
14:59 | [9447482597] part of check-in [d4b6406e7f] Add the SQLITE_CHANGESETAPPLY_INVERT flag to sessions. For inverting and applying a changeset in a single step. (check-in: [d4b6406e7f] user: dan branch: trunk, size: 36731) | |
2018-04-24
| ||
19:21 | [31bdac59e1] part of check-in [b27bd799ea] Merge latest trunk changes into this branch. (check-in: [b27bd799ea] user: dan branch: begin-concurrent, size: 39855) | |
2018-04-09
| ||
11:43 | [dba36c6c01] 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: 36430) | |
2018-03-15
| ||
19:25 | [f253742ea0] part of check-in [cf0d1abb44] Add simple tests for the sessions module rebase API. (check-in: [cf0d1abb44] user: dan branch: sessions-rebase, size: 35930) | |
2018-03-14
| ||
21:06 | [8c04dc8cad] part of check-in [39915b683b] Add largely untested APIs for rebasing changesets. (check-in: [39915b683b] user: dan branch: sessions-rebase, size: 32845) | |
2018-03-13
| ||
20:31 | [6c45bee580] part of check-in [445bfe977d] Add sqlite3_changeset_apply_v2() and apply_v2_strm() to the sessions module. (check-in: [445bfe977d] user: dan branch: sessions-rebase, size: 32583) | |
2016-12-07
| ||
07:46 | [badd5da3cb] part of check-in [391344d88a] Merge latest trunk changes into this branch. (check-in: [391344d88a] user: dan branch: changebatch, size: 35028) | |
2016-08-29
| ||
14:18 | [eb0bd6c1ea] part of check-in [6602974d17] Use some of the example code from the sessions documenatation in the sessions test cases. (check-in: [6602974d17] user: dan branch: trunk, size: 31603) | |
2016-08-23
| ||
17:02 | [9e6a4313dc] part of check-in [efa761b2f5] 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: [efa761b2f5] user: dan branch: changebatch, size: 31659) | |
2016-08-22
| ||
20:49 | [24968972a5] part of check-in [0c9fd6b723] Add an experimental module to detect conflicts between sessions changesets. (check-in: [0c9fd6b723] user: dan branch: changebatch, size: 31441) | |
2016-07-29
| ||
01:31 | [2caed9a659] part of check-in [bc8c9b55dd] Add macro necessary for building several extensions when the __stdcall calling convention is not in use. (check-in: [bc8c9b55dd] user: mistachkin branch: callbackConv, size: 28234) | |
2016-07-28
| ||
23:58 | [d0754c6595] part of check-in [fc5c187602] Missed a couple Tcl command deletion callbacks. (check-in: [fc5c187602] user: mistachkin branch: callbackConv, size: 28175) | |
23:54 | [5f9b1da42c] part of check-in [df2543652b] Use the SQLITE_TCLAPI macro in several extensions that were missed in the previous check-in. (check-in: [df2543652b] user: mistachkin branch: callbackConv, size: 28161) | |
14:37 | [ebf9acf2bd] part of check-in [e8be3dfeab] Allow the 'testfixture.exe' target to be compiled with the __stdcall calling convention. (check-in: [e8be3dfeab] user: mistachkin branch: callbackConv, size: 28063) | |
2016-04-12
| ||
20:15 | [464f2c8bf5] part of check-in [7faec9ea33] Even more compiler warning fixes. (check-in: [7faec9ea33] user: mistachkin branch: warnings, size: 27988) | |
2015-04-23
| ||
17:22 | [187bd344c5] part of check-in [aada0ad08e] 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: [aada0ad08e] user: dan branch: sessions, size: 27966) | |
15:03 | [67a049635d] part of check-in [4d34a3d40d] Fix the error message returned by sqlite3session_diff() for tables with no PRIMARY KEY. (check-in: [4d34a3d40d] user: dan branch: sessions, size: 27956) | |
2015-04-08
| ||
16:01 | [037fc25340] part of check-in [c4340b2ea2] Add experimental API sqlite3session_diff(). (check-in: [c4340b2ea2] user: dan branch: sessions-diff, size: 27928) | |
2014-09-27
| ||
20:45 | [a28352e99b] part of check-in [1f44bfdc23] 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: [1f44bfdc23] user: drh branch: sessions, size: 27431) | |
16:33 | [56a4ddd443] 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: 27425) | |
2014-09-25
| ||
20:43 | [194083ee1f] part of check-in [88eb6656bd] Add streaming version of sqlite3changeset_concat(). (check-in: [88eb6656bd] user: dan branch: sessions, size: 27158) | |
14:54 | [4449ef150e] part of check-in [8ded6a4679] Add streaming version of sqlite3changeset_invert() to sessions module. (check-in: [8ded6a4679] user: dan branch: sessions, size: 26944) | |
2014-09-24
| ||
17:13 | [77f1e7a269] part of check-in [b917fc1468] Add streaming version of sqlite3changeset_apply(). Tests and fixes for the same and sqlite3changeset_start_str(). (check-in: [b917fc1468] user: dan branch: sessions, size: 26811) | |
2014-09-23
| ||
20:39 | [e39119c855] part of check-in [3c7d3d950b] Begin adding 'streaming' APIs to sessions module. This is a work in progress. (check-in: [3c7d3d950b] user: dan branch: sessions, size: 25061) | |
2014-08-18
| ||
16:03 | [a252fb669d] part of check-in [0fac6cfffe] Add miscellaneous test cases to improve coverage of sessions module. (check-in: [0fac6cfffe] user: dan branch: sessions, size: 23676) | |
2014-08-15
| ||
20:15 | [920ccb6d6e] part of check-in [60a4565a8c] Begin adding the sqlite3session_patchset() API to the sessions extension. This is an interim commit. (check-in: [60a4565a8c] user: dan branch: sessions, size: 20425) | |
2014-03-06
| ||
15:01 | [7878ac0e2f] part of check-in [d389e20ab0] Fix a harmless compiler warning in the sessions test harness. (check-in: [d389e20ab0] user: drh branch: sessions, size: 20233) | |
14:53 | [b74ddeb47e] part of check-in [bc0e661033] 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: [bc0e661033] user: drh branch: sessions, size: 20228) | |
2013-08-23
| ||
17:43 | [d38968307c] part of check-in [b7e4dd889d] Add the sqlite3session_table_filter API to the sessions extension. (check-in: [b7e4dd889d] user: dan branch: sessions, size: 20136) | |
2013-07-03
| ||
19:53 | [12053e9190] 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: 18713) | |
2013-05-09
| ||
23:40 | [23eddaf713] part of check-in [512f8a1ef8] Merge trunk changes into the sessions branch. (check-in: [512f8a1ef8] user: drh branch: sessions, size: 18242) | |
2011-07-16
| ||
18:05 | [ea4dc9b4a1] 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: 18254) | |
2011-07-13
| ||
15:21 | [209f13fa8f] part of check-in [282474c42f] 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: [282474c42f] user: dan branch: sessions, size: 18042) | |
2011-04-16
| ||
19:23 | [311e5b9228] part of check-in [f46d4b641d] Improve test coverage of session module. (check-in: [f46d4b641d] user: dan branch: sessions, size: 17171) | |
2011-04-14
| ||
11:16 | [f4d1dca94d] part of check-in [8927b2260b] Start adding the sqlite3changeset_concat() function to the session module. (check-in: [8927b2260b] user: dan branch: sessions, size: 16684) | |
2011-03-30
| ||
21:04 | [82e3fd7d94] part of check-in [6634521461] Add the SQLITE_ENABLE_PREUPDATE_HOOK compile-time option. (check-in: [6634521461] user: drh branch: sessions, size: 15462) | |
2011-03-25
| ||
19:06 | [f8fdf5c110] part of check-in [4255a9f609] Improve coverage of session module a bit more. (check-in: [4255a9f609] user: dan branch: sessions, size: 15358) | |
10:52 | [5f186a9f45] part of check-in [666123c8d0] Improve coverage of session module code. (check-in: [666123c8d0] user: dan branch: sessions, size: 15263) | |
2011-03-24
| ||
11:22 | [e0f500ec5e] 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: 14083) | |
2011-03-23
| ||
16:03 | [0fcfbd51e3] 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: 13778) | |
2011-03-22
| ||
15:21 | [d31fbf5902] part of check-in [e9037e4e4c] 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: [e9037e4e4c] user: dan branch: sessions, size: 13346) | |
2011-03-14
| ||
19:49 | [2559ef68e4] part of check-in [cbbb274e50] Fix handling of return values from the conflict handler. Document the conflict handler arguments and return codes in sqlite3session.h. (check-in: [cbbb274e50] user: dan branch: sessions, size: 13263) | |
2011-03-11
| ||
19:05 | [1b4f278d0a] part of check-in [2b19be7bf7] Add the sqlite3changeset_apply() function. Does not yet handle all cases. (check-in: [2b19be7bf7] user: dan branch: sessions, size: 12405) | |
2011-03-09
| ||
11:17 | [7bc88e75a7] part of check-in [75d5dff725] Add a function to the session extension invert a changeset. (check-in: [75d5dff725] user: dan branch: sessions, size: 8138) | |
2011-03-08
| ||
19:22 | Added: [72b1af5ea6] part of check-in [269a81a37d] Add start of sessions feature. (check-in: [269a81a37d] user: dan branch: sessions, size: 7129) | |