drh
|
1b66c8f2e9
|
Merge the latest trunk enhancements and fixes into the bedrock branch via wal2.
FossilOrigin-Name: a06796a33c5ae847172a1acf833b06245df1b63b0445c0e2f1db8e9beee10617
|
2026-05-29 18:18:03 +00:00 |
|
dan
|
6e3e557c81
|
Fix a potential 1-byte overread in sqlite3changeset_invert() when processing a corrupt buffer.
FossilOrigin-Name: 78eaa605cb6c14e5bd49a898b4c737957bd60c8714913cc2341f4ffe3bfe81fe
|
2026-05-26 15:03:30 +00:00 |
|
dan
|
18bee1617f
|
Fix a 32-bit integer overflow in sqlite3changegroup_change_blob() that could lead to a buffer overwrite.
FossilOrigin-Name: 8a289158e2baeee8aa5e601bde46b0482361064ede09e4108f519270efdd5f69
|
2026-05-26 14:18:50 +00:00 |
|
dan
|
f380599476
|
Add the SQLITE_CHANGESETAPPLY_NOUPDATELOOP option to the sqlite3_changeset_apply_v2/3() method. To disable the extra processing to commit changesets that swap two or more values subject to a UNIQUE constraint between rows.
FossilOrigin-Name: eba02092bcf1713a646ecf8febd53a83bc803cf1b17e2e4fc590c14d886a8d27
|
2026-05-22 14:22:14 +00:00 |
|
dan
|
de739c3450
|
Merge latest trunk changes with this branch.
FossilOrigin-Name: c6226d508d6af28fcd42fecd482014c3e284923871d3d8f5177f728cbf3457c5
|
2026-05-21 15:13:17 +00:00 |
|
dan
|
c597ed79d1
|
Fix a buffer overread in the session module that could occur when processing a corrupt changeset.
FossilOrigin-Name: 869a51ae84dfaaf824c872e4b3024f35eea7fa67bb584759a2d42ebf8404ef6e
|
2026-05-21 14:58:36 +00:00 |
|
dan
|
b869ed6b06
|
Fix a bug causing the session module to dereference a NULL pointer when applying a corrupt changeset.
FossilOrigin-Name: e807d4e3798efd532b3d78d1dfe513ed4fbd3cb793dd0ae5c30cae6031422b10
|
2026-05-20 15:06:34 +00:00 |
|
dan
|
d3dc8e5ae5
|
Avoid returning an SQLITE_SCHEMA error from within sqlite3session_diff() if the schema has been recently modified. First <a href=https://sqlite.org/bugs/forumpost/269f1e9cef>reported here</a>.
FossilOrigin-Name: 20110547a117912be68d91bc006e92c45beffde16c6bcdf062bf8971c9a9a864
|
2026-05-20 11:41:24 +00:00 |
|
dan
|
3ef3ecdf8a
|
Remove new unreachable code from this branch.
FossilOrigin-Name: 07f81e256fde5796c0d8bcedff8fad4368639386f40881c0844e9c86a69b6fad
|
2026-05-19 18:58:59 +00:00 |
|
dan
|
1a0555610d
|
Fix problems with error handling when applying changesets with update loops.
FossilOrigin-Name: f797925df05f1a53392dba416aa72067716bb6e38ebc679d313f8a98f89c5913
|
2026-05-19 18:28:03 +00:00 |
|
dan
|
079f8dc682
|
Merge trunk changes into this branch.
FossilOrigin-Name: e480e126fc1550948bd1a3635f0e3a862353dcd8b0f1921ab6e66d699110b477
|
2026-05-19 17:15:05 +00:00 |
|
dan
|
4da2ddf50e
|
Avoid a potential 1 byte overread in sqlite3changegroup_add() when processing a corrupt changeset buffer.
FossilOrigin-Name: 4d8c3a2919dc942a0a044ec7582a688e0f93e91f4a465bb94390fbe3ad1b50b4
|
2026-05-19 17:12:39 +00:00 |
|
dan
|
a497743e24
|
Fix a problem applying changesets that contain multiple UPDATE constraint loops.
FossilOrigin-Name: 8e89aafab1b8fa7d59ac98c39b7f1c1cc23a98ba868a5dac83dee63688786a3f
|
2026-05-18 20:34:56 +00:00 |
|
dan
|
4dd11e33e4
|
Update the session module so that it can apply changesets containing two or more UPDATE changes that form a dependency loop - so that no single UPDATE can be applied independently without violating a constraint.
FossilOrigin-Name: 5f8010599fb33fbe1dadc894a679056a5d38040ab4f09772cd59827941e9348b
|
2026-05-18 18:59:06 +00:00 |
|
dan
|
cf632ddb7e
|
Fix the sqlite3changegroup_change_finish() API so that it correctly handles NULL being passed for the pzErr parameter.
FossilOrigin-Name: f81d6d7bc8943729f678a3b62921a96764b15b9cc11d8a5753e48210a1b59617
|
2026-05-13 20:37:30 +00:00 |
|
drh
|
9db9f18985
|
Fix harmless compiler warnings.
FossilOrigin-Name: a0d0b5aff51088699e5ad0a726c350d10744b1779acd9ee54232659fb4c352a4
|
2026-05-02 15:58:28 +00:00 |
|
dan
|
e2dbd0a578
|
Fix a single-byte OOB read that could occur in the session module when concatenating patchsets.
FossilOrigin-Name: 60d7cd625a6160ba1bc60fd00fab2e91e0deff42034c6864107c19330b35ea7a
|
2026-04-25 14:00:29 +00:00 |
|
drh
|
f7f7956ff5
|
Merge recent trunk enhancements into bedrock via wal2.
FossilOrigin-Name: ec9bab4d19caf5fc9fb9984ec444a121a525e336dc26bb25503754ad995d9d07
|
2026-04-22 19:51:26 +00:00 |
|
dan
|
1b14a925dc
|
Have the session module detect some corrupt changesets earlier.
FossilOrigin-Name: 0de91ff0d798cff21289d893cc441b89fc37b051d5cdf611d92d3ae2bc41cdf2
|
2026-04-14 20:17:41 +00:00 |
|
dan
|
839433d457
|
Handle a special case of a corrupt changeset in sqlite3changegroup_add().
FossilOrigin-Name: 49b3bac482c831f503c7f90c35959e7ea731950e991baba86b2ab95987d2539b
|
2026-04-14 20:02:49 +00:00 |
|
dan
|
535b1f2875
|
Fix some buffer overreads that might occur in the session module when handling corrupt changesets.
FossilOrigin-Name: 8fcf92e15d87487703afc1129f3a89a8d4d72cb30d30a1a9151a5596473069bd
|
2026-04-09 05:33:19 +00:00 |
|
drh
|
b39d49e529
|
Merge trunk enhancements into bedrock via wal2
FossilOrigin-Name: 3749b564c36933027d149f3c3e75323a0d99466321433eff1467c266571e3297
|
2026-04-02 12:12:33 +00:00 |
|
dan
|
62f3150204
|
Fix a potential 4-byte overread in the sessions module when processing a corrupt changeset.
FossilOrigin-Name: c1c7e024c34da8eb0258ce552f3f81921280ccf0f1fea59374f381c0c7b43b74
|
2026-04-01 17:43:22 +00:00 |
|
dan
|
6e6598c8ff
|
Fix a problem in the sessions module allowing a NULL pointer to be passed to memcpy().
FossilOrigin-Name: 91ead3c62dd7b1db3fdfd318e3c35a42fb33e8fa2e347b682eecbff2f4e8677b
|
2026-04-01 16:11:47 +00:00 |
|
dan
|
5e4fb95edf
|
Update this branch with changes from trunk.
FossilOrigin-Name: 716e62e3d1d6ff96f6e4906175818439103e9534e89bec4a86776265a04954b9
|
2026-03-31 10:52:00 +00:00 |
|
dan
|
e62fd42bba
|
Merge latest changes from wal2 into this branch.
FossilOrigin-Name: 25dbd86f9ccd3c78a9ac6da9b4cdaa163efc98fa99f9f5967dcdbd9328b7e9cc
|
2026-02-18 13:57:52 +00:00 |
|
dan
|
6f8f9fbe25
|
Fix trivial buffer overreads in the sessions module that could occur when parsing changeset blobs.
FossilOrigin-Name: 661878a62870023f7f54e8c591a0823dc457cb89780ab40c1891fb3d5e8f095f
|
2026-01-27 14:00:59 +00:00 |
|
dan
|
abdfd3312a
|
Update sessions module so that it takes the db mutex before, instead of just after, opening a savepoint when generating a changeset.
FossilOrigin-Name: 41bbd13d737d2b7879d906b6fa76df42c6ee142f1a7acdafd26da0063bc90baf
|
2026-01-14 17:52:27 +00:00 |
|
dan
|
c1975b6a6f
|
Improve some of the documentation comments for the new code on this branch.
FossilOrigin-Name: f352485db45a1280f91ec76f661b6dd50bb1d564b74bdff474c92e928860a47d
|
2026-01-14 17:02:22 +00:00 |
|
dan
|
de88171c4c
|
Merge latest trunk changes into this branch.
FossilOrigin-Name: fae9f376b74ae688dbdb5c0838a38427258d3d14c29c5346a3549e56db79961a
|
2026-01-14 16:01:28 +00:00 |
|
dan
|
c289cf57a7
|
Allow the APIs on this branch to be used to create patchsets as well as changesets.
FossilOrigin-Name: 8699fe5b24c8aeb5e552aa7f4995f2b50dd33d1febd23ec1c07c8fc72497da72
|
2026-01-13 19:59:47 +00:00 |
|
dan
|
4b12a38ffb
|
Fix an OOB read in the sessions module that could occur while processing a corrupt changeset.
FossilOrigin-Name: 3c46295487f089a891f566cae43b67ce97794bb60645d5806285600e05eff456
|
2026-01-12 20:16:04 +00:00 |
|
dan
|
9f78d22870
|
Fix an infinite loop in the sessions module that could occur when processing a corrupt changeset blob.
FossilOrigin-Name: d98653bdbc9781970f1c5d66f69c81c93ad14549223ceae02e74c1b99ab05377
|
2026-01-12 19:13:09 +00:00 |
|
dan
|
817c509365
|
Add an API to the sessions module to add changes one at a time to an sqlite3_changegroup object.
FossilOrigin-Name: 27150a8c22dc5331efa9e97637eae3741682bc14ae993f0b7672ccc63c37f1f9
|
2026-01-12 16:39:27 +00:00 |
|
drh
|
e799c0f08b
|
Merge the latest trunk enhancements into the bedrock branch.
FossilOrigin-Name: 399cada13519f6d8b6b445b625857a9a655fb15892678829d351d40c73953e40
|
2025-09-30 19:45:46 +00:00 |
|
drh
|
b8a62d9da7
|
Add an assert() to fix a harmless compiler warning in the session extension.
FossilOrigin-Name: d77b8ad96c695594668cd7019c7f607fe5efa5474dde0ece8b621051cf88a0b5
|
2025-09-24 20:09:48 +00:00 |
|
dan
|
fc0c05aa82
|
Merge latest changes to wal2 into this branch.
FossilOrigin-Name: 7cbab6ea6c0fc9ab70cb6816c3534c49c6e4096d7870ea35275977cc8ced9753
|
2025-09-19 18:01:33 +00:00 |
|
dan
|
d968525382
|
Add experimental API sqlite3_set_errmsg(). Use this in sqlite3changeset_apply() to return any error code and error message via the SQLite handle.
FossilOrigin-Name: 4d5b60a1e57448f03af2a657fe7cdabb04ebaf9688d5cc700dd8f9892a5cba15
|
2025-09-12 15:02:47 +00:00 |
|
stephan
|
312d116f4a
|
Merge latest changes from the wal2 branch into the bedrock branch.
FossilOrigin-Name: 21e4744de2cf22a6d65ed68e943a385dac0b58aa46c01db07e9abefea9463190
|
2025-09-04 16:26:49 +00:00 |
|
dan
|
c30e1a10ef
|
Fix a problem with SQLITE_CHANGESET_CONFLICT conflicts caused by DELETE triggers within a call to sqlite3changset_apply_v2() with SQLITE_CHANGESETAPPLY_IGNORENOOP specified.
FossilOrigin-Name: 138e2aab43ac07aaf8c5389105ff6d3e107ff2d35badcb48233664fcb9661471
|
2025-08-20 11:21:35 +00:00 |
|
dan
|
697d29ea49
|
Fix a problem causing an SQLITE_CHANGESET_DATA conflict of a DELETE operation to be incorrectly ignored if the SQLITE_CHANGESETAPPLY_IGNORENOOP is specified.
FossilOrigin-Name: 78b543f85ac6643f3b69bf1250c6362f00e030f93f460ef7d04902682ef64ee9
|
2025-08-19 21:35:23 +00:00 |
|
drh
|
b46738f169
|
Merge all of the trunk enchancements into the bedrock branch.
FossilOrigin-Name: ba2174bdca7d1d1aadf0a4de1e01aeba3d95b6656cb9ecdff88b00cfbef8f3a9
|
2025-07-17 15:31:16 +00:00 |
|
dan
|
08f8111bd8
|
Add new sessions function sqlite3changeset_apply_v3() and its streaming equivalent. This allows changesets to be filtered on a per-change basis, not just per-table.
FossilOrigin-Name: 10ebd7a119ef1985755ef143a941fbaed1b5ca1c8a71e011c8bbc70e383fd337
|
2025-07-14 14:51:43 +00:00 |
|
drh
|
de6eeaaa0e
|
Update the bedrock branch to version 3.50.0
FossilOrigin-Name: 54b8888080d99a8735ce11bb994e253a6406e42d4e34a7a4e5af566cf6841c8b
|
2025-05-29 14:59:34 +00:00 |
|
dan
|
96e16194b8
|
Fix a problem with using streaming iterators with sqlite3changegroup_add_change().
FossilOrigin-Name: 3dbde727146d28c316df47c7b5116be7f2476a0a0c893207c2a4ca3ab285cb5e
|
2025-05-22 18:04:48 +00:00 |
|
drh
|
f34c9b0fb2
|
Merge all the latest trunk enhancements into the bedrock branch.
FossilOrigin-Name: 3215186aa92041498032a0cb9559a3b9eafd0bb586084e3506bb0c030b039aa5
|
2025-04-21 13:02:25 +00:00 |
|
dan
|
0aa95099f5
|
Fix a memory leak in sqlite3session_diff().
FossilOrigin-Name: a6cbc5db1c4973ea236874bd9c24cd86dc48fbc7a10e424896c0407c7c32ce6a
|
2025-04-10 20:52:47 +00:00 |
|
dan
|
da00cc101c
|
Improve the error messages returned by sqlite3session_diff().
FossilOrigin-Name: a3217cdb75fd305705856f6504f8816c2b6b0a10907725cb74d025a5c4e369b8
|
2025-04-10 16:48:04 +00:00 |
|
dan
|
6864f78fdf
|
Have sqlite3session_diff() automatically attach tables to session objects, as it has always been documented to do.
FossilOrigin-Name: ec1641858ec48d96f5a2ddce4575ebd40a18932d69831fdb4eafc9acf508f216
|
2025-04-08 15:58:19 +00:00 |
|
drh
|
1b493be98d
|
Merge the latest trunk enhancements into the bedrock branch through the wal2
intermediary.
FossilOrigin-Name: 203376300781167f3e96da0197a9c8e8da6fed15c56c8980a4c283ef34478a07
|
2025-03-03 16:01:11 +00:00 |
|