/ File History
Login

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

History of ext/session/sqlite3session.h

2019-04-15
15:28
Merge all recent enhancements. file: [23ecec96] check-in: [1cd536ec] user: drh branch: begin-concurrent-pnu-wal2, size: 75828
14:59
Merge the latest enhancements from trunk. file: [a0aa1b3f] check-in: [7c328e88] user: drh branch: begin-concurrent, size: 75312
2019-03-29
11:48
Fix typos in the comments of the sessions extension, one of which affects the generated documentation. No code changes. file: [919be664] check-in: [040d5d51] user: drh branch: trunk, size: 74796
2018-12-29
20:47
Merge latest begin-concurrent changes with this branch. file: [ef72e773] check-in: [1625887c] user: dan branch: begin-concurrent-wal2, size: 75827
2018-12-27
17:11
Merge latest wal2 changes with this branch. file: [fd5d3539] check-in: [ea96001e] user: dan branch: begin-concurrent-wal2, size: 75311
2018-12-25
11:17
Fix a typo in a comment that is used to generate session documentation. file: [54d6356f] check-in: [a1f50d57] user: drh branch: trunk, size: 74795
2018-11-26
07:21
Merge latest trunk changes into this branch. file: [2a449bb4] check-in: [28a615a2] user: dan branch: begin-concurrent, size: 75312
2018-10-26
17:05
Add the sqlite3session_config() interface. For configuring global parameters belonging to the sessions module. file: [05351d2f] check-in: [1e69f3ff] user: dan branch: trunk, size: 74796
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: [11f229ec] check-in: [cbedcb9a] user: dan branch: trunk, size: 73117
2018-10-18
14:59
Add the SQLITE_CHANGESETAPPLY_INVERT flag to sessions. For inverting and applying a changeset in a single step. file: [1b0b2bd6] check-in: [d4b6406e] user: dan branch: trunk, size: 71833
2018-04-24
19:21
Merge latest trunk changes into this branch. file: [c284ab87] check-in: [b27bd799] user: dan branch: begin-concurrent, size: 72049
2018-04-09
11:43
Add a "flags" parameter to experimental API sqlite3changeset_apply_v2(). Also add the SQLITE_CHANGESETAPPLY_NOSAVEPOINT flag. file: [c01820d5] check-in: [3d29631f] user: dan branch: trunk, size: 71533
2018-03-23
17:36
Fix typos in sqlite3session.h preventing documentation webpages from being generated. Also mark all new sessions functions (those related to rebasing) as experimental. file: [85fd2dc3] check-in: [de974235] user: dan branch: trunk, size: 70213
2018-03-21
19:46
Fix some documentation and other issues with the code on this branch. file: [5f40a066] check-in: [a9ec6862] user: dan branch: sessions-rebase, size: 70129
17:29
Fix rebasing of UPDATE changes against a set of remote changesets that feature both OMIT and REPLACE conflict resolution on different fields of the same row. file: [be3ec8ab] check-in: [d8bc3fdb] user: dan branch: sessions-rebase, size: 67302
2018-03-20
20:27
Add further tests and documentation for the sessions rebase feature. file: [cc09a873] check-in: [7475a363] user: dan branch: sessions-rebase, size: 66546
2018-03-16
18:02
Fix a problem with handling rebasing UPDATE changes for REPLACE conflict resolution. file: [a1c66a64] check-in: [f7bf71f1] user: dan branch: sessions-rebase, size: 65235
2018-03-15
19:25
Add simple tests for the sessions module rebase API. file: [8cb99924] check-in: [cf0d1abb] user: dan branch: sessions-rebase, size: 63675
2018-03-14
21:06
Add largely untested APIs for rebasing changesets. file: [74ba4815] check-in: [39915b68] user: dan branch: sessions-rebase, size: 63676
2018-03-13
20:31
Add sqlite3_changeset_apply_v2() and apply_v2_strm() to the sessions module. file: [8fe499b7] check-in: [445bfe97] user: dan branch: sessions-rebase, size: 62930
2018-03-02
17:40
Merge latest trunk changes into this branch. file: [1eb6bc13] check-in: [36801eff] user: dan branch: begin-concurrent, size: 61934
2018-03-01
18:09
Typo fixes in comments. No changes to code. file: [2e1584b0] check-in: [1293d4f6] user: mistachkin branch: trunk, size: 61418
2018-02-28
22:21
Enhance the sessions documentation to show the methods of the various objects. file: [b4de978c] check-in: [e0117775] user: drh branch: trunk, size: 61419
21:50
Use <pre> around code snippets in the documentation for sessions interfaces. This is a documentation change only with no changes to code. file: [357b889d] check-in: [c949b915] user: drh branch: trunk, size: 60412
2018-01-18
16:56
Clarify the handling of the sqlite_stat1 table by legacy versions of the sessions module. file: [01774161] check-in: [dc7c48cb] user: dan branch: sessions-stat1, size: 60374
16:53
Add comments describing the special sqlite_stat1 handling to sqlite3session.h. file: [1bf32a95] check-in: [4431a325] user: dan branch: sessions-stat1, size: 60056
2017-11-06
20:02
Merge latest trunk changes into this branch. file: [50f6aacf] check-in: [7f217eda] user: dan branch: begin-concurrent, size: 59383
2017-10-04
16:35
Fix typos in session extension header comments. No changes to code. file: [cb4d8601] check-in: [182ec9d6] user: mistachkin branch: trunk, size: 58867
2017-03-24
15:09
Merge all recent enhancements from trunk. file: [ec4463a0] check-in: [fd5676fe] user: drh branch: begin-concurrent, size: 59379
2017-02-04
17:33
Allow sqlite3session_apply() to apply changesets to tables that have been extended using ALTER TABLE ADD COLUMN. file: [d4db650a] check-in: [b20ff81f] user: dan branch: trunk, size: 58863
2016-12-07
07:46
Merge latest trunk changes into this branch. file: [30b9ba3c] check-in: [391344d8] user: dan branch: changebatch, size: 58957
2016-09-28
16:05
Two more typo fixes in comments. file: [9345166b] check-in: [40c0fb0a] user: drh branch: trunk, size: 58441
16:04
Fix typos in comments. No code changes. file: [7608f943] check-in: [5bbd071d] user: drh branch: trunk, size: 58445
2016-08-27
18:35
Fix some comments in sqlite3session.h. No changes to code. file: [7b903781] check-in: [78cd64e2] user: dan branch: trunk, size: 58443
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: [c772b544] check-in: [efa761b2] user: dan branch: changebatch, size: 58852
2016-05-04
21:06
Disable the session extension API if SQLITE_ENABLE_SESSION is not defined. file: [69bf73cf] check-in: [71af9ac1] user: drh branch: trunk, size: 58336
2015-10-01
16:35
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. file: [64e9e7f1] check-in: [76958902] user: dan branch: sessions, size: 58287
2015-06-11
17:26
Add the sqlite3changegroup_xxx() APIs to the sessions module. For combining multiple changesets or patchsets. file: [772cffe3] check-in: [0c1a901c] user: dan branch: sessions, size: 56800
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: [8e86f9ee] check-in: [aada0ad0] user: dan branch: sessions, size: 52835
2015-04-08
16:01
Add experimental API sqlite3session_diff(). file: [d9ebd8d4] check-in: [c4340b2e] user: dan branch: sessions-diff, size: 52546
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: [16608d29] check-in: [1f44bfdc] user: drh branch: sessions, size: 50186
12:26
Improve sessions module documentation and comments. Fix some other code issues. file: [b57009fb] check-in: [bfc8bd80] user: dan branch: sessions, size: 50178
2014-09-25
20:43
Add streaming version of sqlite3changeset_concat(). file: [04529352] check-in: [88eb6656] user: dan branch: sessions, size: 48426
14:54
Add streaming version of sqlite3changeset_invert() to sessions module. file: [944d7b2c] check-in: [8ded6a46] user: dan branch: sessions, size: 48122
2014-09-24
17:13
Add streaming version of sqlite3changeset_apply(). Tests and fixes for the same and sqlite3changeset_start_str(). file: [7e7a31ad] check-in: [b917fc14] user: dan branch: sessions, size: 47888
2014-09-23
20:39
Begin adding 'streaming' APIs to sessions module. This is a work in progress. file: [d074a929] check-in: [3c7d3d95] user: dan branch: sessions, size: 46790
2014-08-18
16:03
Add miscellaneous test cases to improve coverage of sessions module. file: [66c14a2f] check-in: [0fac6cff] user: dan branch: sessions, size: 44353
2014-08-16
19:01
Fix some missing and out-of-date comments in the sessions module. file: [ef0dbcd5] check-in: [05c1d914] user: dan branch: sessions, size: 44169
2014-08-15
20:15
Begin adding the sqlite3session_patchset() API to the sessions extension. This is an interim commit. file: [c99445ea] check-in: [60a4565a] user: dan branch: sessions, size: 43257
2013-08-23
17:43
Add the sqlite3session_table_filter API to the sessions extension. file: [6c350572] check-in: [b7e4dd88] user: dan branch: sessions, size: 42959
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: [c7db3d85] check-in: [1d44e5d3] user: dan branch: sessions, size: 42220
2011-07-26
15:50
Fix a problem causing sqlite3changeset_invert() to effectively drop UPDATE changes. file: [f374c9c4] check-in: [bb3e65d9] user: dan branch: sessions, size: 40864
2011-07-16
18:35
Fix error in a comment in sqlite3session.h. No changes to code. file: [8dec3720] check-in: [70c84e50] user: dan branch: sessions, size: 40864
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: [b977d0ba] check-in: [364f3b82] user: dan branch: sessions, size: 40846
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: [f34905c8] check-in: [282474c4] user: dan branch: sessions, size: 39470
2011-04-15
12:04
Add documentation for sqlite3changeset_concat() to sqlite3session.h. file: [665f5591] check-in: [ada9efa5] user: dan branch: sessions, size: 38643
2011-04-14
18:01
Add further tests for the sqlite3changeset_concat() function. Also fixes. file: [e64876b2] check-in: [1fc3f15d] user: dan branch: sessions, size: 34668
11:16
Start adding the sqlite3changeset_concat() function to the session module. file: [dc7c85fd] check-in: [8927b226] user: dan branch: sessions, size: 34606
2011-04-06
23:40
Add a missing "extern C" terminator to the end of sqlite3session.h. file: [9b91addc] check-in: [29090b69] user: drh branch: sessions, size: 34399
2011-03-25
10:52
Improve coverage of session module code. file: [f284bac5] check-in: [666123c8] user: dan branch: sessions, size: 34258
2011-03-24
16:04
Fix handling of schema mismatches in sqlite3session.c so that it matches the docs in sqlite3session.h. file: [900d900b] check-in: [506a0d7a] user: dan branch: sessions, size: 34125
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: [8d3e00c0] check-in: [54298ee5] user: dan branch: sessions, size: 34124
2011-03-23
16:03
Add the "indirect flag" to the changeset blob format. Also the sqlite3session_indirect() API. file: [000c1ed8] check-in: [1feaf2d3] user: dan branch: sessions, size: 32872
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: [5055e21c] check-in: [e9037e4e] user: dan branch: sessions, size: 31295
02:03
Fix a couple typos for consistency in sessions documentation. file: [2b7b2b98] check-in: [510198f1] user: shaneh branch: sessions, size: 30958
2011-03-21
11:55
Clarify handling of NULL values in PK columns in sqlite3session.h. Add tests and fixes for the same. file: [2c071ee5] check-in: [aed42730] user: dan branch: sessions, size: 30958
07:23
Fix some typos in sqlite3session.h. file: [b77b0147] check-in: [0853e530] user: dan branch: sessions, size: 29997
2011-03-20
11:20
Documentation format updates to sqlite3session.h. file: [3b99c249] check-in: [f227f602] user: dan branch: sessions, size: 29949
2011-03-18
16:13
Further improvements to documentation in sqlite3session.h. file: [9551c002] check-in: [07019bb9] user: dan branch: sessions, size: 28941
13:05
Update comments in sqlite3session.h. More to come. file: [3e342fac] check-in: [e73e9082] user: dan branch: sessions, size: 21999
2011-03-16
19:59
Add the sqlite3_preupdate_new() API, for retrieving the new.* values from within a pre-update callback. file: [63045871] check-in: [526545c4] user: dan branch: sessions, size: 10816
2011-03-15
16:37
Fix some bugs and other code issues in the session module. file: [01aac9a1] check-in: [f2930840] user: dan branch: sessions, size: 8788
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: [55ca208b] check-in: [cbbb274e] user: dan branch: sessions, size: 8398
2011-03-11
19:05
Add the sqlite3changeset_apply() function. Does not yet handle all cases. file: [3246613b] check-in: [2b19be7b] user: dan branch: sessions, size: 5640
2011-03-09
11:17
Add a function to the session extension invert a changeset. file: [d7fe09ca] check-in: [75d5dff7] user: dan branch: sessions, size: 4073
2011-03-08
19:22
Add start of sessions feature. file: [b844cae3] check-in: [269a81a3] user: dan branch: sessions, size: 3885 Added