aboutsummaryrefslogtreecommitdiff
path: root/ext/session/sqlite3session.h
Commit message (Collapse)AuthorAge
* Fix typos in comments in sqlite3session.h preventing documentation from ↵dan2023-05-01
| | | | | being correctly generated. FossilOrigin-Name: ab75170d5609c477613466e8880f20b74b0069281db6536fe09db06ea9d7cff3
* Allow the sessions module to be configured to capture changes from tables ↵dan2023-04-24
| | | | | with no explicit PRIMARY KEY. FossilOrigin-Name: 8a612f0860126c0c8473b1e65fcabb9a8821d8bf09fdf3f6018acfc99df9af71
* 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
* 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
* 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
* Fix various documentation typos suggested by Mark Benningfield.drh2019-11-26
| | | | | No changes to code. FossilOrigin-Name: 08f09dc4f986a27f4e4e69f8226dbfaf0cfe1269cefc2830bf0fbef7b9bbda48
* 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 a typo in a comment that is used to generate session documentation.drh2018-12-25
| | | FossilOrigin-Name: a1f50d57ce76f6c08a0ddbdd3c3fe2732d0e57dda14cb9aa3da00a14ceb4bc44
* Add the sqlite3session_config() interface. For configuring global parametersdan2018-10-26
| | | | | belonging to the sessions module. FossilOrigin-Name: 1e69f3ff057b0be27a9e79842de2485f8299799f309e89bfa7597dd688e0975b
* Add the sqlite3changeset_start_v2() - a new version of _start() that accepts ↵dan2018-10-20
| | | | | 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. FossilOrigin-Name: cbedcb9aaefdfe00453efbdf0eac6c15e1f53bbe8fff2e7d534a5adf23be04f5
* Add the SQLITE_CHANGESETAPPLY_INVERT flag to sessions. For inverting and ↵dan2018-10-18
| | | | | applying a changeset in a single step. FossilOrigin-Name: d4b6406e7f5ba06ac73ab9fdef57232b2459e0af12420ed946ebed6aef46f0b1
* Add a "flags" parameter to experimental API sqlite3changeset_apply_v2(). Alsodan2018-04-09
| | | | | add the SQLITE_CHANGESETAPPLY_NOSAVEPOINT flag. FossilOrigin-Name: 3d29631fa7270b18f51de8cfe1285959e42ad9a673d5d2d5c016126f5f1b31a8
* Fix typos in sqlite3session.h preventing documentation webpages from beingdan2018-03-23
| | | | | | generated. Also mark all new sessions functions (those related to rebasing) as experimental. FossilOrigin-Name: de974235a8fefab0d08673c1b1da4e425e1d8bbfc8c35dac30943c05337b2950
* Fix some documentation and other issues with the code on this branch.dan2018-03-21
| | | FossilOrigin-Name: a9ec68627a4533ca6aa7cc1b73f864db615a80e86eda9e33660f22d269a1ba1e
* Fix rebasing of UPDATE changes against a set of remote changesets that featuredan2018-03-21
| | | | | both OMIT and REPLACE conflict resolution on different fields of the same row. FossilOrigin-Name: d8bc3fdb6ba165ca8d7cab857ede8e7e6e2fac24ad59580c5e1db1a4942d295c
* Add further tests and documentation for the sessions rebase feature.dan2018-03-20
| | | FossilOrigin-Name: 7475a363ebb272ae23c0796fe7587714a156dc6a3a4a57ed948ed6f69d3c1218
* Fix a problem with handling rebasing UPDATE changes for REPLACE conflictdan2018-03-16
| | | | | resolution. FossilOrigin-Name: f7bf71f1d47044e3cbc74018294b8af5ad52c2bb84954e99bbd4e9b8c36fc077
* Add simple tests for the sessions module rebase API.dan2018-03-15
| | | FossilOrigin-Name: cf0d1abb44cf170d747e9c11f49ec03a29f00ab4821c613ca1e05b883a568211
* Add largely untested APIs for rebasing changesets.dan2018-03-14
| | | FossilOrigin-Name: 39915b683b3f8d3bf872af1dede96bf2818b488a8638a1d248395023fc4bd0ef
* Add sqlite3_changeset_apply_v2() and apply_v2_strm() to the sessions module.dan2018-03-13
| | | FossilOrigin-Name: 445bfe977d9f3a891e08ef33237862ed047fe83e134ef3ed8b47ee0f5abd8cd6
* Typo fixes in comments. No changes to code.mistachkin2018-03-01
| | | FossilOrigin-Name: 1293d4f64f322ee57510bdff497c54e0be2c9205217e1fd96887bba1f36bec40
* Enhance the sessions documentation to show the methods of the various objects.drh2018-02-28
| | | FossilOrigin-Name: e01177754ad6d9e2d38adddddd2e2e212094dac1154bda5fcee61ca8b678ae0f
* Use <pre> around code snippets in the documentation for sessionsdrh2018-02-28
| | | | | interfaces. This is a documentation change only with no changes to code. FossilOrigin-Name: c949b915e893e917315ce21092d4c4bbd3e1b88d5326928f71dcc2f18f300702
* Clarify the handling of the sqlite_stat1 table by legacy versions of thedan2018-01-18
| | | | | sessions module. FossilOrigin-Name: dc7c48cb4126db9e25c73512cc743155293fe1c4c2516f8c84102228695b6e70
* Add comments describing the special sqlite_stat1 handling to sqlite3session.h.dan2018-01-18
| | | FossilOrigin-Name: 4431a3256f7436e34b3c33edc1f3e53df7eb3c87daec9bac8d038895d93ca7f2
* Fix typos in session extension header comments. No changes to code.mistachkin2017-10-04
| | | FossilOrigin-Name: 182ec9d6f6c44938de0a2cd542e259d082deeeabc12a1815fff35e3ed1e524ef
* Allow sqlite3session_apply() to apply changesets to tables that have beendan2017-02-04
| | | | | extended using ALTER TABLE ADD COLUMN. FossilOrigin-Name: b20ff81ff9c8af500ea96e0ba9d34524220a89f1
* Two more typo fixes in comments.drh2016-09-28
| | | FossilOrigin-Name: 40c0fb0af678797c39a99853f9f4102464c16f4b
* Fix typos in comments. No code changes.drh2016-09-28
| | | FossilOrigin-Name: 5bbd071d57a8048e2ca17bf97761e4f27fc5a6bf
* Fix some comments in sqlite3session.h. No changes to code.dan2016-08-27
| | | FossilOrigin-Name: 78cd64e202fcbe9ce69070b0f48ccd0c6b48538d
* Disable the session extension API if SQLITE_ENABLE_SESSION is not defined.drh2016-05-04
| | | FossilOrigin-Name: 71af9ac165ac02272f4886f69bd9ab4770fd7bb6
* Changes to the sesssions module ensure that tables appear within changesets ↵dan2015-10-01
| | | | | and patchsets in the same order that they were attached to the sessions object. FossilOrigin-Name: 7695890230dc1e0c6db9b7aa509db2039c7f7239
* Add the sqlite3changegroup_xxx() APIs to the sessions module. For combining ↵dan2015-06-11
| | | | | multiple changesets or patchsets. FossilOrigin-Name: 0c1a901cd60e557fc676b97625243163dfe9be9d
* Modify the sqlite3session_diff() API so that tables with no PRIMARY KEYs are ↵dan2015-04-23
| | | | | 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. FossilOrigin-Name: aada0ad08e3baa10d14d1f3393183110289e068e
* Add experimental API sqlite3session_diff().dan2015-04-08
| | | FossilOrigin-Name: c4340b2ea2115ad97dcac036f9034e132ab789e5
* Change the names of the stream interface APIs to be of the formdrh2014-09-27
| | | | | | "_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. FossilOrigin-Name: 1f44bfdc237ee6304f4aa56e5c5d1c0d74fcc944
* Improve sessions module documentation and comments. Fix some other code issues.dan2014-09-27
| | | FossilOrigin-Name: bfc8bd80f8b225cebc66478448510ce84223ae7d
* Add streaming version of sqlite3changeset_concat().dan2014-09-25
| | | FossilOrigin-Name: 88eb6656bdb047a104837a2e15e7fe18c0a7a159
* Add streaming version of sqlite3changeset_invert() to sessions module.dan2014-09-25
| | | FossilOrigin-Name: 8ded6a46794c7bff1c8b790c662ba7e92f576380
* Add streaming version of sqlite3changeset_apply(). Tests and fixes for the ↵dan2014-09-24
| | | | | same and sqlite3changeset_start_str(). FossilOrigin-Name: b917fc146876f764442de08d5ec36e5b4cf5ab52
* Begin adding 'streaming' APIs to sessions module. This is a work in progress.dan2014-09-23
| | | FossilOrigin-Name: 3c7d3d950bbf5f5ed3696ebc61c77ca48bafe2b5
* Add miscellaneous test cases to improve coverage of sessions module.dan2014-08-18
| | | FossilOrigin-Name: 0fac6cfffe628ea02c78ebad065307309ec9eaa1
* Fix some missing and out-of-date comments in the sessions module.dan2014-08-16
| | | FossilOrigin-Name: 05c1d9149b27c68e2654ed28491722927d2176f5
* Begin adding the sqlite3session_patchset() API to the sessions extension. ↵dan2014-08-15
| | | | | This is an interim commit. FossilOrigin-Name: 60a4565a8c44762a002cd02979317df5ca47e899
* Add the sqlite3session_table_filter API to the sessions extension.dan2013-08-23
| | | FossilOrigin-Name: b7e4dd889d37c8f57c2d3c7900e802f644aac3ea