drh
bf4bca541e
Allocate page cache headers and page cache data buffers separately.
...
The data buffer will be a power of two in size and this gives some
malloc implementation additional optimization opportunitites. (CVS 4409)
FossilOrigin-Name: 2b755defe51a565a2b6ace58381d6e91f6f17db8
2007-09-06 22:19:14 +00:00
danielk1977
27b1f95f08
Make the auto_vacuum mode peristent in all cases. (CVS 4115)
...
FossilOrigin-Name: 5b0408ddd0f1c825f402d0f5a3088a61b5ecd2c3
2007-06-25 08:16:58 +00:00
drh
5f9c1a2cbd
Test coverage improvements. (CVS 3807)
...
FossilOrigin-Name: 25f49acc5662ed8dd321b83a60aeeab93a37e129
2007-04-04 01:27:44 +00:00
drh
dddb2f23e2
Clean up memory leaks and uninitialized variables detected by valgrind.
...
Identify all tests where we deliberately derefence freed memory by adding
a "-misuse" tag. (CVS 3550)
FossilOrigin-Name: 70a862702d6dfcfe73bdeef8f0502c6c50e32a3a
2007-01-03 23:37:28 +00:00
drh
980b1a7405
Allows UPDATE, INSERT, and DELETEs to occur while a SELECT is pending on
...
the same table. (CVS 3355)
FossilOrigin-Name: 8c52d2ad468615e50a727adab2977a0bef1bc068
2006-08-16 16:42:48 +00:00
drh
05a8298338
Increase test coverage to above 98%. (CVS 3144)
...
FossilOrigin-Name: 8ae6ccc715b081cd422e847cd9e5cc22b04d8512
2006-03-19 13:00:25 +00:00
danielk1977
2812956b18
Test cases to improve coverage of btree.c (and minor bugfixes). (CVS 2190)
...
FossilOrigin-Name: 8ced491588764b1e1066787d0abf3cde8b60970b
2005-01-11 10:25:06 +00:00
danielk1977
7701e817ba
Extra test cases to improve coverage of btree.c (CVS 2189)
...
FossilOrigin-Name: a461988661368bce799ef3d498a18e88559e14c7
2005-01-10 12:59:51 +00:00
danielk1977
45901d622c
Ensure the test suite can run with either SQLITE_OMIT_AUTOVACUUM or SQLITE_DEFAULT_AUTOVACUUM=1 defined. (CVS 2087)
...
FossilOrigin-Name: 0747b55882cf218c03b443e1eadec9eb19889554
2004-11-10 15:27:38 +00:00
danielk1977
e6efa74b9f
Ensure tables cannot be created/dropped when btree cursors are open. (CVS 2085)
...
FossilOrigin-Name: 8e5c2e5df8b824f7efb27e776240f005c6f1f0ff
2004-11-10 11:55:10 +00:00
drh
b45bb9f17d
Fix typos in the names of some regression tests. Ticket #962 . (CVS 2023)
...
FossilOrigin-Name: 77542beb31349b85bdf404c46980da346dde3266
2004-10-18 21:34:46 +00:00
drh
ae15787643
If meta(3)>0 then make the database readonly for now. This allows the current
...
database to interact with future releases that might include autovacuum. (CVS 1888)
FossilOrigin-Name: 7619bf4771781005da23a3e9d7b00de405e27a64
2004-08-14 19:20:09 +00:00
danielk1977
93cd039570
Minor fixes for UTF-16 databases. (CVS 1770)
...
FossilOrigin-Name: 6c5c11e07e157c15cf99078fce2a1bc478e287ce
2004-06-30 02:35:51 +00:00
dougcurrie
d664d9a2bb
fix fulltest error by restoring unset (CVS 1644)
...
FossilOrigin-Name: d2ccac9d01994de09a195d71cb63d1bf9fb0d33f
2004-06-20 03:06:18 +00:00
danielk1977
d09b592f63
Remove the second definition of SQLITE_N_BTREE_META from test3.c. (CVS 1609)
...
FossilOrigin-Name: b1e66ae4640c2cd32d47c043b5c25ea67182098b
2004-06-17 00:01:21 +00:00
drh
a19b775db9
Add 3-byte and 6-byte integer serial types. This makes databases smaller
...
and faster. Should we go ahead and add 5- and 7-byte integer types too? (CVS 1499)
FossilOrigin-Name: e6685af815c4c0c7f09bb097a59a121862b865cf
2004-05-30 21:14:58 +00:00
drh
d8820e80fc
New varint encoding gives a maximum varint length of 9 instead of 10. (CVS 1395)
...
FossilOrigin-Name: 61bdb53a363644074d01682fab8220078523676b
2004-05-18 15:57:42 +00:00
drh
6d2fb15475
Optimized varint routines and tests added. (CVS 1380)
...
FossilOrigin-Name: d4e0933dc72b66157164610e0b03f339bc535fb9
2004-05-14 16:50:06 +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
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
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
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
0e1cfb8574
Detect when the test scripts are being run as root and issue an appropriate
...
error message. (CVS 740)
FossilOrigin-Name: 9ca2c507704f85446d873d5e8429554f2ad4df9e
2002-09-02 12:14:50 +00:00
drh
aaab5725db
Change the name of the sanity_check PRAGMA to "integrity_check" and make
...
it available on all compiles. (CVS 381)
FossilOrigin-Name: c6e9048e66c8d8e2d5f6c62aa724eef3e9d9f572
2002-02-19 13:39:21 +00:00
drh
f5bf0a78be
Fix a bug in DROP TABLE that could cause SQLITE_MASTER table corruption.
...
The root problem was that the sequence of BTree operations (Delete, Next)
would not always leave the cursor pointing at the first entry after the
entry that was deleted. A consequence of this error was that a DROP TABLE
on a table with indices would not always remove every index associated
with that table from the SQLITE_MASTER table. Subsequent attempts to
open the database will fail when the index for the missing table was
parsed. Changes have also been made to ignore extra indices in the
SQLITE_MASTER table so that a database previously corrupted by this bug
is once again readable. (CVS 316)
FossilOrigin-Name: 8a984667113564f2bac7412165b6ff8b7e3e8f70
2001-11-23 00:24:12 +00:00
drh
ecdc7530dd
Fixes to the locking and rollback behavior. (CVS 261)
...
FossilOrigin-Name: 337b3d3b2a903328d9744c111979909a284b8348
2001-09-23 02:35:53 +00:00
drh
b19a2bc603
Disclaimed copyright. Preparing for release 2.0. (CVS 250)
...
FossilOrigin-Name: 4e926efe2b59adfec4086eb1d2ba830238facb4c
2001-09-16 00:13:26 +00:00
drh
5c4d9703d9
Restore btree to the main line. (CVS 237)
...
FossilOrigin-Name: 2e6aff980287825b59d2ebb7005bb08dd601ff1c
2001-08-20 00:33:58 +00:00
drh
87c40e88a0
Add ability to quote table and column names in expression. (CVS 235)
...
FossilOrigin-Name: 029e3a3a5dd8d4923af50bb2c9f31b1b7cd9439e
2001-07-23 14:33:02 +00:00
drh
6019e168a0
BTree and pager are working pretty well now. (CVS 234)
...
FossilOrigin-Name: a84fb078baf96dbfb5983981127dfc905074b7f9
2001-07-02 17:51:45 +00:00
drh
5eddca6cfc
Implemented the sqliteBtreeSanityCheck() test function. (CVS 232)
...
FossilOrigin-Name: 42486880ed31318ef36a8831b959e9115b4fbac6
2001-06-30 21:53:53 +00:00
drh
9ca7d3b15d
More BTree tests and a few bug fixes. (CVS 231)
...
FossilOrigin-Name: 2c9127943cd5a541613924d2df773c4e8df4c1a6
2001-06-28 11:50:21 +00:00
drh
dd79342e87
Got a lot of BTree tests working. Still lots more needed. (CVS 230)
...
FossilOrigin-Name: 9cfeeb5896d2a17c8c7904136d346a6245c9e497
2001-06-28 01:54:48 +00:00
drh
2aa679f604
More tests and bug fixes in btree.c (CVS 229)
...
FossilOrigin-Name: 6b9b298b2846146b95d7df7f423867976bafa390
2001-06-25 02:11:07 +00:00
drh
7c717f750e
The first test file for BTree added. Simple insert and delete tests pass.
...
There is still a lot of work to be done, though. (CVS 228)
FossilOrigin-Name: 85f015c9750a5eab274e82f0e2c6e8f09dc7ca70
2001-06-24 20:39:41 +00:00