aboutsummaryrefslogtreecommitdiff
path: root/ext/session
Commit message (Collapse)AuthorAge
* 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
* In sqlite3changeset_apply(), ensure that DELETE and UPDATE changes are ↵dan2020-02-27
| | | | | always executed on main database tables, not similarly named temp tables, as documented. INSERT statements are already being handled correctly. FossilOrigin-Name: f71a13d072398c9fc3556f42d75159cc2d0edc2c42f6c47f64503a7fbbca6e37
* Fix various documentation typos suggested by Mark Benningfield.drh2019-11-26
| | | | | No changes to code. FossilOrigin-Name: 08f09dc4f986a27f4e4e69f8226dbfaf0cfe1269cefc2830bf0fbef7b9bbda48
* Fix harmless compiler warning seen with MSVC for x64.mistachkin2019-07-29
| | | FossilOrigin-Name: 857b2ba6d05d6f5a8cfdf269bae9005b25e1903ab9dc6b70546979d8c633f03b
* Fix a segfault that could occur in sqlite3session_diff() if NULL were passed ↵dan2019-05-20
| | | | | as the pzErrMsg argument. FossilOrigin-Name: aee73fd28f031a2568ac723de0826be7f1dca6be3b049e4a04fb47af75dcf4bf
* Fix harmless compiler warning in the session extension.mistachkin2019-05-16
| | | FossilOrigin-Name: dff823ca8b5ca4a5611407b0231f89b2e8c981f50e85e361e76d3e4973cea8ca
* Fixes for harmless compiler warnings.drh2019-04-13
| | | FossilOrigin-Name: c28c973ad6debd63f13e5d4d3da036f680baaec9d863eda039f2747db9f1cfd5
* Fix harmless compiler warnings seen with MSVC.mistachkin2019-04-01
| | | FossilOrigin-Name: 6cf8b18ec20f11c25ff7396f29c742404d3a88d5e97a5fd53ccfaff51dec3f33
* Fix typos in the comments of the sessions extension, one of which affectsdrh2019-03-29
| | | | | the generated documentation. No code changes. FossilOrigin-Name: 040d5d515bcb37bea05e0d156dbaf066c68052ac574f1b0b2cb118d473a353e0
* Fix various harmless compiler warnings seen with MSVC.mistachkin2019-03-20
| | | FossilOrigin-Name: 1c0fe5b5763fe5cbace9773dcdab742e126d0bd035ab13d61f9d134afa0afc0c
* Reformat the white-space in a few test cases so that the tests work with Tcl ↵dan2019-02-26
| | | | | 8.6.9. FossilOrigin-Name: 29d02bf2fa9ecacbcc3e862ca70382f5875da8c1dc7fd27366190045fcc42b15
* Use 64-bit math to compute the sizes of memory allocations in extensions.drh2019-01-08
| | | FossilOrigin-Name: ca67f2ec0e294384c397db438605df1b47aae5f348a8de94f97286997625d169
* For SQLITE_ENABLE_PREUPDATE_HOOK builds, disable the optimization for adan2019-01-07
| | | | | | | | REPLACE command on a WITHOUT ROWID table with no indexes, triggers or foreign key constraints that causes SQLite to clobber any existing row without separately checking for it. This optimization causes SQLite to omit the expected pre-update-hook callbacks. FossilOrigin-Name: 6281ef974c0ac7a7133c9e1e04c09fdbd627c019c6ff3227293548caf8283864
* Fix a typo in a comment that is used to generate session documentation.drh2018-12-25
| | | FossilOrigin-Name: a1f50d57ce76f6c08a0ddbdd3c3fe2732d0e57dda14cb9aa3da00a14ceb4bc44
* Fix a harmless compiler warning in Sessions.drh2018-12-14
| | | FossilOrigin-Name: fc9791ea987352e3e1322fbb7f833c23b402432af8249f9d397c6f7456788637
* Add support for read-only shadow tables on virtual tables. Added thedrh2018-11-10
|\ | | | | | | | | | | SQLITE_DEFAULT_DEFENSIVE compile-time option that can put SQLite in defensive mode by default. FossilOrigin-Name: 9c685171c4d7ae8615d1489c9621aba79fe4ef1f0e56b75823b88c3e70d127df
| * Add the SQLITE_DEFAULT_DEFENSIVE compile-time option. Fix up test casesdrh2018-11-07
| | | | | | | | | | so that they work with DEFENSIVE enabled. FossilOrigin-Name: 3212733cb6d1a59516d67a86df7c7b1d2456a1b2e5d7080c26b0e87b2609c65d
* | Add tests and a fix for program "changesetfuzz".dan2018-11-08
| | | | | | FossilOrigin-Name: 09b90db56c2d5e3aceae59c6bf1eb07f9db9ef38da29d2162046b88d39e47b86