dan
|
3cbbd195ca
|
Prevent an fts5 table from being its own content table, or part of a view that is the content table.
FossilOrigin-Name: b6d52c9364767ff4ab7279ae981afb97799299dcfaf38a0110c40ca82c72a825
|
2019-08-05 12:55:56 +00:00 |
|
drh
|
7e35e81dcb
|
Do not allow the json_set() function to overwrite the same element more than
once.
FossilOrigin-Name: f237f60e4fa9171dfe9a77c8637595c2701e971034d41bd6018944e8b2b27a6f
|
2019-07-31 12:13:58 +00:00 |
|
drh
|
8fbcb04811
|
Convert an assert() in R-Tree into a database corruption detection case.
FossilOrigin-Name: 48b518eb6f76fb0beb161d1ebcf3b793efc36262d6d77a1ad5906b6501138e28
|
2019-07-29 17:18:45 +00:00 |
|
dan
|
8279fe8a4b
|
Fix a crash in fts3 caused by corrupt database records.
FossilOrigin-Name: 11f7f94f1c5d761e7f381e277658b7e857cc369283996c509061de55fd6aad52
|
2019-07-29 16:53:30 +00:00 |
|
mistachkin
|
ac713403fd
|
Fix harmless compiler warning seen with MSVC for x64.
FossilOrigin-Name: 857b2ba6d05d6f5a8cfdf269bae9005b25e1903ab9dc6b70546979d8c633f03b
|
2019-07-29 02:49:14 +00:00 |
|
dan
|
b8293a5bee
|
Update RBU so that it supports indexes on expressions.
FossilOrigin-Name: 6bfa44da226fd758a2ee924d1e8e3a742b0635b6d3f922a4a7919cb14b2418e6
|
2019-07-26 20:33:23 +00:00 |
|
dan
|
dff1d5b61b
|
Fix RBU handling of partial indexes with comments embedded in their CREATE INDEX statements.
FossilOrigin-Name: e1ccf211aa975a6688a27f7dc4cea80784ed8dcfe1950b2fa6eb0a3cb938838a
|
2019-07-26 16:16:31 +00:00 |
|
dan
|
bfe33f80dd
|
Fix a potential buffer overread in fts5 triggered by a corrupt database record.
FossilOrigin-Name: 16472112b6886ada18d45cfb409cca2e83dde5a8ba8a36d481e87b61100b0186
|
2019-07-25 19:29:24 +00:00 |
|
dan
|
1c70f71e12
|
Avoid redefining types u32 and u16 when fossildelta.c is compiled as part of the amalgamation.
FossilOrigin-Name: d8e88248e3204b5f2b95b9b8921ee7ee2f7574ae81e6abd5b4f2ddf187f7d71b
|
2019-07-23 13:26:43 +00:00 |
|
drh
|
7fc296aa66
|
Early detection of a corrupt R-Tree in the R-Tree search algorithm.
FossilOrigin-Name: 2bf5a4c16457562dc942bcc6ec06d9b4e795ef3ea8e31550e18857bbebd08a76
|
2019-07-20 18:00:46 +00:00 |
|
drh
|
bcb0e64c82
|
Performance optimizations in the rtreeStepToLeaf() routine of RTree.
FossilOrigin-Name: 4e34e3615ff31f4a6432033797b2e1a6604007ea0e501d714ecb362632776150
|
2019-07-20 17:43:28 +00:00 |
|
dan
|
f446a7a8cd
|
Update rtree.c so that SQLITE_DEBUG is required to turn on assert() statements, even if it is compiled separately from the amalgamation.
FossilOrigin-Name: b6e17f0139482a22c2fc84552767bc9a293b282499e3a790de069e0e84455fb2
|
2019-07-09 17:36:26 +00:00 |
|
dan
|
7d840e530f
|
Fix a valgrind problem in fts3corrupt4.test.
FossilOrigin-Name: cb3dec427e399064eeec31c15565346f045bd7c46d2f7860b1cd346bbcccb124
|
2019-07-05 15:16:22 +00:00 |
|
dan
|
fe9a832e80
|
Fix a problem with handling with handling quoted path elements in extension functions json_set() and json_insert() reported on the mailing list.
FossilOrigin-Name: 45bfcb88e71451a656982e217375e257fc8e68374349c2984be1266bf86fb8cf
|
2019-06-17 14:50:33 +00:00 |
|
dan
|
471e88f732
|
Fix a segfault in fts3 that could occur when processing corrupt fts records.
FossilOrigin-Name: dff24c6c7a4e7623984b5bb24c2ff14fe079dc49a0ad048cbfc66f84c08875b0
|
2019-06-04 13:11:37 +00:00 |
|
dan
|
efdb371a1d
|
Fix an assert() in fts3 that could fail when processing corrupt records. Also some minor sanitizer warnings.
FossilOrigin-Name: c736c40aab071a69bd5c5347b7c116d87ea3954019e967ca8ff7bdb4b518e5bf
|
2019-05-28 14:42:32 +00:00 |
|
drh
|
0a0e89fa21
|
Fix an error message on the blobread() extension function so that it says
"read" instead of "write".
FossilOrigin-Name: 7cbb9a5fe835d01be158edd1e2f9d553dc257f2d27b53a5d5bf6660d0bd101c4
|
2019-05-27 11:21:43 +00:00 |
|
drh
|
3517cc7f36
|
Fix a memory leak in the delta_parse() table-valued function of the
fossildelta.c extension.
FossilOrigin-Name: c86ca3f0220a5f9e7f7f1818f6e1220d851f3ebed6a5f0aae6ac38309bd2930e
|
2019-05-27 11:09:55 +00:00 |
|
dan
|
98d63579be
|
Fix an fts5 segfault that could occur after parsing a corrupt structure record.
FossilOrigin-Name: 600daa9c27206628bf74892376ded35dac11fe0a34894fcd975ad5041a0a0fda
|
2019-05-24 11:55:01 +00:00 |
|
dan
|
29fa6b6642
|
Fix a buffer overread that could in fts3 when dealing with corrupt records.
FossilOrigin-Name: 1660d7733eb443ab085ddef7666b998a1c75ac81cc54a9620960a8d3b377e28e
|
2019-05-22 14:22:44 +00:00 |
|
dan
|
595d9f5f3c
|
Fix a segfault that could occur in sqlite3session_diff() if NULL were passed as the pzErrMsg argument.
FossilOrigin-Name: aee73fd28f031a2568ac723de0826be7f1dca6be3b049e4a04fb47af75dcf4bf
|
2019-05-20 19:46:30 +00:00 |
|
dan
|
36c9301816
|
Add new test file fts5corrupt4.test.
FossilOrigin-Name: 5dfc4fe98a4821cbdbfd7dfddf221b00251b2a26bf58767a3956b64e9a4e92da
|
2019-05-16 16:44:47 +00:00 |
|
mistachkin
|
3196abb7cb
|
Fix harmless compiler warning in the session extension.
FossilOrigin-Name: dff823ca8b5ca4a5611407b0231f89b2e8c981f50e85e361e76d3e4973cea8ca
|
2019-05-16 03:47:38 +00:00 |
|
dan
|
2a71b17f2f
|
Fix a problem with corrupt db handling in the fts5_vocab module.
FossilOrigin-Name: 456ced57774a92acff23cad975b78ff0e5cbbf5204ea48599fe1761a018a92e4
|
2019-05-14 18:33:58 +00:00 |
|
dan
|
c12655df87
|
Fix an assert() and potential buffer overrun in fts5 that could occur if the database was corrupt.
FossilOrigin-Name: 8be8bd0d562e571b73a93f4ed18258ebd114bbab67ee3cdcd66a4c8f2987f8dc
|
2019-05-14 11:33:09 +00:00 |
|
dan
|
d6712f3638
|
Fix an assert() failure in fts5 that could occur when processing a corrupt database.
FossilOrigin-Name: f158c048be1dc7c80d38787a20495caa55b86416967efd57f4888548d42b4819
|
2019-05-13 11:52:19 +00:00 |
|
dan
|
90255b8149
|
Add tests for the RBU module.
FossilOrigin-Name: a194e53670e25a48c2bb51b54755abff88ed6ae2596c5858fb4aac16cb452bdf
|
2019-05-10 20:44:10 +00:00 |
|
dan
|
5985dcbf5e
|
Fix another small buffer overread in sqlite_dbdata triggered by a corrupt database page.
FossilOrigin-Name: 1dfc95b8673b0e8c9ef5040c2fa0fbe9846e430d104e9b83f3f1f3ad63446380
|
2019-05-09 18:37:37 +00:00 |
|
dan
|
39e04f83b9
|
Fix a problem in the ".recover" command allowing a circular loop of b-tree pages in a database file to cause an infinite loop.
FossilOrigin-Name: 8d2a062eb8a3e6fdc6a61b571c8da0070382bf208c53e797151eac8679c975a1
|
2019-05-09 18:33:32 +00:00 |
|
dan
|
4d2175613f
|
Fix a crash in the sqlite_dbdata module that could occur if a pointer within an overflow chain in a corrupt database pointed past the end of the db.
FossilOrigin-Name: 3eae4e301e3e4bcf14e96066f77be1434c5d4b3daadb10153cd36382589ac128
|
2019-05-09 17:54:27 +00:00 |
|
dan
|
9c34bc0ad5
|
Fix another corruption related buffer overread in the sqlite_dbdata module.
FossilOrigin-Name: 5cd728fb6b3a70f795306d4d6e12151a4de327f801733a8558139e3cd76fe66a
|
2019-05-09 15:51:27 +00:00 |
|
dan
|
e216ae0a3e
|
Fix further buffer overreads triggered by passing corrupt records to the sqlite_dbdata module.
FossilOrigin-Name: dbc6a9f7f67256dea96d3245e7bec145ba65d64adf322e18f1f3ac9556b4e0b6
|
2019-05-09 15:07:46 +00:00 |
|
dan
|
b3e3a5bb57
|
Avoid reading outside a record buffer when extracting an SQL value in the sqlite_dbdata virtual table code.
FossilOrigin-Name: d99bb0c11d62f629bf59da037827af73a9b814e65815006e0cbca1bc41f42e25
|
2019-05-09 11:34:31 +00:00 |
|
dan
|
ad5536fca1
|
Add another test case to cover a previously uncovered branch in the RBU module.
FossilOrigin-Name: 30392985612c51d4583a905f8fe766f08cd31b86d0e30a977adc6a6705649e00
|
2019-05-08 21:14:48 +00:00 |
|
dan
|
42e84ae1ab
|
Add tests to improve code coverage of the RBU module.
FossilOrigin-Name: ecb56b75a0e66462acdcce285b93f9fc56944c42902d886d6bada419059519a9
|
2019-05-08 18:49:51 +00:00 |
|
dan
|
126537e1dc
|
Remove some redundant code from sqlite3rbu.c. Add test cases for RBU vacuum.
FossilOrigin-Name: 7b051698d8a763d9db190fd662931266d24a4982f34f100a28641934c222e37b
|
2019-05-07 16:28:50 +00:00 |
|
dan
|
57c4514720
|
Optimize further cases of restarting an RBU vacuum.
FossilOrigin-Name: 6b3261bfa1d762aa29a57244a30cf5e35655f1fe9c30ee682c186dec29d7a2c2
|
2019-05-06 20:40:23 +00:00 |
|
dan
|
c245855702
|
Optimize some cases of restarting an RBU vacuum.
FossilOrigin-Name: cdc09867ed6522026ae7bfac1f59cd79b60fba6d07d49b99b030a501a7059ee4
|
2019-05-04 20:04:42 +00:00 |
|
dan
|
1b16216f9e
|
Fix building the shell with SQLITE_OMIT_VIRTUAL_TABLE. And without SQLITE_ENABLE_DBPAGE_VTAB.
FossilOrigin-Name: 425d708c3908fe74f69b62e6dd1722a0018088977e12f14b312dad1df0fbb804
|
2019-04-27 20:15:15 +00:00 |
|
dan
|
42ebb01e9f
|
Add the "--lost-and-found" option to the ".recover" command. For setting the name of the orphaned rows table.
FossilOrigin-Name: 67bb88e24c74d02ae0c4ac6ff2f873f6b0035ccefe5cccfc71c5686cbc76b4c3
|
2019-04-27 18:47:03 +00:00 |
|
dan
|
c0b42437ab
|
Fix a locking-page related problem with the ".recover" command.
FossilOrigin-Name: afdae10424f0f3d0f10a4b73e9732aa55c5ee664814d8ca0edd372cfb17c2445
|
2019-04-26 15:14:53 +00:00 |
|
dan
|
6aa001527c
|
Merge latest trunk changes into this branch.
FossilOrigin-Name: 1da302d85d7ad4ba54f877117a45d667439fd2ef31dc70ea1d54dc1fba196e68
|
2019-04-25 20:06:34 +00:00 |
|
dan
|
efa363b84c
|
Improve the performance of the .recover command.
FossilOrigin-Name: a50768314d10d743a0cc013b434b516f0763e0a6c5b79655d8fefde7de53e869
|
2019-04-24 20:48:55 +00:00 |
|
dan
|
bebea908b8
|
Fix another instance in fts3 where a corrupt record can cause a buffer overflow.
FossilOrigin-Name: e1724f1d618cfbcfd1e495d8965a395656cfc1114e1bffd4bc3be0bd5cdb6550
|
2019-04-24 16:13:52 +00:00 |
|
dan
|
a27cce76bf
|
Fix a problem in fts5 where a corrupt position list could lead to a buffer overwrite.
FossilOrigin-Name: 516ca8945150bdc1363603e234be5f3f4a3861f581d7cc9455da3e87b9974309
|
2019-04-24 15:57:25 +00:00 |
|
dan
|
04687f9e03
|
Fix an error in fts3_write.c allowing a corrupt database to cause a crash.
FossilOrigin-Name: 6e4a5f22811bcd1485e27073ec96821d448b91b6d1ff1659cc3772449d19a762
|
2019-04-24 15:13:02 +00:00 |
|
dan
|
b40af49d73
|
Enhance the ".recover" command. Fix a problem with overflow pages in dbdata.c.
FossilOrigin-Name: f193ca587f9e4f925f4f2343b0b07053bd6f93dd87fc6f8f41cf4479e90cf562
|
2019-04-22 20:52:12 +00:00 |
|
dan
|
68cb86ef23
|
Add the ".recovery" command to the shell tool. For recovering the maximum amount data from corrupt databases. Still needs work.
FossilOrigin-Name: 7461d2e120f2149315ddac2676d51d7445bcdb8e97543effd9c30603517ef9da
|
2019-04-20 20:57:28 +00:00 |
|
dan
|
3b412ac247
|
Add the sqlite_dbptr virtual table to the dbdata extension. For querying the links between b-tree pages.
FossilOrigin-Name: 3213a15f2133afbb0a4fec3b8f6e0eeca8c0befafd6658c41074e84f589d5d32
|
2019-04-18 21:14:11 +00:00 |
|
dan
|
f1173b69b1
|
Add the experimental dbdata extension.
FossilOrigin-Name: a3ab58832935e1399ecc7e4d8daefa3a6afa6b301792ce7176bc5d7c173510fb
|
2019-04-17 21:17:22 +00:00 |
|