aboutsummaryrefslogtreecommitdiff
path: root/ext/session
Commit message (Collapse)AuthorAge
...
* Avoid attempting to delete a file while it is open in test script ↵dan2023-10-23
| | | | | sessionalter.test. FossilOrigin-Name: f20b4a96f747adeb2ed486f06dd7d911f0f24b37df87dcd32d2c3e4b687da9a6
* Add missing "finish_test" to sessionnoact.test.dan2023-10-21
| | | FossilOrigin-Name: 9a1d37f5479adedb93f40e8189ad0efa891a438805d80774ee992d4dfd71150f
* Fix a problem with SQLITE_CHANGESETAPPLY_FKNOACTION and the ↵dan2023-10-21
| | | | | foreign-key-trigger-cache. FossilOrigin-Name: 95304ec6c9654b4366dc58ae263270cb42861cb5017174936f816922b5eb61e6
* Add the SQLITE_CHANGESETAPPLY_FKNOACTION flag to sqlite3session.h, for ↵dan2023-10-20
| | | | | passing to sqlite3changeset_apply_v2() to cause all foreign key constraints to behave as if they were declared NO ACTION. FossilOrigin-Name: fc9f82ea084159eaf3dd1757b96d17d1201b00c4e06455a7dcd8067172b25f28
* Fix harmless compiler warning in the test module for sessions.drh2023-10-09
| | | FossilOrigin-Name: 3d5ec99397c183cfb8c5d31e1967e0df8a4d6edbea92bbdf728571e3a6a36d68
* Fix a problem with sqlite3changegroup_schema() and patchsets.dan2023-10-07
| | | FossilOrigin-Name: c4ab4200dc2538e1132d87d70fd309b26b0da8a918fede1cb09b567ea40ec889
* Fix a problem with the changes on this branch and tables that use an ↵dan2023-10-07
| | | | | implicit primary key. FossilOrigin-Name: 1f9d10235ff32e72074be695049567135b02e681068ce117b66adc14a6214449
* Add missing source code comments and fix other issues with the new code on ↵dan2023-10-06
| | | | | this branch. FossilOrigin-Name: df39fbe9ab87937beb77af353cd55602290b185e222e0a92a3ebf9a9a0b9e2e7
* Add tests for the sqlite3changegroup_schema() API.dan2023-10-06
| | | FossilOrigin-Name: 5dab481c101b1523b1cfde92678cbc654ea26d946bf29da372d71c1f89cbaf46
* Add the sqlite3changegroup_schema() API. To allow changegroups to handle ↵dan2023-10-05
| | | | | differences in schema created by ALTER TABLE ADD COLUMN. FossilOrigin-Name: 309deee2dd8dd07623fce79f6bb62d5279d140dd0be3b34bc42af20b0507726b
* Allow a session object to generate a changeset, even if columns were added ↵dan2023-10-04
| | | | | to one of the tables using ALTER TABLE ADD COLUMN while the changeset was being collected. FossilOrigin-Name: a3f435eccf3a2aa11cb7420e94af5efcdfa04e9c169c5aaf61fa5cdcb165ceef
* Fix a buffer overread in the sessions extension that could occur when ↵dan2023-09-07
| | | | | processing a corrupt changeset. FossilOrigin-Name: 0e4e7a05c4204b47a324d67e18e76d2a98e26b2723d19d5c655ec9fd2e41f4b7
* Fix a harmless "set-but-not-used" compiler warning in sqlite3session.c.dan2023-07-25
| | | FossilOrigin-Name: 54b3c43fdfdaca6b129a5f0ee93c34eb001663775d33c087066650f5e164d1c1
* Fix windows-specific problems in test scripts sessionnoop2.test and ↵dan2023-05-13
| | | | | sessionrowid.test. FossilOrigin-Name: e4989c111ddffe6818cbb88a72bd027b30124d1e8de0cce4109c72a214ffb5b8
* Fix a problem with the sqlite3changeset_size() API and rowid tables.dan2023-05-02
| | | FossilOrigin-Name: 92ade220dcf5c1b76a5db605b1467a01051271957cd26f790755904fd82772eb
* Fix harmless compiler warnings.drh2023-05-01
| | | FossilOrigin-Name: 0a926994691ccb02ea4f0ba3c2e8f728871ae67d24c705fbc0f7af81f38d5f47
* Fix typos in comments in sqlite3session.h preventing documentation from ↵dan2023-05-01
| | | | | being correctly generated. FossilOrigin-Name: ab75170d5609c477613466e8880f20b74b0069281db6536fe09db06ea9d7cff3
* Fix a typo in a printf() format string the sessions module.dan2023-04-26
| | | FossilOrigin-Name: 14d1c4a828660bc137dcea1bb4cc439e1ed3872867a0dab486f6a639ef3bcc45
* Allow the sessions module to be configured to capture changes from tables ↵dan2023-04-24
| | | | | with no explicit PRIMARY KEY. FossilOrigin-Name: 8a612f0860126c0c8473b1e65fcabb9a8821d8bf09fdf3f6018acfc99df9af71
* Reinstate some test cases accidentally removed by [cb023fe28560ce0f].dan2023-03-09
| | | FossilOrigin-Name: 870de61f8ef8781f2f9969b012f5c1cb95b6bce1a9a4dcaf02945b7846c3aa83
* Add the SQLITE_CHANGESETAPPLY_IGNORENOOP flag, which may be passed to ↵dan2023-03-08
| | | | | 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. FossilOrigin-Name: cb023fe28560ce0f8c2fd48042553fcdb9db81eba9552be75165de0d46a2645c
* Add the "devtest" makefile target that runs both fuzztest and testrunner.drh2023-02-05
| | | FossilOrigin-Name: c81398c6215d6d1bc7a15b6be9bb1f81effd430ff0a7c86158372accfa77814c
* Fix lots of harmless, nuisance compiler warnings, mostly unused parameterdrh2022-12-23
| | | | | warnings in extensions. FossilOrigin-Name: c14bbe1606c1450b709970f922b94a641dfc8f9bd09126501d7dc4db99ea4772
* Fix a comment in ext/session/test_session.c.dan2022-12-13
| | | FossilOrigin-Name: bd814af14b6d67c4f8cf6482a0657f9437811a2820196ea6ccf22514291fe360
* Prevent the sessions rebaser from generating changesets containing UPDATE ↵dan2022-12-13
| | | | | 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. FossilOrigin-Name: f9cd23dffba06b1982c0a5e5362dba53eba768120a2daa985b4f649d3fea1427
* Add extra test cases for applying sessions module changesets to databases ↵dan2022-12-13
| | | | | that have been modified using "ALTER TABLE .. ADD COLUMN". FossilOrigin-Name: a7b404f21f657f395eddb32e218eae14e09df08fa03f68ca8bba79ea322ce8ba
* Fix test cases so that they all still work even with -DSQLITE_DQS=0.drh2022-01-16
| | | FossilOrigin-Name: 4883776669ee2f2310ea82b0d6df4d008eebaa7cb252102539cf21a635402ebb
* Fix the zeroblob() function and related APIs so that they work with ↵dan2021-11-08
| | | | | SQLITE_OMIT_INCRBLOB builds. FossilOrigin-Name: bc401a75dd9f3c29c5969ae36264e68ccefc0937e44e232ca1f6b550f7fd6e22
* Fixes for harmless static-analyzer warnings. This also makes the code easierdrh2021-10-05
| | | | | for humans to understand. FossilOrigin-Name: 36177a62feeb4fa93ab6e3c6f4dbe1ddcf63bb02f93284abab979da0261b218e
* Fix harmless static analyzer warnings in sessions, rtree, fts3 and fts5.drh2021-10-04
| | | | | | Add the -DSQLITE_OMIT_AUXILIARY_SAFETY_CHECKS compile-time option to cause ALWAYS() and NEVER() macros to be omitted from the build. FossilOrigin-Name: 1c67f957fc77e37ce8f0d447c41ca975e8e79a35d332739c24a633649b5b0387
* Change things so that SQLITE_OMIT_VIRTUALTABLE implies SQLITE_OMIT_ALTER_TABLE.dan2021-10-01
| | | FossilOrigin-Name: 2f7c946c5f25a858167f5193ca06e53310394c8cff15426ab8a1327a1ec835fd
* Add test case to ensure that sessions works with DELETE statements that use ↵dan2021-07-28
| | | | | the truncate optimization (i.e. a DELETE without a WHERE clause). FossilOrigin-Name: a2fc531177c3a061f2881198bb711d502db7cd831351b6a5dd415936845b6625
* Do not run test file sessionbig.test on 32-bit platforms. It uses too much ↵dan2021-06-16
| | | | | memory. FossilOrigin-Name: 75e53215fe436999cdc70434c6ae96d3ce6642c71528cce9f5715fe1b1b81876
* Do not run sessionbig.test as part of the session_strm permutation. It is ↵dan2021-05-25
| | | | | too slow. FossilOrigin-Name: 708ce7ad8acee702d08d1987aa253b0bfc3fd97255d6e4153122b03eba337570
* Update an allocation routine in the sessions module to allow it to allocate ↵dan2021-05-25
| | | | | the maximum size permitted by sqlite3_realloc64(). FossilOrigin-Name: 0b45e821911e4a852edd6d9e9cfe5f9de33337edf76fb12b79adaf11a4b83e8a
* Reduce API lifetime requirement for objects passed to sqlite3_bind_...() ↵larrybr2021-04-29
| | | | | | | with SQLITE_STATIC. Also fix broken session doc links (by zapping refs.) FossilOrigin-Name: 327eb4792f9b98f6220fd35ba744002d36ed53f43a016924117b3cea32343947
* Further tweaks for comments in sqlite3session.h.dan2021-04-22
| | | FossilOrigin-Name: 553ada28f356d773c145b502163d766285e73fd4f64dc05f98e3e43ade806331
* Change to comments in sqlite3session.h. No changes to code.dan2021-04-22
| | | FossilOrigin-Name: 353ebb71c4113a35a92011c72f9c1d6c56f3bf681d94426a6a73e40f219ff2f4
* Add the sqlite3session_object_config() API. Current used to enable/disable ↵dan2021-04-22
| | | | | collecting data for sqlite3session_changeset_size(). FossilOrigin-Name: 4d5fd2151e024d11289b6c4fbce2996d8d07b2b5a1c953ef895c237e79d3aa55
* Add the experimental sqlite3session_changeset_size() API.dan2021-04-21
| | | FossilOrigin-Name: b5564a6fd54875db1de884fdc0e5eeabcd6aa5595ad03a8a60843503e830a2d8
* Conform description of sqlite3changeset_op() arguments to implemented ↵larrybr2021-03-12
| | | | | | | behavior, some reformatting. This is a comment-only change; no code is affected. FossilOrigin-Name: 9d6e544c47b9a5d97bd02a658db5cd202bd1952f8ba3bc50e8cf47d7206041c0
* Fix a Tcl object leak in test_session.c.dan2021-03-11
| | | FossilOrigin-Name: 07150cf15ad36c7fc681a911f66db23d610ddf110a7be7f1fcefbd8750cd135a
* Update sqlite3changeset_apply_v2() so that it handles no-op UPDATE changes ↵dan2021-02-20
| | | | | (UPDATE changes that modify no columns). This fixes a regression introduced by [e4ccfac09b]. Also modify sqlite3rebaser_rebase() so that it does not output changesets containing such UPDATEs. FossilOrigin-Name: 0288a8013e00594e716a5fb0d9f684dcfeb03e877650630e2736565fa6261290
* Ensure that the pre-update hook is invoked for INSERT operations on WITHOUT ↵dan2021-02-18
| | | | | ROWID tables that use the xfer optimization. FossilOrigin-Name: 66bbad239b4527ac8ae8b487a0c71d88b1861a8dfe1edc25109600dc447c60c4
* Modify the sessions extension to use more efficient SQL when applying a ↵dan2021-02-02
| | | | | changeset or patchset. FossilOrigin-Name: e4ccfac09b6fe8cc3aec29d10f4e4c83097964f29882343db52ed91f6f0dde1c
* Add tests for sqlite3session_memory_used() interface.dan2021-01-20
| | | FossilOrigin-Name: 5596611f96f3401262b9dadc591bf7e3411d2c4a6f5be5cfe524e203d9820fd1
* Add the sqlite3session_memory_used() API to the sessions module. For ↵dan2020-12-23
| | | | | querying the amount of heap memory currently being used by a session object. FossilOrigin-Name: 823f75c2e448b649cbe9e174be21524ae3f580beedced65701ad49a2dcc5ee19
* Ensure that the table argument passed to Tcl_GetIndexFromObjStruct() in the ↵dan2020-10-26
| | | | | sessions module test code is declared "static". FossilOrigin-Name: 80eba105d6d1b49ba8ca2ad4e14ddec2de0bdc2f6686c2f8a1c1d24fc1fe846f
* Fix harmless USAN warnings from gcc9.drh2020-08-11
| | | FossilOrigin-Name: 72c4c69fea13f5e24df25645e6941ce3ff896f0a3c73cd63329f819cc907ab40
* Fix a problem with retrying constraint failures within ↵dan2020-06-17
| | | | | sqlite3changeset_apply() calls with the SQLITE_CHANGESET_INVERT flag is set. FossilOrigin-Name: d73e857b833dfc29400049ca7f01ca465f980466e3aa67214c3c5e5573181419