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

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

History for ext/session/sqlite3session.c

2020-11-26
11:37
[fe5fab3c] part of check-in [ddb97eee] Update this branch with latest changes from trunk. (check-in: [ddb97eee] user: dan branch: begin-concurrent, size: 181627)
2020-08-11
21:53
[2c76b8c3] part of check-in [72c4c69f] Fix harmless USAN warnings from gcc9. (check-in: [72c4c69f] user: drh branch: trunk, size: 180854)
2020-07-30
19:19
[6aa98b21] part of check-in [e8a66515] Merge latest trunk changes into this branch. (check-in: [e8a66515] user: dan branch: begin-concurrent, size: 181539)
2020-07-29
16:18
[9c1901e5] part of check-in [a80ae2c9] Dozens and dozens of typo fixes in comments. This change adds no value to the end product and is disruptive, so it is questionable whether or not it will ever land on trunk. (check-in: [a80ae2c9] user: drh branch: typos, size: 180772)
2020-06-17
14:14
[fc8c6c13] part of check-in [d73e857b] Fix a problem with retrying constraint failures within sqlite3changeset_apply() calls with the SQLITE_CHANGESET_INVERT flag is set. (check-in: [d73e857b] user: dan branch: trunk, size: 180766)
2020-04-09
18:29
[7c2afba7] part of check-in [92f71a88] Merge recent trunk enhancements into the begin-concurrent branch. (check-in: [92f71a88] user: drh branch: begin-concurrent, size: 181347)
2020-02-27
17:16
[e25b3458] part of check-in [f71a13d0] In sqlite3changeset_apply(), ensure that DELETE and UPDATE changes are always executed on main database tables, not similarly named temp tables, as documented. INSERT statements are already being handled correctly. (check-in: [f71a13d0] user: dan branch: trunk, size: 180574)
2019-09-16
12:08
[17883941] part of check-in [93b9ef3f] Merge recent trunk enhancements into the begin-concurrent branch. (check-in: [93b9ef3f] user: drh branch: begin-concurrent, size: 181337)
2019-07-29
02:49
[a4dfb372] part of check-in [857b2ba6] Fix harmless compiler warning seen with MSVC for x64. (check-in: [857b2ba6] user: mistachkin branch: trunk, size: 180564)
2019-07-08
21:06
[91dc3e41] part of check-in [7fff0803] Merge recent trunk enhancements into the begin-concurrent branch. (check-in: [7fff0803] user: drh branch: begin-concurrent, size: 181329)
2019-05-20
19:46
[3d9d3a41] part of check-in [aee73fd2] Fix a segfault that could occur in sqlite3session_diff() if NULL were passed as the pzErrMsg argument. (check-in: [aee73fd2] user: dan branch: trunk, size: 180556)
2019-05-16
03:47
[53a110fc] part of check-in [dff823ca] Fix harmless compiler warning in the session extension. (check-in: [dff823ca] user: mistachkin branch: trunk, size: 180520)
2019-04-15
14:59
[7d7488ed] part of check-in [7c328e88] Merge the latest enhancements from trunk. (check-in: [7c328e88] user: drh branch: begin-concurrent, size: 181283)
2019-04-13
14:07
[12c958dc] part of check-in [c28c973a] Fixes for harmless compiler warnings. (check-in: [c28c973a] user: drh branch: trunk, size: 180510)
2019-03-29
11:48
[faf074fe] part of check-in [040d5d51] Fix typos in the comments of the sessions extension, one of which affects the generated documentation. No code changes. (check-in: [040d5d51] user: drh branch: trunk, size: 180478)
2019-03-08
15:30
[5b8750c4] part of check-in [667cce3d] Merge all the latest enhancements from trunk. (check-in: [667cce3d] user: drh branch: begin-concurrent-pnu, size: 181250)
2019-01-08
20:02
[4c79daf6] part of check-in [ca67f2ec] Use 64-bit math to compute the sizes of memory allocations in extensions. (check-in: [ca67f2ec] user: drh branch: trunk, size: 180477)
2018-12-18
17:20
[994b1b69] part of check-in [123cbb33] Merge latest trunk changes into this branch. (check-in: [123cbb33] user: dan branch: begin-concurrent, size: 181173)
2018-12-14
13:47
[f88c4bd0] part of check-in [fc9791ea] Fix a harmless compiler warning in Sessions. (check-in: [fc9791ea] user: drh branch: trunk, size: 180400)
2018-11-26
07:21
[133b7aec] part of check-in [28a615a2] Merge latest trunk changes into this branch. (check-in: [28a615a2] user: dan branch: begin-concurrent, size: 181161)
2018-10-30
19:14
[dbd6f7a8] part of check-in [bf93f7b5] Update comments in sqlite3session.c to describe the format of "rebase blobs", as well as changesets and patchsets. (check-in: [bf93f7b5] user: dan branch: trunk, size: 180388)
2018-10-29
17:08
[8772d3cb] part of check-in [de72a773] In the sessions module, avoid collecting rebase data if the user has not requested it. (check-in: [de72a773] user: dan branch: trunk, size: 178710)
2018-10-26
17:05
[0119dac1] 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: 178466)
2018-10-20
13:48
[7b9ae0d7] 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: 178010)
2018-10-18
15:17
[7c1875f0] part of check-in [f7affa2e] Take steps to avoid a potential integer overflow in sessionBufferGrow(). (check-in: [f7affa2e] user: dan branch: trunk, size: 177291)
14:59
[db0eb1bd] 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: 177289)
2018-09-28
20:58
[939efce2] part of check-in [86750c92] Merge latest trunk into this branch. (check-in: [86750c92] user: dan branch: begin-concurrent, size: 177357)
20:46
[ba76c7f0] part of check-in [8467c31a] Have sqlite3changegroup_output_strm() call its output function more regularly. (check-in: [8467c31a] user: dan branch: trunk, size: 176584)
2018-04-24
19:21
[1c1ac863] part of check-in [b27bd799] Merge latest trunk changes into this branch. (check-in: [b27bd799] user: dan branch: begin-concurrent, size: 177342)
2018-04-09
11:43
[2d29bbd8] 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: 176569)
2018-04-06
16:22
[305010d5] part of check-in [7594e609] Fix a problem in the sessions module causing sqlite3session_apply_strm() to allocate enough memory for the entire input buffer - which defeats the point of a streaming interface. (check-in: [7594e609] user: dan branch: trunk, size: 176325)
2018-03-24
20:06
[4e21db8d] part of check-in [e9508ab1] Fix harmless compiler warning seen with MSVC. (check-in: [e9508ab1] user: mistachkin branch: trunk, size: 176322)
2018-03-23
16:31
[ad85f3e5] part of check-in [0b06ce6d] Fix minor problems with passing NULL pointers to memcmp() and memcpy() found by -fsanitize=undefined. (check-in: [0b06ce6d] user: dan branch: trunk, size: 176320)
2018-03-22
20:11
[b411b1fa] part of check-in [07cc955e] Remove some unused code from sqlite3rebaser_rebase(). (check-in: [07cc955e] user: dan branch: sessions-rebase, size: 176313)
19:52
[53beee87] part of check-in [c8e7b5a0] Fix another problem with rebasing updates against multiple remote changes. (check-in: [c8e7b5a0] user: dan branch: sessions-rebase, size: 176378)
14:07
[c2e9047c] part of check-in [0e45baae] Add tests to ensure that patchsets are handled correctly by the session rebase APIs. (check-in: [0e45baae] user: dan branch: sessions-rebase, size: 176356)
11:15
[8cea7c63] part of check-in [a09518ab] Remove some unused code from the sessions module. (check-in: [a09518ab] user: dan branch: sessions-rebase, size: 174650)
2018-03-21
19:46
[f817bf03] part of check-in [a9ec6862] Fix some documentation and other issues with the code on this branch. (check-in: [a9ec6862] user: dan branch: sessions-rebase, size: 174138)
17:29
[c2256416] part of check-in [d8bc3fdb] 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. (check-in: [d8bc3fdb] user: dan branch: sessions-rebase, size: 174041)
2018-03-20
20:27
[b51365d4] part of check-in [7475a363] Add further tests and documentation for the sessions rebase feature. (check-in: [7475a363] user: dan branch: sessions-rebase, size: 172901)
13:52
[1c116400] part of check-in [b0c2f760] Merge all recent enhancements from trunk. (check-in: [b0c2f760] user: drh branch: begin-concurrent, size: 160547)
2018-03-16
18:02
[84f4786c] part of check-in [f7bf71f1] Fix a problem with handling rebasing UPDATE changes for REPLACE conflict resolution. (check-in: [f7bf71f1] user: dan branch: sessions-rebase, size: 174793)
2018-03-15
19:25
[94b960a9] part of check-in [cf0d1abb] Add simple tests for the sessions module rebase API. (check-in: [cf0d1abb] user: dan branch: sessions-rebase, size: 171600)
2018-03-14
21:06
[16561ad7] part of check-in [39915b68] Add largely untested APIs for rebasing changesets. (check-in: [39915b68] user: dan branch: sessions-rebase, size: 171136)
2018-03-13
20:31
[564e609f] 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: 163732)
2018-03-05
21:17
[9edfaaa7] part of check-in [7e70c9b8] Fix another crash in the sessions module triggered by malformed input. (check-in: [7e70c9b8] user: dan branch: trunk, size: 159774)
2018-03-02
17:40
[21810bc8] part of check-in [36801eff] Merge latest trunk changes into this branch. (check-in: [36801eff] user: dan branch: begin-concurrent, size: 160076)
2018-03-01
15:20
[0b7f1b8e] part of check-in [2c01c72e] Fix further crashes in sqlite3changeset_apply() caused by corrupt changeset blobs. (check-in: [2c01c72e] user: dan branch: trunk, size: 159303)
12:05
[bd8e52f8] part of check-in [745a9a7f] Fix some crashes in the sqlite3changeset_apply() function that could be caused by corrupt changeset blobs. (check-in: [745a9a7f] user: dan branch: trunk, size: 159055)
2018-01-23
00:17
[a5b7aed6] part of check-in [012d7d49] Simplify one of the compiler warning fixes from the previous check-in. (check-in: [012d7d49] user: mistachkin branch: trunk, size: 158507)
00:05
[63cfde70] part of check-in [76a11a80] Fix harmless compiler warnings seen with MSVC. (check-in: [76a11a80] user: mistachkin branch: trunk, size: 158510)
2018-01-18
16:42
[989466bb] part of check-in [f05ee74e] Fix sessions module conflict handling for the sqlite_stat1 table. (check-in: [f05ee74e] user: dan branch: sessions-stat1, size: 158501)
15:06
[55f20fa4] part of check-in [089d7cec] Simplify the sessions preupdate-hook logic for transforming NULL to X'' for column sqlite_stat1.idx. (check-in: [089d7cec] user: dan branch: sessions-stat1, size: 157869)
2018-01-17
20:57
[870d142e] part of check-in [25bf734b] Fix a problem in the sessions module with logging sqlite_stat1 rows for which (idx IS NULL) is true. (check-in: [25bf734b] user: dan branch: sessions-stat1, size: 156480)
17:38
[c9d813ff] part of check-in [09aed136] Fix a problem causing the sessions module to occasionally lose track of rows with composite primary keys when there are two rows with the same text value in the leftmost column of the PK. (check-in: [09aed136] user: dan branch: trunk, size: 153688)
2018-01-12
19:20
[a18bfdab] part of check-in [874285e4] Fix error handling in sqlite3session_diff() when it is invoked for table "sqlite_stat1". (check-in: [874285e4] user: dan branch: trunk, size: 153703)
18:03
[0153359f] part of check-in [ec39c99b] Fix obsolete comments. No changes to code. (check-in: [ec39c99b] user: drh branch: trunk, size: 153488)
16:44
[604aa21f] part of check-in [bd46c442] Experimental change to include changes made to the sqlite_stat1 table in changesets generated by the sessions module. sqlite_stat1 entries in such changesets are ignored by legacy clients. (check-in: [bd46c442] user: dan branch: sessions-stat1, size: 153794)
2017-07-20
17:47
[97e478b3] part of check-in [213c61cb] Merge all the latest trunk enhancements. (check-in: [213c61cb] user: drh branch: begin-concurrent, size: 154226)
2017-05-22
18:09
[cc127222] part of check-in [0bb23c48] Fix incompatibilities between the "sqldiff --changeset" command and the sessions module. Specifically, allow sessions to process changesets containing tables with zero operations on them and have sqldiff output the expected output for tables with multi-column primary keys. (check-in: [0bb23c48] user: dan branch: trunk, size: 153453)
2017-03-24
15:09
[459b276e] part of check-in [fd5676fe] Merge all recent enhancements from trunk. (check-in: [fd5676fe] user: drh branch: begin-concurrent, size: 154168)
2017-02-04
17:33
[13642d9c] part of check-in [b20ff81f] Allow sqlite3session_apply() to apply changesets to tables that have been extended using ALTER TABLE ADD COLUMN. (check-in: [b20ff81f] user: dan branch: trunk, size: 153395)
2017-01-09
07:00
[143d2a15] part of check-in [50fb1eb3] Merge the "changebatch" functionality into this branch. (check-in: [50fb1eb3] user: dan branch: begin-concurrent, size: 153806)
2016-12-30
14:15
[c61a4339] part of check-in [56ff72ab] Avoid passing NULL pointers to memcmp() or memcpy(), even when the "number-of-bytes" argument is passed 0. (check-in: [56ff72ab] user: dan branch: trunk, size: 153033)
2016-08-23
17:02
[e5591f76] 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: 153898)
2016-05-03
00:04
[37485891] part of check-in [0715ce16] Avoid left-shifts of signed integers. (check-in: [0715ce16] user: drh branch: trunk, size: 153125)
2016-04-29
10:13
[beb43b6b] part of check-in [89b0ee33] Fix an almost entirely harmless buffer overread in the sessions module. (check-in: [89b0ee33] user: dan branch: permutations-fix, size: 153219)
2016-04-12
20:26
[beb300cd] part of check-in [929fa4c3] A couple more compiler warning fixes. (check-in: [929fa4c3] user: mistachkin branch: warnings, size: 153132)
19:20
[7cd68ba5] part of check-in [a18a6ce2] Fix harmless compiler warnings in the 'session' module. (check-in: [a18a6ce2] user: mistachkin branch: trunk, size: 153127)
2016-03-31
10:50
[2fc72bd9] part of check-in [195f3340] Add further tests for the code on this branch. Fix a problem in OOM handling. (check-in: [195f3340] user: dan branch: session-retry, size: 153119)
02:44
[8ed9c3ac] part of check-in [84dc41e2] Enhanced comments describing the sessions file format. No changes to code. (check-in: [84dc41e2] user: drh branch: session-retry, size: 151731)
00:45
[401776af] part of check-in [ea917c14] Fix the return code in sessionRetryConstraints(). (check-in: [ea917c14] user: drh branch: session-retry, size: 151689)
2016-03-30
21:19
[e682828d] part of check-in [1085911a] 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: [1085911a] user: dan branch: session-retry, size: 151688)
2016-02-13
14:45
[b10af3e8] part of check-in [6c2d34df] Harden sqlite3session_delete() against trying to delete a session that is not currently on the session list. (check-in: [6c2d34df] user: drh branch: sessions, size: 148174)
2015-10-01
16:35
[1ace1d1e] part of check-in [76958902] 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: [76958902] user: dan branch: sessions, size: 148116)
2015-06-11
17:26
[78e5b310] part of check-in [0c1a901c] Add the sqlite3changegroup_xxx() APIs to the sessions module. For combining multiple changesets or patchsets. (check-in: [0c1a901c] user: dan branch: sessions, size: 147475)
2015-06-02
09:19
[d6302930] part of check-in [bdaf9575] Modify the sessions module to ignore all operations on tables with no primary keys as documented. (check-in: [bdaf9575] user: dan branch: sessions, size: 145225)
2015-05-19
23:04
[9ccf68d5] part of check-in [7530e1bf] Merge the Makefile.msc fix and the compiler warning fix from trunk. Also fix another compiler warning in sqlite3session_diff(). (check-in: [7530e1bf] user: drh branch: sessions, size: 145156)
22:42
[d961bfc5] part of check-in [0a0de8b7] Merge recent trunk changes, include the R-Tree enhancement that allows 8-byte BLOB arguments to geometry functions, and the fix for the TEXT affinity problem that could cause corrupt indexes. (check-in: [0a0de8b7] user: drh branch: sessions, size: 145149)
2015-04-23
17:22
[d22a8996] 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: 145128)
15:03
[0b26c45c] 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: 145165)
14:40
[de11ba62] part of check-in [ea400eca] Fix a performance problem in sqlite3session_diff(). (check-in: [ea400eca] user: dan branch: sessions, size: 144952)
2015-04-17
11:31
[2ad72851] part of check-in [6f330501] Hold the database mutex for the duration of sqlite3session_diff(). (check-in: [6f330501] user: dan branch: sessions, size: 144950)
2015-04-16
13:52
[7c82934f] part of check-in [abb192a1] Fix a stray backslash character in a printf format string in sessionDiffFindModified() (check-in: [abb192a1] user: drh branch: sessions, size: 144840)
2015-04-12
01:33
[2266fca2] part of check-in [5f14f34f] Merge all recent trunk enhancements into the sessions branch. (check-in: [5f14f34f] user: drh branch: sessions, size: 144841)
2015-04-11
17:09
[7876b6e6] part of check-in [805baa57] Merge the sessions-diff branch with this one. (check-in: [805baa57] user: dan branch: sessions, size: 144871)
2015-04-09
19:19
[27eb71e1] part of check-in [5342f721] Updates to comments describing the changeset and patchset formats. (check-in: [5342f721] user: dan branch: sessions, size: 136828)
2015-04-08
16:43
[7c6516f0] part of check-in [b9459d59] Fix problems in the sessions module causing it to produce spurious SQLITE_NOMEM errors when handling SQL text or blob values zero bytes in size. (check-in: [b9459d59] user: dan branch: sessions, size: 134577)
16:01
[3fcf2efe] part of check-in [c4340b2e] Add experimental API sqlite3session_diff(). (check-in: [c4340b2e] user: dan branch: sessions-diff, size: 142620)
2014-10-15
20:02
[838050c4] part of check-in [236704a9] Fix a problem causing sqlite3changeset_concat() to fail to detect attempts to concatenate patchsets which changesets. (check-in: [236704a9] user: dan branch: sessions, size: 134436)
2014-09-27
20:45
[67b8aee7] 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: 134248)
18:18
[0691b8d7] part of check-in [09985fa6] Fix a segfault in the sessions module that could follow an OOM. (check-in: [09985fa6] user: dan branch: sessions, size: 134180)
16:33
[228cca8f] 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: 134101)
12:26
[9ce77f47] part of check-in [bfc8bd80] Improve sessions module documentation and comments. Fix some other code issues. (check-in: [bfc8bd80] user: dan branch: sessions, size: 134326)
2014-09-26
10:52
[ade9fa2f] part of check-in [4d8537ea] Fix a problem with concatenating patchsets containing DELETE and INSERT operations on the same row. (check-in: [4d8537ea] user: dan branch: sessions, size: 133430)
2014-09-25
20:43
[368fe2e3] part of check-in [88eb6656] Add streaming version of sqlite3changeset_concat(). (check-in: [88eb6656] user: dan branch: sessions, size: 133230)
14:54
[9edf9273] part of check-in [8ded6a46] Add streaming version of sqlite3changeset_invert() to sessions module. (check-in: [8ded6a46] user: dan branch: sessions, size: 131481)
2014-09-24
17:13
[1c653844] 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: 128740)
2014-09-23
20:39
[ead909b1] 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: 125080)
2014-08-18
20:14
[4c7689bd] part of check-in [1324d08d] Fix a harmless compiler warning in the sessionAppendDelete() function. (check-in: [1324d08d] user: drh branch: sessions, size: 117810)
16:03
[b7cc5645] part of check-in [0fac6cff] Add miscellaneous test cases to improve coverage of sessions module. (check-in: [0fac6cff] user: dan branch: sessions, size: 117803)
2014-08-16
19:01
[f2385ab5] part of check-in [05c1d914] Fix some missing and out-of-date comments in the sessions module. (check-in: [05c1d914] user: dan branch: sessions, size: 117558)
16:47
[eed0f051] part of check-in [dccb3485] Fixes for the sqlite3changeset_concat() API regarding patchsets. (check-in: [dccb3485] user: dan branch: sessions, size: 116425)
2014-08-15
20:15
[e0d8101a] 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: 114714)
2014-02-11
04:30
[34e19186] part of check-in [b0067926] Sync the latest trunk changes, and in particular the STAT4 IS NOT NULL fix. (check-in: [b0067926] user: drh branch: sessions, size: 109773)
2013-08-23
17:43
[63eea374] part of check-in [b7e4dd88] Add the sqlite3session_table_filter API to the sessions extension. (check-in: [b7e4dd88] user: dan branch: sessions, size: 109743)
2013-07-11
13:49
[e0345e84] part of check-in [d39e65fe] Remove the undocumented sqlite3_foreign_key_check() API and replace it with sqlite3_db_status(db, SQLITE_DBSTATUS_DEFERRED_FKS, ...). Add test cases for the new functionality. (check-in: [d39e65fe] user: drh branch: sessions, size: 108963)
2013-07-03
19:53
[80903fe2] 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: 108909)
2013-07-02
20:23
[c0867804] part of check-in [c2972b6a] Fixes for the sessions module so that it works with sqlite3_extended_error_codes() set. (check-in: [c2972b6a] user: dan branch: sessions, size: 107699)
2013-03-19
17:10
[7d7ca693] part of check-in [5b399f2b] Also export the sqlite3changeset interfaces in the amalgamated version of the sessions extension. (check-in: [5b399f2b] user: drh branch: sessions, size: 107678)
2011-07-26
17:53
[57d04e1d] part of check-in [d5f4c4c0] Fix errors in a comment in sqlite3session.c. No changes to code. (check-in: [d5f4c4c0] user: dan branch: sessions, size: 107664)
15:50
[5a50e287] part of check-in [bb3e65d9] Fix a problem causing sqlite3changeset_invert() to effectively drop UPDATE changes. (check-in: [bb3e65d9] user: dan branch: sessions, size: 107664)
2011-07-18
15:22
[97295e18] part of check-in [d04e0fd8] 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: [d04e0fd8] user: dan branch: sessions, size: 106003)
2011-07-16
18:05
[b35e7092] 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: 105998)
2011-07-15
19:11
[b31221e6] part of check-in [5ac4a061] Add a few casts required by 64-bit VS2010 to the sessions code. (check-in: [5ac4a061] user: dan branch: sessions, size: 105547)
2011-07-13
15:21
[c05d2833] 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: 105520)
2011-04-18
15:47
[26de50c3] part of check-in [99f0f350] Fix further missing comments and other minor issues in the session module code. (check-in: [99f0f350] user: dan branch: sessions, size: 104931)
12:05
[04a5065d] part of check-in [20d7c280] Fix some missing comments and other issues with session module code. (check-in: [20d7c280] user: dan branch: sessions, size: 100539)
07:36
[fd43b8cb] part of check-in [69a01c70] Further coverage tests for the session module. (check-in: [69a01c70] user: dan branch: sessions, size: 96631)
2011-04-16
19:23
[3475df40] part of check-in [f46d4b64] Improve test coverage of session module. (check-in: [f46d4b64] user: dan branch: sessions, size: 96145)
2011-04-15
19:18
[4c44da92] part of check-in [3dfd1d63] Improve coverage of session module. (check-in: [3dfd1d63] user: dan branch: sessions, size: 95538)
16:03
[08573805] part of check-in [df0b2d21] Add tests and fixes for OOM handling in sqlite3changeset_concat(). (check-in: [df0b2d21] user: dan branch: sessions, size: 95166)
15:04
[b5293510] part of check-in [343b6451] Have sqlite3changeset_concat() return SQLITE_SCHEMA if an attempt is made to concatenate changesets based on incompatible database schemas. (check-in: [343b6451] user: dan branch: sessions, size: 95098)
2011-04-14
18:01
[abf98463] part of check-in [1fc3f15d] Add further tests for the sqlite3changeset_concat() function. Also fixes. (check-in: [1fc3f15d] user: dan branch: sessions, size: 94895)
11:16
[124ac6d4] part of check-in [8927b226] Start adding the sqlite3changeset_concat() function to the session module. (check-in: [8927b226] user: dan branch: sessions, size: 94539)
2011-04-06
23:39
[bc6fc77d] part of check-in [7b7c8d36] Fix VC++ compiler warnings. (check-in: [7b7c8d36] user: drh branch: sessions, size: 84059)
2011-04-01
15:30
[2b2936b5] part of check-in [f87bfe6e] If the sessions module is being built as part of the amalgamation, do not try to include sqliteInt.h and vdbeInt.h. (check-in: [f87bfe6e] user: dan branch: sessions, size: 83778)
2011-03-30
21:04
[eaf093c8] part of check-in [66345214] Add the SQLITE_ENABLE_PREUPDATE_HOOK compile-time option. (check-in: [66345214] user: drh branch: sessions, size: 83741)
2011-03-25
19:06
[9be8ccee] part of check-in [4255a9f6] Improve coverage of session module a bit more. (check-in: [4255a9f6] user: dan branch: sessions, size: 83676)
10:52
[8057ed55] part of check-in [666123c8] Improve coverage of session module code. (check-in: [666123c8] user: dan branch: sessions, size: 83677)
2011-03-24
16:53
[33a5d4be] part of check-in [76d2d2ad] Fix handling of schema changes mid-session. (check-in: [76d2d2ad] user: dan branch: sessions, size: 83664)
16:04
[cf91fe0e] part of check-in [506a0d7a] Fix handling of schema mismatches in sqlite3session.c so that it matches the docs in sqlite3session.h. (check-in: [506a0d7a] user: dan branch: sessions, size: 83366)
11:22
[886827f1] 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: 82475)
2011-03-23
16:03
[0c2e8f6a] 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: 81713)
2011-03-22
16:54
[ec0f440a] part of check-in [183c236e] Fix a crash that can follow an OOM when "all tables" are registered with a session module. (check-in: [183c236e] user: dan branch: sessions, size: 80184)
15:21
[c2cc2149] 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: 80187)
12:08
[2fd43258] part of check-in [06048a68] Add OOM tests and related fixes for the session module. (check-in: [06048a68] user: dan branch: sessions, size: 79630)
2011-03-21
19:41
[1ca39db8] part of check-in [39cdfa53] Remove some unreachable code in sqlite3session.c. Add test cases. (check-in: [39cdfa53] user: dan branch: sessions, size: 78203)
16:17
[c5a60c2c] part of check-in [32e95164] Add start of fault-injection tests for session module. Fix some bugs related to the same. (check-in: [32e95164] user: dan branch: sessions, size: 78582)
11:55
[70b19f80] part of check-in [aed42730] Clarify handling of NULL values in PK columns in sqlite3session.h. Add tests and fixes for the same. (check-in: [aed42730] user: dan branch: sessions, size: 78294)
11:03
[3ed836ee] part of check-in [a192d04f] Fix session module problems with real (floating point) values. (check-in: [a192d04f] user: dan branch: sessions, size: 77850)
2011-03-19
19:19
[d211ce2e] part of check-in [ad91d300] Fix a problem involving session objects and attached databases. (check-in: [ad91d300] user: dan branch: sessions, size: 77823)
18:46
[4cb15010] part of check-in [825df75b] Fix a bug in changeset generation code. (check-in: [825df75b] user: dan branch: sessions, size: 77631)
16:26
[55ec4205] part of check-in [6e5907e1] Fix a problem with resizing a hash table in sqlite3session.c. (check-in: [6e5907e1] user: dan branch: sessions, size: 77396)
15:37
[6518a335] part of check-in [7250318d] Fix some bugs in sqlite3changeset_apply(). (check-in: [7250318d] user: dan branch: sessions, size: 76525)
2011-03-18
18:03
[d4ba709d] part of check-in [c615c38c] Hold the database mutex for the duration of an sqlite3changeset_apply() call. Also for the duration of all sqlite3session_xxx() calls. (check-in: [c615c38c] user: dan branch: sessions, size: 76381)
2011-03-17
19:20
[41837925] part of check-in [6614cfcb] Change to the session module to use user-defined primary keys instead of rowids when collecting changes. (check-in: [6614cfcb] user: dan branch: sessions, size: 75850)
2011-03-15
16:37
[9b8d1234] part of check-in [f2930840] Fix some bugs and other code issues in the session module. (check-in: [f2930840] user: dan branch: sessions, size: 69717)
2011-03-14
19:49
[111a988b] 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: 52760)
2011-03-12
17:22
[af63d87b] part of check-in [57862efe] Fix some issues with UPDATE changes in the session module. (check-in: [57862efe] user: dan branch: sessions, size: 51998)
2011-03-11
19:05
[724a064f] part of check-in [2b19be7b] Add the sqlite3changeset_apply() function. Does not yet handle all cases. (check-in: [2b19be7b] user: dan branch: sessions, size: 50204)
2011-03-09
11:17
[82d86bbd] part of check-in [75d5dff7] Add a function to the session extension invert a changeset. (check-in: [75d5dff7] user: dan branch: sessions, size: 31830)
2011-03-08
19:22
Added: [88d87c48] part of check-in [269a81a3] Add start of sessions feature. (check-in: [269a81a3] user: dan branch: sessions, size: 29703)