dan
|
041cc06139
|
Better handling for databases with corrupt headers.
FossilOrigin-Name: 17f68d803685405d880025134c71bac01077962d677f2902a608952d0b9cdb5a
|
2022-10-04 19:43:12 +00:00 |
|
dan
|
7e33f8f43b
|
Modify implementation of recovery to break recovery of the lost_and_found table into multiple steps.
FossilOrigin-Name: adedfd040bb2d1c2dcda0b91c6073f12953e45d9b860a8f217d990e861d66dfb
|
2022-09-26 20:51:16 +00:00 |
|
dan
|
8d8fc58413
|
Add the SQLITE_RECOVER_SLOWINDEXES option, for specifying that indexes should be created and populated along with tables, instead of separately at the end of the recovery operation.
FossilOrigin-Name: ad9dba9d1eae786575c7f31e34b342b6f5b26e719bbe27b61609cad8cfd0a505
|
2022-09-24 19:54:49 +00:00 |
|
dan
|
351563efe1
|
Add sqlite3_recover_step() to header file sqlite3recover.h. Update the API docs in this file.
FossilOrigin-Name: 47f416153035d6bf0ae27587583d2957c87c02caecbd4e7f363bcb2bc27cf159
|
2022-09-24 19:17:20 +00:00 |
|
dan
|
aee4049128
|
Update things to use sqlite3_recover_step() internally.
FossilOrigin-Name: f4b15aad3005237b7ac507eed2b9b07e0f5c9407ab28f2656a21c9845f13d35f
|
2022-09-24 18:05:52 +00:00 |
|
dan
|
9bbd91b39d
|
Internal changes to the recover extension towards a step() style interface.
FossilOrigin-Name: 73926d5c8cd1ecece134b5a73b44ee1dfca74dc200606e3f009b06cdecf8cee9
|
2022-09-23 21:01:10 +00:00 |
|
dan
|
80b1f6fcde
|
Fix various compiler warnings in new code on this branch.
FossilOrigin-Name: ae49e9efde3012158061def6e0a8d993abbc5933514a21f84bc10f700f61b5e2
|
2022-09-23 11:40:43 +00:00 |
|
dan
|
73390f09c2
|
Fix windows builds of recover extension.
FossilOrigin-Name: abcbb6abfe08fc590123f0aa1bd72cfdecc75908f078f1348dc0e957de98bf52
|
2022-09-15 03:54:52 +00:00 |
|
dan
|
6fa0a11c7b
|
Include recovery extension in configure/make builds of testfixture.
FossilOrigin-Name: d2f4652144c4a54012a2176c178c5ade3463bd017515f472cfa8dafdde192df3
|
2022-09-14 20:45:46 +00:00 |
|
dan
|
3c24342841
|
Extra tests and fixes.
FossilOrigin-Name: deed5336931b23bb507c064d08e9899b33f04e4f7eee03beb8d7147eb4caa030
|
2022-09-14 18:57:46 +00:00 |
|
dan
|
b8eaf9a10d
|
Fix recovery of utf-16 databases.
FossilOrigin-Name: 5b05be0861f35804270fbd184ad4b89c23e98cc2fbd56b9e4fe6197daef5fe49
|
2022-09-14 16:37:59 +00:00 |
|
dan
|
322967df59
|
Add OOM tests for the recovery extension.
FossilOrigin-Name: 9b6b4c7162439a889144edb561356afc66436db921a867c20871f0c556716502
|
2022-09-13 20:40:57 +00:00 |
|
dan
|
a3a6d63b40
|
Fix a broken error handling case in the recovery extension.
FossilOrigin-Name: 60089547e1fc77ecc02f207ebf75ee3160e5ff25f41d12e02e170fd7fde66602
|
2022-09-13 19:47:01 +00:00 |
|
dan
|
7985e05a97
|
Add tests. Deal issues surrounding aborting recovery from within the SQL callback, and avoiding the pending-byte page.
FossilOrigin-Name: 4e97dd31f5240d9231167ae172a5116426c42177a1ed3c5422b9d51b762d5a87
|
2022-09-13 18:08:24 +00:00 |
|
dan
|
5ca0b38605
|
Fix some problems with handling corrupt database in the recovery extension.
FossilOrigin-Name: ed318be8241981ef96334ba13d3201a717cc812a59aed64e3dc67f7e7e71854b
|
2022-09-12 20:02:33 +00:00 |
|
dan
|
aede9b5bd3
|
More tests for the recover module.
FossilOrigin-Name: 37fb093b95c6b7d7ad07a275697df73b69f9fb5c5549aea8544b26e38f24833f
|
2022-09-12 19:23:50 +00:00 |
|
dan
|
65660916dc
|
Rework recover extension code for readability.
FossilOrigin-Name: 1a2540960e40e3c8c622448fd3862e249bd463c29ae4ce5e39942e942533f60a
|
2022-09-10 20:01:49 +00:00 |
|
dan
|
bc2e7fc228
|
Further fixes to comments in sqlite3recover.h. Also rework some data structures in sqlite3recover.c.
FossilOrigin-Name: 599d1f8ec2f9e24924a6f9e66c85664360c7b95531b07a4efe1dd8c096b3fc99
|
2022-09-09 20:44:56 +00:00 |
|
dan
|
7920162093
|
Handle recovery of virtual tables by recovering each shadow table individually, then writing the CREATE VIRTUAL TABLE statement directly into the sqlite_schema table.
FossilOrigin-Name: 5f2d5ccd56c06c3468377126acfd4be39b79b05bb6fb09b674b2e185df143aa3
|
2022-09-09 16:25:19 +00:00 |
|
dan
|
46d4398440
|
Update comments in sqlite3recover.h.
FossilOrigin-Name: 14164047c43e3ca43aa010c77ea00dfa85400e15645ee0f5b90a677898b6a836
|
2022-09-08 21:43:18 +00:00 |
|
dan
|
9a27d65044
|
Update the shell to use the recover extension for the .recover command.
FossilOrigin-Name: ae832e77084eddd696c80cb926d070a5db9d45dce34156a02522b3140e8f5e8b
|
2022-09-08 19:22:29 +00:00 |
|
dan
|
3887ffe82a
|
Fix problems with recovering the sqlite_sequence table.
FossilOrigin-Name: 356d2209ea5f6b69ce15b62027c63419c2d039e52f01c74a3810a6317abf4fb0
|
2022-09-08 17:42:33 +00:00 |
|
dan
|
4a08e793c6
|
Add new test file recoverclobber.test.
FossilOrigin-Name: cb4e950c472bd24a79a8505a7f8e4c3a0f7821648297d05cc760738b777d5149
|
2022-09-08 11:04:23 +00:00 |
|
dan
|
abb28667f1
|
Ensure that the recover extension properly escapes CR and NL characters in text mode. Also that it holds transactions open on both input and output databases for the duration of a recovery operation.
FossilOrigin-Name: 6cca8913e703635ad89415a60fc84000ac188d9df43f45594b8ad87facb91d54
|
2022-09-07 16:41:33 +00:00 |
|
dan
|
497b3e6a11
|
Tests and a fix for the SQLITE_RECOVER_ROWIDS option.
FossilOrigin-Name: 1d5000f5718004110776ff58284d824854a93fe1cd1f6d8a4e8b8b0c2b2c3076
|
2022-09-06 19:38:06 +00:00 |
|
dan
|
108c51b6ae
|
Fix a problem with script mode and lost-and-found tables.
FossilOrigin-Name: 09ec588d2fe24dd321e88318fe90a9ae912cbc73c8a2d59a10c821625dd12d9d
|
2022-09-05 21:22:35 +00:00 |
|
dan
|
d5e3fe50f8
|
Add a mode to output SQL statements instead of populating a database to the recover extension.
FossilOrigin-Name: 73058416e7da6581000898b7988a7010e2ce6632246f4c12b4398700c7744b83
|
2022-09-05 21:00:22 +00:00 |
|
dan
|
a768b67dcc
|
Add the SQLITE_RECOVER_ROWIDS option. To specify that rowid values that are not also explicit INTEGER PRIMARY KEY values should be preserved.
FossilOrigin-Name: 69cc9aba56a196bbd159bd24868aa5ccc60bed0dc612d09ed8a3ae898f156809
|
2022-09-05 15:56:09 +00:00 |
|
dan
|
7302079dbe
|
Add an option to assume the freelist is corrupt when recovering data.
FossilOrigin-Name: 253e498f5200b8b3e2bc309587af108dd1cec8a884b3d2a49d5406525c9a4b4c
|
2022-09-03 21:08:38 +00:00 |
|
dan
|
be2e212cf9
|
Take the freelist into account when recovering data that is not linked in to any tree associated with a schema entry.
FossilOrigin-Name: dbd1f1efb349a9c8886e42b3f07d3f4c576924136f111558c7294d0a272e415a
|
2022-09-03 20:31:36 +00:00 |
|
dan
|
f2f8a3a348
|
Further work on making the recover extension compatible with the .recover command.
FossilOrigin-Name: f2ac315844d8db1bd1c6950a4fef7c459ddd37cc21a8f3daafa5639fad8118e2
|
2022-09-03 20:07:39 +00:00 |
|
dan
|
6c86783f9a
|
Further work on making recovery extension compatible with the shell tool ".recover" code.
FossilOrigin-Name: 8df7c7d0dcd1b2fcdad00e765a9868407f0ced02ac4432ee2cdf25d83b130759
|
2022-09-01 21:00:39 +00:00 |
|
dan
|
73b09b87d5
|
Add new files for an extension to recover data from corrupted databases.
FossilOrigin-Name: f8298eeba01cb5b02ac4d642c06f3801331ca90edea533ea898a3283981a9e49
|
2022-08-31 20:45:43 +00:00 |
|