drh
f328bc80ce
Work toward getting the new btree.c integrated with vdbe.c. (CVS 1345)
...
FossilOrigin-Name: bc5a2dafa1df74ba6403b4751ac1c33b0fee2884
2004-05-10 23:29:49 +00:00
drh
3644f0858d
The btree.c module passes all tests and is ready for integration.
...
Still need to go back and do coverage testing. (CVS 1343)
FossilOrigin-Name: 84506b23365933383397e02a8ec5a980c57c80fc
2004-05-10 18:45:09 +00:00
drh
24cd67e732
The btree.c module now passes all the historical regression tests. New tests
...
for new functionality still need to be added. (CVS 1342)
FossilOrigin-Name: 433ae0d327e5d5b0761e88418ed57fc4cbf4966b
2004-05-10 16:18:47 +00:00
danielk1977
24b03fd055
Change the names of external symbols from sqlite_XXX to sqlite3_XXX. (CVS 1337)
...
FossilOrigin-Name: ba2ba24263a9e4d1b65b441295504a5da6380f33
2004-05-10 10:34:34 +00:00
drh
3a4c141357
More btree.c bug fixing. It's getting closer but still not there yet.
...
Move obsolete test scripts into the attic. (CVS 1331)
FossilOrigin-Name: 9379c7c9cf8b0770a0c8d1feb5ffdba342173589
2004-05-09 20:40:11 +00:00
drh
da200cc1c7
The btree.test test is no working with integrity_check enabled. (CVS 1330)
...
FossilOrigin-Name: 9f1caa530e69aaf202debac36b6a46d707f362d7
2004-05-09 11:51:38 +00:00
drh
457f501464
Begin trying to get integrity checking working on the new btree.c. (CVS 1329)
...
FossilOrigin-Name: 499569daa6a3aed6609bcb1e11a3d231e13f4f9c
2004-05-09 01:35:05 +00:00
drh
c12fc0d85f
All tests in btree.test now pass (but only because I commented out the
...
btree_integrity_check test.) (CVS 1328)
FossilOrigin-Name: ee706e9c74c3fb32fc3369db226fad9ed4db7596
2004-05-09 00:40:52 +00:00
drh
c8629a13e1
More btree.c bug fixes. (CVS 1327)
...
FossilOrigin-Name: e9f84ff3fe45a014ab60fabbfd91d19e6d353477
2004-05-08 20:07:40 +00:00
drh
ab9f7f12d5
Get the code back to the point where it will compile the btree.c tests.
...
Move the default key comparison routine from btree.c into vdbeaux.c.
Commented out code in vdbe.c that will need to be fixed. (CVS 1326)
FossilOrigin-Name: 2bca92240b16a51f78661c3ba4d779d231780f8d
2004-05-08 10:56:11 +00:00
danielk1977
4adee20fcb
Change lots of internal symbols from sqliteXXX to sqlite3XXX so that the
...
library links again. It doesn't work yet, due to changes in the btree layer
calling convention. (CVS 1324)
FossilOrigin-Name: 8af6474c49263ae26216dff9465b33f76b500cf4
2004-05-08 08:23:19 +00:00
drh
9b17127705
More bug fixes in btree.c. (CVS 1323)
...
FossilOrigin-Name: 2d64cba38c0f5fffa18cb30c4c448278837de49d
2004-05-08 02:03:22 +00:00
drh
c39e000bbf
More bug fixes in btree.c. (CVS 1322)
...
FossilOrigin-Name: a80939ef714ec884950b4a1f4f809ffa37fdfa59
2004-05-07 23:50:57 +00:00
drh
de64713041
The btree.c module compiles and links and passes some tests. Many tests
...
still fail, though. (CVS 1321)
FossilOrigin-Name: d394b2b217d4d728f9eba397262bf9d36195719e
2004-05-07 17:57:49 +00:00
drh
a34b676483
New btree.c module compiles and links. (CVS 1320)
...
FossilOrigin-Name: dcd6b55f932a7ade4ad058534651e198b56370ad
2004-05-07 13:30:42 +00:00
drh
23e11cab7d
Update test3.c to work with the new btree.c API. (CVS 1314)
...
FossilOrigin-Name: bfb3234dc60c9152fdf0a16b887089365443f5ed
2004-05-04 17:27:28 +00:00
drh
9102529d8c
Incremental btree.c changes. (CVS 1312)
...
FossilOrigin-Name: fdc629dbbf974024215969e0bd3def4597258812
2004-05-03 19:49:32 +00:00
drh
4b70f11aea
Changes to btree for the new file format are mostly complete. Still need
...
to test and debug. (CVS 1311)
FossilOrigin-Name: 0eee3b5cd400e9548437632ec1dfe625a3fca9cf
2004-05-02 21:12:19 +00:00
drh
8856d6aad2
Sync all version 3 changes. (CVS 1309)
...
FossilOrigin-Name: 51892d6cdc739bb049fdfce8301354312167c181
2004-04-29 14:42:46 +00:00
drh
3aac2dd7bc
Pager tests working. (CVS 1308)
...
FossilOrigin-Name: 910067a200c4b25b5d813a84146673d3d1c80952
2004-04-26 14:10:20 +00:00
drh
9e572e608f
Begin modifying the BTree code for the new version-3 file format.
...
This is a work-in-progress.
As of this check-in, SQLite will not build. (CVS 1306)
FossilOrigin-Name: ce0bbd3a7159e12c86c5cde6571d6668b234827b
2004-04-23 23:43:10 +00:00
drh
a0c9a112de
The BTree layer now returns SQLITE_READONLY on an attempt to open a write
...
cursor on a read-only database. Previously, the failure would not occur
until there was an attempt to write to the cursor. (CVS 1289)
FossilOrigin-Name: 8a8be4687bf9fd88952b303f30f93aa6fed75b60
2004-03-10 13:42:37 +00:00
drh
8a6ac0adbc
Fix problems with malloc-failure handling. (CVS 1241)
...
FossilOrigin-Name: 398bc294c839368e7fa75a97ba8cc8d1639f9436
2004-02-14 17:35:07 +00:00
drh
c602f9ae01
Add the SQLITE_NOTADB return code for cases when you try to open a file
...
that does not even remotely resemble an SQLite database file. (CVS 1233)
FossilOrigin-Name: 0c77cee70f078152969933c1d340cea1c86286b0
2004-02-12 19:01:04 +00:00
drh
57ced9186a
Make the pager accessible from the btree structure always, not just during
...
debugging. (CVS 1219)
FossilOrigin-Name: 9c6b4758a4b13a91f71be17751a76c0c14b4d4c3
2004-02-10 02:57:59 +00:00
drh
d0ba193dc7
Allow SQLITE_PAGE_SIZE to be redefined on the compiler command-line. (CVS 1217)
...
FossilOrigin-Name: 4c7bf714b5f3d2bb7366367ddf906141a7e36407
2004-02-10 01:54:28 +00:00
drh
4ec2e9612f
Remove unused code from the integrity_check logic. Ticket #545 . (CVS 1153)
...
FossilOrigin-Name: ee51e205fb6ef412db6a46077e8bc1554aadcca1
2004-01-01 12:33:43 +00:00
drh
4be295be07
Improvements to the way PRAGMA integrity_check works. More likely to output
...
userful information when given a corrupt database. (CVS 1132)
FossilOrigin-Name: b92c31d6c138f9462730cecfe14f7dde19778e79
2003-12-16 03:44:47 +00:00
drh
41743984bf
Always use "(char*)0" to terminate the argument list of sqliteSetString().
...
This is needed for 64-bit systems that use a 32-bit integer by default. (CVS 1126)
FossilOrigin-Name: 656c90387a4a714b4f31040ece9b0e15e30934af
2003-12-06 21:43:55 +00:00
drh
44ce7e20f8
Remove unused variable. Ticket #355 . (CVS 1030)
...
FossilOrigin-Name: 5228cecdb84a665b96750fc0dc7c81e3f50a3ce8
2003-06-17 02:57:17 +00:00
drh
7d02cb73ca
Fix a bug in UPDATE OR REPLACE that was introduced by check-in (999).
...
Also clean up some compiler warnings for VC++. (CVS 1005)
FossilOrigin-Name: af6f2bdf59fb621ff3e1d061e429f01ebd7d0b42
2003-06-04 16:24:39 +00:00
drh
8bf8dc9208
Fix problems with TEMP indices that lead to corrupt databases. These
...
problems were discovered while working on ticket #317 . No sure yet if
that ticket is fixed. (CVS 981)
FossilOrigin-Name: 01398fb78bab7e5c6f439f2b743f26e82118468a
2003-05-17 17:35:10 +00:00
drh
2e6d11bc07
Add tests to insure VACUUM works in the presence of I/O errors. Fix some
...
problems that came to light by these tests. (CVS 935)
FossilOrigin-Name: 8d3e879349fc9523c72cb46111e0058b57ce9341
2003-04-25 15:37:57 +00:00
drh
f7c5753174
Make VACUUM work even if multiple processes have the database open at once. (CVS 933)
...
FossilOrigin-Name: caa960289f3d1f5e8f35a94e9e4321996c211ed2
2003-04-25 13:22:51 +00:00
drh
fd9903de51
Explicit casts to squelch bogus warnings for vc++. Ticket #194 . (CVS 932)
...
FossilOrigin-Name: cb808c14bc14e7bd1cfff134ae5206ace451f2df
2003-04-25 03:13:25 +00:00
drh
144f9eadf6
Remove some unnecessary code and complication from the btree interface. (CVS 909)
...
FossilOrigin-Name: 35cc7c7d37d9ca486e7f300efe80a78a7f1064e2
2003-04-16 01:28:16 +00:00
paul
b0208ccaa3
Support in-memory databases for temp tables (CVS 903)
...
FossilOrigin-Name: 96336bffde6c441af197a521ee9e56fdfd7efff8
2003-04-13 18:26:49 +00:00
drh
73509eee84
Simplify the BTree interface by shortening names. Added two new methods
...
for accessing the current filename and for changing the name of the
database file. (CVS 900)
FossilOrigin-Name: 185d8dc8d0c26cef36aeba6992823e5124af4056
2003-04-06 20:44:45 +00:00
paul
b95a8864c9
Add infrastructure to suport multiple btree implementations (CVS 894)
...
FossilOrigin-Name: 79b3aed2a74a67cbad631c4e2e4a43469d80c162
2003-04-01 21:16:41 +00:00
drh
1dd8c40e8f
Detect when a child node of a btree page has zero entries and report that
...
as a case of database corruption. (CVS 887)
FossilOrigin-Name: 66c80ae232a78ecb010280ab1aa684cb78b0662f
2003-03-30 18:41:22 +00:00
drh
001bbcbb8f
Modifications to the VDBE to support more than one database file. (CVS 878)
...
FossilOrigin-Name: 875da9eed981bfa27b98e95025f9fdbed74b4098
2003-03-19 03:14:00 +00:00
drh
973b6e333d
Added the new FULL option to the SYNCHRONOUS pragma. Still need to test it. (CVS 863)
...
FossilOrigin-Name: 792a9e157dd066fcaffd4f5b373010151fb4ca61
2003-02-12 14:09:42 +00:00
drh
3a84069da3
Additional testing and bug fixing with the non-callback API. Updated the
...
C/C++ interface document to describe the non-callback API. (CVS 855)
FossilOrigin-Name: af1e9299468aa70d7d91e7a5445ba391ccc8ff8b
2003-01-29 22:58:26 +00:00
drh
d62d3d0d24
Add asserts to btree.c that check for the correct size of various typedefs
...
and structures. Ticket #233 . (CVS 845)
FossilOrigin-Name: c7e647d011b086a6e57420850f6bc4f28fcb23ee
2003-01-24 12:14:20 +00:00
drh
8178a75a11
More optimizations. (CVS 813)
...
FossilOrigin-Name: 5809132f5bf40bae2331f887e87fe5baecc15c46
2003-01-05 21:41:40 +00:00
drh
c3b7057705
Parameterize the number of adjacent pages that participate in the balancing
...
algorithm in the BTree. But leave the setting at the current value of 3. (CVS 812)
FossilOrigin-Name: 6c304024bbd21a1886a57ada795531349aa627d7
2003-01-04 19:44:07 +00:00
drh
bb49aba82a
Another optimization to the btree logic. (CVS 811)
...
FossilOrigin-Name: 03d20673616cae0dca524fd04557798a98fb7069
2003-01-04 18:53:27 +00:00
drh
428ae8cb41
Optimizations to the BTree module for a modest speed improvement. (CVS 810)
...
FossilOrigin-Name: 39902a70417475225956704a037493515e9b08b9
2003-01-04 16:48:09 +00:00
drh
8c1238aebd
Code optimizations to help the library run faster. (CVS 808)
...
FossilOrigin-Name: db745e87dc26cf1a35cdcec18f4b659742e14120
2003-01-02 14:43:55 +00:00
drh
1a844c380b
Fix a bug in the reverse scan logic that comes up when the table being
...
scanned is empty. Add additional tests for the reverse scan. (CVS 797)
FossilOrigin-Name: 0051c87d5e8d07fae09da2eb7b0d8cbd1bbd3c8e
2002-12-04 22:29:28 +00:00