1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-12 13:01:09 +03:00
Commit Graph

145 Commits

Author SHA1 Message Date
drh
d3d39e939d Add internal support for collating sequences. This breaks 244 tests. (CVS 1420)
FossilOrigin-Name: a6cb09d7af537726acc87b9133f68c81e839e047
2004-05-20 22:16:29 +00:00
drh
465407d9b6 VACUUM works again. (CVS 1412)
FossilOrigin-Name: c4e1d02ffded1421c09b0c8e45954e69f3583297
2004-05-20 02:01:26 +00:00
drh
10c0fa6a75 Additional debugging output from btree.c (CVS 1394)
FossilOrigin-Name: b2def1852c5357629cf69f0071963f9883074a70
2004-05-18 12:50:17 +00:00
danielk1977
bf3b721fab Fix many problems with manifest types and column affinity. Most things are
working now. (CVS 1393)

FossilOrigin-Name: ad4a964158ba9ca9d221cf7ea0439577f3894890
2004-05-18 10:06:24 +00:00
drh
96f5b7672d Fix a bug in the BTree balancing routine. (CVS 1387)
FossilOrigin-Name: 6c73544bfacb891aae8d6124a2903ccff616494b
2004-05-16 16:24:36 +00:00
drh
3add367f2f More speed improvements to btree. (CVS 1384)
FossilOrigin-Name: aab4b794b4238bad5c4a6aee7d4443732921127d
2004-05-15 00:29:24 +00:00
drh
9188b38919 Cache record headers in the OP_Column opcode. (CVS 1382)
FossilOrigin-Name: 8d9eab178f285415775060369f372a88c7091f9f
2004-05-14 21:12:22 +00:00
drh
fa1a98a24e More speed improvements. (CVS 1381)
FossilOrigin-Name: cf75cac9b6bd43e60c6e25042b194ec5c60e5671
2004-05-14 19:08:17 +00:00
drh
6d2fb15475 Optimized varint routines and tests added. (CVS 1380)
FossilOrigin-Name: d4e0933dc72b66157164610e0b03f339bc535fb9
2004-05-14 16:50:06 +00:00
drh
10617cddf6 Performance improvements (CVS 1379)
FossilOrigin-Name: cad47917267d32ab00c8b949151c8bc3c6638479
2004-05-14 15:27:27 +00:00
drh
e6c438166f Table 1 of a database (the sqlite_master table) defaults to use B+trees. (CVS 1378)
FossilOrigin-Name: 45b60de5c7deb83d10ab54759434e32847f0c2ef
2004-05-14 12:17:46 +00:00
drh
b6f4148607 Changes to btree and pager in preparation for moving to run-time page
size determination. (CVS 1374)

FossilOrigin-Name: f63fb6dd4e8e33d4c1983396b1a0305836ee4df7
2004-05-14 01:58:11 +00:00
danielk1977
e7c8d58a1f Changes to make regression tests in rowid.test pass. (CVS 1373)
FossilOrigin-Name: 790226c94493a6d58a7e52fd3ed35ef495fab11e
2004-05-13 13:38:52 +00:00
danielk1977
96fc5fe6a5 Various minor fixes and updates to make more test cases pass. (CVS 1370)
FossilOrigin-Name: dbe8385ecf1df8bf0b1baf5e811ec5a1de5c4c42
2004-05-13 11:34:16 +00:00
drh
6f11bef7d6 Allocate more overflow data onto overflow pages, thus wasting less disk space. (CVS 1367)
FossilOrigin-Name: 1d52a4bb478648ef53a0dbb21865ccb9281dc24a
2004-05-13 01:12:56 +00:00
drh
fc70e6fcec Fix a problem with B+trees. (CVS 1366)
FossilOrigin-Name: 64a75c4cd40f79c7b384bb2972922ff0c10212a4
2004-05-12 21:11:27 +00:00
drh
8b18dd4fb5 Implement a B+tree option (all data stored on leaves). (CVS 1365)
FossilOrigin-Name: b8f70d17f06531269caa0a127efb2d25ad0f3e1c
2004-05-12 19:18:15 +00:00
drh
4a1c380a4b Btree uses signed integers for the rowid. The intToKey() and keyToInt() macros
are now no-ops. (CVS 1364)

FossilOrigin-Name: fb3c80301441f0d255164578601439db3e0c7a61
2004-05-12 15:15:47 +00:00
drh
a3b321df91 Fix an offset problem in the meta values that was causing problems for
many tests. (CVS 1357)

FossilOrigin-Name: 6d378cb7e7e081bb3bcd3a347bc1e02f50ee25cc
2004-05-11 09:31:31 +00:00
danielk1977
49f737d124 Fix a bug in the btree code for reading varints greater than 2^32. (CVS 1349)
FossilOrigin-Name: 7bc4f5543fbfa9f3fe6e9479a1f85fbaf6c95af4
2004-05-11 02:10:06 +00:00
drh
0e1c19e2b6 Updates to sqlite3BtreeKeyFetch() and sqlite3BtreeDataFetch(). (CVS 1347)
FossilOrigin-Name: a675ac49882887dfcbf671e9092a29aca9eb694e
2004-05-11 00:58:56 +00:00
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