Commit Graph

72 Commits

Author SHA1 Message Date
dan be758ce3ae Update the ota extension to support SQLITE_ENABLE_8_3_NAMES builds.
FossilOrigin-Name: 718da6de870231d358384473b40e81c4394b8067
2014-09-18 17:57:46 +00:00
dan 6c5984a950 Use quotes instead of angle-brackets to include sqlite3.h from sqlite3ota.h.
FossilOrigin-Name: fce9c6ccf101d28492a84b85463433f32ef569fb
2014-09-18 16:38:10 +00:00
dan 318e63c60b Remove some c++isms from sqlite3ota.c.
FossilOrigin-Name: 0da1862b1b68f15c7c14286a982dda886d1e3b4a
2014-09-18 15:57:22 +00:00
dan ed18c96107 Add new file ext/ota/README.txt, containing notes regarding the implementation of the ota extension.
FossilOrigin-Name: 3c6e1cbb4baaebc5958ab7276f27ff0ba14f4fa2
2014-09-18 15:22:48 +00:00
dan 4caa8fbc1e Add an API to query an ota handle for the total number of key/value operations performed so far.
FossilOrigin-Name: e3943fa7bbbfc5e16f73a494d8fa54d19e9cfcf9
2014-09-18 14:48:38 +00:00
dan c6c3d00f33 Fix an ota bug causing attempts to write to tables with more than 8 columns to fail.
FossilOrigin-Name: 7da98ca2422166dc5d68607541707f41b77b5784
2014-09-18 11:15:17 +00:00
dan 44ed6bc5c1 Fix an unintialized variable problem in sqlite3ota.c.
FossilOrigin-Name: 01268607515a30d07559648c43034e522605748a
2014-09-17 19:05:46 +00:00
dan abc0788663 Add tests and fixes for "PRAGMA ota_mode".
FossilOrigin-Name: 39df35c4ac65ffba76ba2c6f6727cf5e843e7517
2014-09-17 15:20:24 +00:00
dan 1b95de09bc Clarify the effects of the pager_ota_mode pragma. Add tests and fixes for the same.
FossilOrigin-Name: decaccc37cbdcd2a663233469efdf4982a810513
2014-09-16 20:02:41 +00:00
dan 15e1ec4c5b Remove the experimental sqlite3_transaction_save() and restore() APIs.
FossilOrigin-Name: 48d201cd8b68c0377cf8a2cc6439b893f9462fe2
2014-09-15 19:34:04 +00:00
dan ee8d0b4111 Have sqlite3ota.c use grave accents instead of double-quotes to enclose identifiers in generated SQL. To avoid having the SQL engine substitute a literal string if a column reference cannot be resolved.
FossilOrigin-Name: 79f2418429aa05c56069c56d51b4d72f662a6970
2014-09-15 15:22:32 +00:00
dan 02cf6e1681 Ensure the correct collation sequences are used when sorting data in sqlite3ota.c.
FossilOrigin-Name: 473a72d7009a22ea514a98ee8869e7e7bca14cf5
2014-09-15 14:54:07 +00:00
dan 13ce7931f7 Have the sqlite3_index_writer() VMs check that the final values of records inserted into indexes on rowid tables are integers.
FossilOrigin-Name: cca376bff3510dc5e99fc5824862c3471ceced16
2014-09-15 12:18:29 +00:00
dan d54e06ca5e Add OP_Affinity opcodes to the VMs generated by sqlite3_index_writer().
FossilOrigin-Name: b9b38cb8e21826ddfb4c87a1f166ad33c3c7b6eb
2014-09-15 10:44:24 +00:00
dan a690402b4c Add support for update statements to sqlite3ota.c.
FossilOrigin-Name: e109b27e4d66b83e1a804e7556d9c91aa37fea28
2014-09-08 17:50:35 +00:00
dan 9295d21bfd Add support for delete operations to the ota extension.
FossilOrigin-Name: f988234ba54d7c667f7deef1d04beed4e7fe6182
2014-09-06 20:19:38 +00:00
dan 4e9246e9db Switch back to using a single database connection in sqlite3ota.c.
FossilOrigin-Name: 3c2f4a078132992e33cc675173c84f8385af9cb5
2014-09-05 19:52:42 +00:00
dan 0c4ba2662e Reorganize the code in sqlite3ota.c in preparation for adding support for update and delete operations.
FossilOrigin-Name: 98387f05697526c7740e91d8a846a31f77639406
2014-09-05 19:31:15 +00:00
dan 8fa7f590cc Avoid calling sqlite3OsFetch() on a file-handle for which the xFetch method is NULL.
FossilOrigin-Name: 071f7f2decd2f786c0201a4219e9c2cc9d227085
2014-09-04 11:03:35 +00:00
dan 19b465a0ae Split part of "PRAGMA ota_mode" off into "PRAGMA pager_ota_mode". This allows some specialized custom VFS implementations to intercept and implement the expected pager-related effects of this pragma.
FossilOrigin-Name: 209f672e588b54dfbfb83c7859cacdc4497f0f2b
2014-09-03 19:30:32 +00:00
dan 98231c054b Add a command line program that uses the extension. This serves as example code and is also useful for performance testing.
FossilOrigin-Name: ffa1524ef2a4c32652183eb4745685f0d1c93af2
2014-09-03 08:25:09 +00:00
dan b0083756f2 Add an experimental extension for applying bulk updates to databases.
FossilOrigin-Name: 2954ab501049968430011b63d046eb42ff37a56c
2014-09-02 19:59:40 +00:00