dan
|
b7a208686a
|
If a call to sqlite3rbu_close() on an rbu handle opened by sqlite3rbu_vacuum() returns other than SQLITE_OK, delete the contents of the rbu_state table. This ensures that if an RBU vacuum operation either completes successfully or encounters an error, the next call to sqlite3rbu_vacuum() with the same parameters starts a new RBU vacuum operation.
FossilOrigin-Name: 6e4ac704f51bdd1e0b16814f6a45ab29f26400ee
|
2016-04-21 16:44:38 +00:00 |
|
dan
|
2e8bfb67d4
|
Fix a problem in rbu vacuum on tables with a large sqlite_master table.
FossilOrigin-Name: 23eac52e987996afe8db847921aef434cebd25b5
|
2016-04-21 15:26:26 +00:00 |
|
dan
|
94d49697b5
|
Add a documentation comment for sqlite3rbu_vacuum() to sqlite3rbu.h.
FossilOrigin-Name: da5c753ddac3cbfdf03710a82f5fd9fa2e29e819
|
2016-04-20 20:08:58 +00:00 |
|
dan
|
132dde5cdf
|
Add fault injection tests for rbu vacuum. Fix some problems revealed by the same.
FossilOrigin-Name: f042fdd1ea7febec7228e51efc2b0281805e196a
|
2016-04-20 17:47:52 +00:00 |
|
dan
|
1aea63032a
|
Updates to ensure the values of PRAGMA settings like "page_size", "auto_vacuum", "user_version" and "application_id" are not lost when a database is RBU vacuumed.
FossilOrigin-Name: 74ffea76b8c9ddd7699ce6ca77dce005bd7922ac
|
2016-04-19 19:27:09 +00:00 |
|
dan
|
46f0035b48
|
When an RBU vacuum is started on a db identified using a URI filename, pass the same URI parameters when creating the new version of the db. This ensures that RBU vacuum works with password protected databases.
FossilOrigin-Name: ca021ba88106500f347ed65199a4832bc9eb5ef8
|
2016-04-19 17:11:05 +00:00 |
|
dan
|
bff4b6367c
|
Detect attempts to use rbu vacuum on a wal mode database (not allowed). And attempts to write to a database in the middle of an rbu vacuum (which prevents the vacuum from resuming).
FossilOrigin-Name: 00b2f4b09ffca5156e43c4db2bfe0b2c979c49b0
|
2016-04-19 16:20:24 +00:00 |
|
dan
|
58e3812988
|
Another fix to rbu vacuum for a zipvfs case.
FossilOrigin-Name: 29407d70e44ad9ea5ddaf1011d0e212b602a3ddf
|
2016-04-18 21:00:01 +00:00 |
|
dan
|
beccf1d16f
|
Fix some zipvfs related problems in RBU vacuum.
FossilOrigin-Name: d76f4aaa4caab713460421bd27365a82ac986c20
|
2016-04-18 18:18:18 +00:00 |
|
dan
|
303a094466
|
Add the -vacuum switch to the "rbu" demonstration program.
FossilOrigin-Name: 9a0078a538c7e73a009960347b8953c5af99fefd
|
2016-04-18 09:17:05 +00:00 |
|
dan
|
2bb5f4478e
|
Changes so that rbu vacuum works with zipvfs databases.
FossilOrigin-Name: bae7f875f476f6e01112751cb404fef42ba0a01c
|
2016-04-16 19:02:53 +00:00 |
|
dan
|
977cbe78b3
|
Avoid creating any extra files ("<target>-vacuum") when running an RBU vacuum. Ensure that the OAL file created is "<target>-oal", not "<target>-vacuum-oal".
FossilOrigin-Name: dc19aacc7e99213edca9bb57b5c11a8a1ac99113
|
2016-04-16 17:53:14 +00:00 |
|
dan
|
f89157653a
|
Add the experimental sqlite3rbu_vacuum() API function. For opening an RBU handle that rebuilds a database from scratch.
FossilOrigin-Name: 0216b48f28042ad86711e00802c2da8ce9be3044
|
2016-04-15 20:46:41 +00:00 |
|
mistachkin
|
77fac879d2
|
More harmless compiler warning fixes.
FossilOrigin-Name: ab69527c1608da0b668f3b49e967661dd99cc3d4
|
2016-04-12 20:05:06 +00:00 |
|
dan
|
fce07fb944
|
Fix a problem detecting invalid values in the rbu_control column of an rbu database table.
FossilOrigin-Name: a1132dd9027d1c6dd845be307eeb38e535393f2c
|
2016-03-19 17:09:30 +00:00 |
|
dan
|
febfe02300
|
Update the sqldiff tool so that it generates an rbu_count table.
FossilOrigin-Name: 1f7afb6e9be9f549a91bf2ab492df15698df89fd
|
2016-03-19 16:21:26 +00:00 |
|
dan
|
f11737fcc8
|
Merge latest trunk changes, including fixes to test script rbudiff.test, into this branch.
FossilOrigin-Name: 734fc68fb12f06e97026d4637138b82b37809f5b
|
2016-03-19 15:34:42 +00:00 |
|
dan
|
1e8dae0e43
|
Fix test scripts sqldiff.test and rbudiff.test so that they work with the --testdir option.
FossilOrigin-Name: 1ffe3cde03f924bb8405a8729c8e1bc01f5b6d3b
|
2016-03-19 14:53:36 +00:00 |
|
dan
|
eea627da9e
|
Add further tests for sqlite3rbu_bp_progress(). Fix a problem in handling WITHOUT ROWID tables in the same.
FossilOrigin-Name: 65e02368e2b6cec349ea71af5a456d6783b0d15e
|
2016-03-18 20:12:28 +00:00 |
|
dan
|
789780d8f6
|
Change the name of the new API on this branch to "sqlite3_bp_progress". Add tests and documentation for the same.
FossilOrigin-Name: 1a1b69e87eb7d18f76f5b733e44da75136a686b6
|
2016-03-18 18:56:45 +00:00 |
|
dan
|
fe485c0e56
|
Add tests for the changes on this branch. Fix a problem with calls to the new progress indicator API made after an rbu update has been resumed.
FossilOrigin-Name: bf82321724d3b0feb51e26d9b76090e03cc3964a
|
2016-03-18 10:29:47 +00:00 |
|
dan
|
e42195b044
|
Add an API to indicate the percentage progress of an rbu update.
FossilOrigin-Name: ffc58d2c2576a5b6e1c2c7112612c5760e711afd
|
2016-03-17 21:06:42 +00:00 |
|
drh
|
15d36c603d
|
Remove an unused goto label in the RBU extension.
FossilOrigin-Name: 2179a106e8dd7943d4f37093e65ce7826720904e
|
2016-03-08 16:02:37 +00:00 |
|
dan
|
e45216fd9d
|
Add a new row type to RBU (a peer of insert, update and delete) - "delete then insert".
FossilOrigin-Name: 169311c85b30f625bdb6986c9cd11db70942d73b
|
2016-03-07 17:39:30 +00:00 |
|
drh
|
e1ee002891
|
Fix a couple of harmless warnings generated by clang.
FossilOrigin-Name: a1a3ff1f53145c5a9fbf29398cf4a453729e71f0
|
2016-02-19 15:17:53 +00:00 |
|
drh
|
7647377f52
|
Fix harmless compiler warnings in RBU and add RBU to the autoconf and windows
makefiles.
FossilOrigin-Name: fabe78c5d8ab353988f6fe0decacd651edc17ec2
|
2016-01-14 13:22:24 +00:00 |
|
dan
|
5c22e82a17
|
Add extra debugging function to test_rbu.c. Enhance the documentation for sqlite3rbu_db() to define the validity of the returned database handles.
FossilOrigin-Name: b9c4aa521156d8ca09151a82a7e80aa8d1d7a313
|
2015-10-21 08:26:01 +00:00 |
|
dan
|
f4f968443b
|
Add the missing 'extern "C" {...}' blocks to fts5.h and sqlite3rbu.h.
FossilOrigin-Name: 47a2ce97d585e1760ffcf760c0de1753677d5713
|
2015-10-14 10:56:34 +00:00 |
|
mistachkin
|
b2682eb14b
|
In the RBU extension, use MoveFile() instead of rename() on Windows CE.
FossilOrigin-Name: df9ef61f1ba2e3a3420fae84e3eaa2e0e235bc28
|
2015-10-08 17:35:51 +00:00 |
|
dan
|
2798f0b54b
|
Fix compiler warnings in rbu code.
FossilOrigin-Name: 0fdc36fe35ae2fc8e9688fe6c53437f4d47502d9
|
2015-08-28 16:41:45 +00:00 |
|
dan
|
5ef2b281aa
|
When updating a zipvfs database with RBU, set journal_mode=off to prevent the upper-level pager from creating a large temporary file.
FossilOrigin-Name: dec14a3980dcf6c61b0b9ac4ba82fa963ac346d4
|
2015-08-19 08:34:34 +00:00 |
|
dan
|
82d7aea6d4
|
Add the sqlite3rbu_savestate() function to the rbu extension. To force rbu to save its state to disk without closing the sqlite3rbu* handle.
FossilOrigin-Name: 851a875ad6b81f90960caf4d03b116afc911858d
|
2015-08-13 18:26:09 +00:00 |
|
dan
|
4510faa6df
|
Avoid invoking system call unlink() directly from RBU code. Use the xDelete method of the default VFS instead.
FossilOrigin-Name: ee966af8ff79189f8b90f3557dea21059517dfe2
|
2015-08-13 11:46:21 +00:00 |
|
drh
|
027616d4ce
|
Fix compiler warnings and remove unreachable code.
FossilOrigin-Name: be190fe7826d157fc5acd84210095725b059e4f6
|
2015-08-08 22:47:47 +00:00 |
|
dan
|
d50bd6b0aa
|
Update RBU to avoid repreparing a statement immediately after it is prepared.
FossilOrigin-Name: 1d75a41bb2f7fcd32f9f08768517b814e452e456
|
2015-08-08 15:13:08 +00:00 |
|
dan
|
0734b5a057
|
Add extra tests for RBU and FTS3/4.
FossilOrigin-Name: 3419044967258e3ed65f71528e06952ee102dcc7
|
2015-08-01 18:18:21 +00:00 |
|
dan
|
a9ca8afef5
|
Add support for "fossil deltas" to RBU and "sqldiff --rbu".
FossilOrigin-Name: e26ef165fe2f7524684af0d269d38475ea8b9489
|
2015-07-31 19:52:03 +00:00 |
|
dan
|
dd688e7970
|
Fix a problem causing [sqldiff --rbu] to fail on tables for which all columns are part of the PRIMARY KEY.
FossilOrigin-Name: 93449e7046d60cad020ca439ded82e759c2e3cd9
|
2015-07-31 15:13:29 +00:00 |
|
dan
|
994618521c
|
Add the --rbu switch to the "sqldiff" utility.
FossilOrigin-Name: 098bea26da4533d9ad97a85687cca56fb0d764a4
|
2015-07-30 20:26:16 +00:00 |
|
dan
|
c1e8ae679a
|
Allow RBU tables to be named "data[0-9]*_<target>" instead of strictly "data_<target>". Also update RBU so that it always processes data tables in order sorted by name.
FossilOrigin-Name: 287aa30601506f168d355c35176a3383474444ca
|
2015-07-30 11:38:19 +00:00 |
|
mistachkin
|
24fa5435ee
|
Enable the RBU extension to compile cleanly on Windows using MSVC.
FossilOrigin-Name: cca79fdc3dff65907c2a59369057265b4512058f
|
2015-07-24 21:19:25 +00:00 |
|
dan
|
5555741bdc
|
Allow the RBU module to read data from appropriately named SQL views created within the RBU database.
FossilOrigin-Name: 45c6a760ca63d19a7ccc352c7e35d8391025b515
|
2015-07-24 18:58:59 +00:00 |
|
mistachkin
|
f6972c3764
|
Update RBU description comment in the header file. No changes to code.
FossilOrigin-Name: 119883a21bdcab66c15d1e80f3da20addda328ad
|
2015-07-24 00:02:15 +00:00 |
|
drh
|
cfb8f8d6a9
|
Change the name of the OTA extension to RBU: Resumable Bulk Update.
FossilOrigin-Name: 017c5019e1ce042025d4f327e50ec50af49f9fa4
|
2015-07-23 20:44:49 +00:00 |
|