]> git.ipfire.org Git - thirdparty/sqlite.git/log
thirdparty/sqlite.git
20 years agoFix a bug involving balance_shallow() and the sqlite_master table. (CVS 2143)
danielk1977 [Tue, 23 Nov 2004 09:06:55 +0000 (09:06 +0000)] 
Fix a bug involving balance_shallow() and the sqlite_master table. (CVS 2143)

FossilOrigin-Name: 557be3ff5b1c46a3f3836ea3a9d9dede5dc46998

20 years agoMore work on the implementation of cursors, but they are still not
drh [Tue, 23 Nov 2004 01:47:30 +0000 (01:47 +0000)] 
More work on the implementation of cursors, but they are still not
functioning. (CVS 2142)

FossilOrigin-Name: 8b61d1ae1ca469b80f2b344d550c3b363448b193

20 years agoAdd initial infrastructure for cursors. In where.c, optimize out clauses
drh [Mon, 22 Nov 2004 19:12:19 +0000 (19:12 +0000)] 
Add initial infrastructure for cursors.  In where.c, optimize out clauses
of the form "ORDER BY rowid" if a table scan is being performed.  Do a
reverse table scan if "ORDER BY rowid DESC" is present. (CVS 2141)

FossilOrigin-Name: fc8c1393c86017a816beb52725b68af3b973f979

20 years agoFix a long-standing bug in btree.c in the sqlite3BtreePrevious() routine.
drh [Mon, 22 Nov 2004 19:07:09 +0000 (19:07 +0000)] 
Fix a long-standing bug in btree.c in the sqlite3BtreePrevious() routine.
The problem has gone unnoticed before now because it only occurs when you
use the OP_Prev opcode on a B+Tree. (CVS 2140)

FossilOrigin-Name: 3d2536c479c943b3a55047898068625f91c872ae

20 years agoFix a couple of extra test-suite problems with SQLITE_OMIT_VIEW. (CVS 2139)
danielk1977 [Mon, 22 Nov 2004 15:05:58 +0000 (15:05 +0000)] 
Fix a couple of extra test-suite problems with SQLITE_OMIT_VIEW. (CVS 2139)

FossilOrigin-Name: 894c142d115b31506b6b8212e1b850ea28c4ca11

20 years agoEnsure tests pass when SQLITE_OMIT_COMPOUND_SELECT is defined. (CVS 2138)
danielk1977 [Mon, 22 Nov 2004 13:35:41 +0000 (13:35 +0000)] 
Ensure tests pass when SQLITE_OMIT_COMPOUND_SELECT is defined. (CVS 2138)

FossilOrigin-Name: 007be591b7829f9ff38e4b14ba5a5043796c2ff3

20 years agoEnsure tests pass when SQLITE_OMIT_TRIGGER is defined. (CVS 2137)
danielk1977 [Mon, 22 Nov 2004 11:51:13 +0000 (11:51 +0000)] 
Ensure tests pass when SQLITE_OMIT_TRIGGER is defined. (CVS 2137)

FossilOrigin-Name: 53894988ac1ad44ec65a1e1c420e2a26eb4c2efd

20 years agoFix a test-suite error made in check-in (2132) (CVS 2136)
danielk1977 [Mon, 22 Nov 2004 10:20:13 +0000 (10:20 +0000)] 
Fix a test-suite error made in check-in (2132) (CVS 2136)

FossilOrigin-Name: 48c7eb7fb9fbc2166aaa7dbdb7c7e92c68f8eff3

20 years agoBack out changes allowing writes to tables that have open cursors. (CVS 2135)
danielk1977 [Mon, 22 Nov 2004 10:02:23 +0000 (10:02 +0000)] 
Back out changes allowing writes to tables that have open cursors. (CVS 2135)

FossilOrigin-Name: ec6b48f4b2abea231b050a8a9d18c2ab12579c8e

20 years agoBack out changes allowing writes to tables that have open cursors. (CVS 2134)
danielk1977 [Mon, 22 Nov 2004 10:02:21 +0000 (10:02 +0000)] 
Back out changes allowing writes to tables that have open cursors. (CVS 2134)

FossilOrigin-Name: af635cab8a1d761c469e35208dda08a29f0964a1

20 years agoBack out changes allowing writes to tables that have open cursors. (CVS 2133)
danielk1977 [Mon, 22 Nov 2004 10:02:10 +0000 (10:02 +0000)] 
Back out changes allowing writes to tables that have open cursors. (CVS 2133)

FossilOrigin-Name: 91acd87e52509a8f78894d0f4b625b54376cac21

20 years agoModify test suite to work when SQLITE_OMIT_VIEW is defined. (CVS 2132)
danielk1977 [Mon, 22 Nov 2004 08:43:32 +0000 (08:43 +0000)] 
Modify test suite to work when SQLITE_OMIT_VIEW is defined. (CVS 2132)

FossilOrigin-Name: 711e8d7695dfc74b3f1ee00591dcdda2cd7fc7d5

20 years agoHave tests pass when SQLITE_OMIT_MEMORYDB is defined. (CVS 2131)
danielk1977 [Mon, 22 Nov 2004 05:26:27 +0000 (05:26 +0000)] 
Have tests pass when SQLITE_OMIT_MEMORYDB is defined. (CVS 2131)

FossilOrigin-Name: 9df837c03939cdcb31856ac17b2425a6dd92d7b2

20 years agoFix auth.test to work when SQLITE_OMIT_ALTERTABLE is defined. (CVS 2130)
danielk1977 [Mon, 22 Nov 2004 03:34:21 +0000 (03:34 +0000)] 
Fix auth.test to work when SQLITE_OMIT_ALTERTABLE is defined. (CVS 2130)

FossilOrigin-Name: 27a8379b54d6a1169b89e540ba44f4f94d006fb7

20 years agoAUTOINCREMENT documentation added. Improvements to lang.html. (CVS 2129)
drh [Sun, 21 Nov 2004 01:02:00 +0000 (01:02 +0000)] 
AUTOINCREMENT documentation added.  Improvements to lang.html. (CVS 2129)

FossilOrigin-Name: ac72a1d5518f7b505ae2a1bd3be3d71db461ae7e

20 years agoFix to the documentation on sqlite3_create_function. Ticket #899. (CVS 2128)
drh [Sat, 20 Nov 2004 21:02:13 +0000 (21:02 +0000)] 
Fix to the documentation on sqlite3_create_function.  Ticket #899. (CVS 2128)

FossilOrigin-Name: 4ab1d012f0f365c46bcabe67eace891eeaa78d70

20 years agoAvoid excess heap usage when copying expressions. Ticket #979. (CVS 2127)
drh [Sat, 20 Nov 2004 20:44:13 +0000 (20:44 +0000)] 
Avoid excess heap usage when copying expressions.  Ticket #979. (CVS 2127)

FossilOrigin-Name: d10560c75244daebe55da5630ef7e7b84ba7f77a

20 years agoCorrect use of usableSize versus pageSize in btree.c. Ticket #1010. (CVS 2125)
drh [Sat, 20 Nov 2004 20:31:11 +0000 (20:31 +0000)] 
Correct use of usableSize versus pageSize in btree.c.  Ticket #1010. (CVS 2125)

FossilOrigin-Name: 5a4013ec9cabb2c933cbf45495f5d1e8b3b20da5

20 years agoBetter error message on an SQLITE_RANGE error. Ticket #991. (CVS 2124)
drh [Sat, 20 Nov 2004 20:18:55 +0000 (20:18 +0000)] 
Better error message on an SQLITE_RANGE error.  Ticket #991. (CVS 2124)

FossilOrigin-Name: accd432e4d9626353e555e63298fb7a56a41e53d

20 years agoRename source file sqlite.1 as sqlite3.1. Ticket #995. (CVS 2123)
drh [Sat, 20 Nov 2004 19:55:18 +0000 (19:55 +0000)] 
Rename source file sqlite.1 as sqlite3.1.  Ticket #995. (CVS 2123)

FossilOrigin-Name: 297559c6d1a8c1172bb0c35cf538f6f2958c7820

20 years agoOmit the maximum loop count on the random name chooser in the VACUUM command.
drh [Sat, 20 Nov 2004 19:18:55 +0000 (19:18 +0000)] 
Omit the maximum loop count on the random name chooser in the VACUUM command.
Add a comment to explain why this is safe and does not result in an
infinite loop.  Ticket #1009. (CVS 2122)

FossilOrigin-Name: 1241086f23a2ef7aef85139817f0c1b90140481d

20 years agoRig the sqliteMalloc() routine so that we can make it fail multiple times
drh [Sat, 20 Nov 2004 19:18:00 +0000 (19:18 +0000)] 
Rig the sqliteMalloc() routine so that we can make it fail multiple times
in a row.  Modify the malloc.test procedure to make malloc fail in this
way and verify that the failures are still handled correctly. (CVS 2121)

FossilOrigin-Name: 519bc9d9975bbdb4ba056799534d5c465e0cd042

20 years agoFix segfaults that might occur after a malloc failure. (CVS 2119)
drh [Sat, 20 Nov 2004 18:13:10 +0000 (18:13 +0000)] 
Fix segfaults that might occur after a malloc failure. (CVS 2119)

FossilOrigin-Name: 368774487e7a0266465f5a1c2701c9b14573d26c

20 years agoDocumentation for REINDEX and ALTER TABLE commands. (CVS 2118)
danielk1977 [Sat, 20 Nov 2004 08:17:18 +0000 (08:17 +0000)] 
Documentation for REINDEX and ALTER TABLE commands. (CVS 2118)

FossilOrigin-Name: aceaa5f6e97c93962f5d6d14de8a490efa619db4

20 years agoAdd a documentation page for compilation options. Still some work to go. (CVS 2117)
danielk1977 [Sat, 20 Nov 2004 06:05:56 +0000 (06:05 +0000)] 
Add a documentation page for compilation options. Still some work to go. (CVS 2117)

FossilOrigin-Name: 5efa2d2a602c3b7249c4e6701e97b16b5ad0280d

20 years agoSplit up the lang.html page into a seperate page for each command. (CVS 2116)
danielk1977 [Fri, 19 Nov 2004 11:59:23 +0000 (11:59 +0000)] 
Split up the lang.html page into a seperate page for each command. (CVS 2116)

FossilOrigin-Name: ea315668e5833befe296fc94c67f914061d2ffb2

20 years agoEnsure ALTER TABLE respects the system table convention - "sqlite_*". (CVS 2115)
danielk1977 [Fri, 19 Nov 2004 08:41:34 +0000 (08:41 +0000)] 
Ensure ALTER TABLE respects the system table convention - "sqlite_*". (CVS 2115)

FossilOrigin-Name: f635b6aae661ac85eec49b197f3bb4b85172a457

20 years agoUpdate the sqlite_sequence table when a table is renamed with ALTER_TABLE. (CVS 2114)
danielk1977 [Fri, 19 Nov 2004 08:02:14 +0000 (08:02 +0000)] 
Update the sqlite_sequence table when a table is renamed with ALTER_TABLE. (CVS 2114)

FossilOrigin-Name: 6e971868808e3c3f77fa521de626f1510ba9644a

20 years agoWhen dropping a table, update the sqlite_sequence table first, as auto-vacuum mode...
danielk1977 [Fri, 19 Nov 2004 07:07:30 +0000 (07:07 +0000)] 
When dropping a table, update the sqlite_sequence table first, as auto-vacuum mode may need to move sqlite_sequence when the btree table is dropped. (CVS 2113)

FossilOrigin-Name: 0514107bff970ab1e5ce96c8b1fa13dcbf75cb71

20 years agoFix bugs in ALTER TABLE related to (a) whitespace in table defn, (b) temp triggers...
danielk1977 [Fri, 19 Nov 2004 05:14:54 +0000 (05:14 +0000)] 
Fix bugs in ALTER TABLE related to (a) whitespace in table defn, (b) temp triggers. (CVS 2112)

FossilOrigin-Name: 1fd8e835a3656799c23f4ef6ea1311fecf5a15cb

20 years agoHandle triggers correctly in ALTER TABLE. (CVS 2111)
danielk1977 [Thu, 18 Nov 2004 15:44:29 +0000 (15:44 +0000)] 
Handle triggers correctly in ALTER TABLE. (CVS 2111)

FossilOrigin-Name: c61b7de107cea76b561d0d6cd90c752b62c5df95

20 years agoSpeed improvement on the LIKE command. (CVS 2110)
drh [Thu, 18 Nov 2004 13:49:25 +0000 (13:49 +0000)] 
Speed improvement on the LIKE command. (CVS 2110)

FossilOrigin-Name: 85d56beb7494ce63e70ab1ffc3797c2ee4c36749

20 years agoFix an obsolete comment that resulted in incorrect documentation.
drh [Thu, 18 Nov 2004 02:10:55 +0000 (02:10 +0000)] 
Fix an obsolete comment that resulted in incorrect documentation.
Ticket #1003. (CVS 2109)

FossilOrigin-Name: c93a9e18d2bf53690f577a901e0defd8a449d56a

20 years agoClarify the documentation of the sqlite3_create_function API.
drh [Thu, 18 Nov 2004 02:04:09 +0000 (02:04 +0000)] 
Clarify the documentation of the sqlite3_create_function API.
Ticket #1004. (CVS 2108)

FossilOrigin-Name: ae45ad863b0854b96da31321c500e3168ef103ad

20 years agoAdd the ESCAPE clause to the LIKE operator. Not fully tested yet. (CVS 2107)
danielk1977 [Wed, 17 Nov 2004 16:41:29 +0000 (16:41 +0000)] 
Add the ESCAPE clause to the LIKE operator. Not fully tested yet. (CVS 2107)

FossilOrigin-Name: 49268c2b7a84c4c618214dac8bef0f541440fe6b

20 years agoExtra tests and resulting bugfixes for btree cursors. (CVS 2106)
danielk1977 [Wed, 17 Nov 2004 10:22:03 +0000 (10:22 +0000)] 
Extra tests and resulting bugfixes for btree cursors. (CVS 2106)

FossilOrigin-Name: e1530854c9004c25f5ffa21f9cfb9c44c83cc7f0

20 years agoClarify the LIMIT clause in the documentation. Ticket #1002. (CVS 2105)
drh [Tue, 16 Nov 2004 23:21:56 +0000 (23:21 +0000)] 
Clarify the LIMIT clause in the documentation.  Ticket #1002. (CVS 2105)

FossilOrigin-Name: e05f52d907e267b4f9ea204427229e7d7ef58641

20 years agoPerform deletes in a single pass. (CVS 2104)
danielk1977 [Tue, 16 Nov 2004 15:50:19 +0000 (15:50 +0000)] 
Perform deletes in a single pass. (CVS 2104)

FossilOrigin-Name: a2e1c35b327e33684ab19e5f65727c42c7b2949c

20 years agoAllow btree cursors to persist through BtreeDelete() calls. (CVS 2103)
danielk1977 [Tue, 16 Nov 2004 04:57:24 +0000 (04:57 +0000)] 
Allow btree cursors to persist through BtreeDelete() calls. (CVS 2103)

FossilOrigin-Name: 6ad5fc8e1a119b750a82fc1426704164a2042d57

20 years agoFix a typo in the header comment to the MakeRecord opcode so that the
drh [Mon, 15 Nov 2004 23:42:27 +0000 (23:42 +0000)] 
Fix a typo in the header comment to the MakeRecord opcode so that the
documentation generator will actually see the opcode description.
Ticket #1001. (CVS 2102)

FossilOrigin-Name: 33c9b647aa70d1a9dab0e999daf853aa71d7df37

20 years agoAdd test cases for escape characters in the GLOB operator. (CVS 2101)
drh [Mon, 15 Nov 2004 01:40:47 +0000 (01:40 +0000)] 
Add test cases for escape characters in the GLOB operator. (CVS 2101)

FossilOrigin-Name: bb2d9ff881e4c6fe0cf60a13609d39426346fa9d

20 years agoThe SQLITE_OMIT_UTF16 macro now removes lots of code and all tests still pass. (CVS...
drh [Sun, 14 Nov 2004 21:56:29 +0000 (21:56 +0000)] 
The SQLITE_OMIT_UTF16 macro now removes lots of code and all tests still pass. (CVS 2100)

FossilOrigin-Name: 98c7a55478f7c465b219edc1a33eee222586fd65

20 years agoChanges toward reducing code size when SQLITE_OMIT_UTF16 is enabled. (CVS 2099)
drh [Sun, 14 Nov 2004 04:04:17 +0000 (04:04 +0000)] 
Changes toward reducing code size when SQLITE_OMIT_UTF16 is enabled. (CVS 2099)

FossilOrigin-Name: 59a0a8b7cebc011731654bd0545cf8d19612ca8e

20 years agoMore compile-time options for removing components. (CVS 2098)
drh [Sat, 13 Nov 2004 15:59:14 +0000 (15:59 +0000)] 
More compile-time options for removing components. (CVS 2098)

FossilOrigin-Name: dcbc0c22cf269e2f67002aa3f1bc0c66aaeff5f1

20 years agoCode toward having btree cursors persist when their table is written too. Doesn't...
danielk1977 [Sat, 13 Nov 2004 13:19:56 +0000 (13:19 +0000)] 
Code toward having btree cursors persist when their table is written too. Doesn't work properly yet. (CVS 2097)

FossilOrigin-Name: 5eaa18d43f2996a9d354bb4fb9c81e267e98be29

20 years agoFix the keyword generator so that it works with SQLITE_OMIT_ALTERTABLE. (CVS 2096)
drh [Sat, 13 Nov 2004 03:59:25 +0000 (03:59 +0000)] 
Fix the keyword generator so that it works with SQLITE_OMIT_ALTERTABLE. (CVS 2096)

FossilOrigin-Name: 60ace9985d4ea2ef0fd245027fab2fffc32014b6

20 years agoAutoincrement is now working and has regression tests. (CVS 2095)
drh [Sat, 13 Nov 2004 03:48:06 +0000 (03:48 +0000)] 
Autoincrement is now working and has regression tests. (CVS 2095)

FossilOrigin-Name: 10c712a21961dbc3bff89c49d5ec3b84b9187c80

20 years agoChange pragmas schema_cookie and user_cookie to schema_version and user_version....
danielk1977 [Fri, 12 Nov 2004 16:11:59 +0000 (16:11 +0000)] 
Change pragmas schema_cookie and user_cookie to schema_version and user_version. (CVS 2094)

FossilOrigin-Name: 5e058318441bb5043c609cc8fba1653995e90efb

20 years agoAdd authorization callbacks to ALTER TABLE. (CVS 2093)
danielk1977 [Fri, 12 Nov 2004 15:53:37 +0000 (15:53 +0000)] 
Add authorization callbacks to ALTER TABLE. (CVS 2093)

FossilOrigin-Name: c4115aa3a1b010704af76c5ae9f6dcbfa4038df8

20 years agoAdd the "ALTER TABLE xxx RENAME TO yyy" command. (CVS 2092)
danielk1977 [Fri, 12 Nov 2004 13:42:30 +0000 (13:42 +0000)] 
Add the "ALTER TABLE xxx RENAME TO yyy" command. (CVS 2092)

FossilOrigin-Name: a1b2cc63e604785bd51e358ff72c485d858752e3

20 years agoAutoincrement code installed. Simple smoke-testing only. No regression
drh [Fri, 12 Nov 2004 03:56:15 +0000 (03:56 +0000)] 
Autoincrement code installed.  Simple smoke-testing only.  No regression
tests developed yet. (CVS 2091)

FossilOrigin-Name: 8fde833c812b91c5a574208a70b5f92b9d4b0a87

20 years agoWebsite updates. (CVS 2090)
drh [Thu, 11 Nov 2004 19:32:40 +0000 (19:32 +0000)] 
Website updates. (CVS 2090)

FossilOrigin-Name: 60fb0cef093b9827ac2d36b8a94e37f4b79dd2ea

20 years agoAdd the schema_cookie and user_cookie pragmas. (CVS 2089)
danielk1977 [Thu, 11 Nov 2004 05:10:43 +0000 (05:10 +0000)] 
Add the schema_cookie and user_cookie pragmas. (CVS 2089)

FossilOrigin-Name: d28d1d68e5104726e6088361dfa7bf2cdd9985c7

20 years agoAdd documentation for DEFAULT CURRENT_TIME & co. (CVS 2088)
danielk1977 [Thu, 11 Nov 2004 01:50:30 +0000 (01:50 +0000)] 
Add documentation for DEFAULT CURRENT_TIME & co. (CVS 2088)

FossilOrigin-Name: c85f13f8f252faf423f12a3804f1fe2f950da660

20 years agoEnsure the test suite can run with either SQLITE_OMIT_AUTOVACUUM or SQLITE_DEFAULT_AU...
danielk1977 [Wed, 10 Nov 2004 15:27:38 +0000 (15:27 +0000)] 
Ensure the test suite can run with either SQLITE_OMIT_AUTOVACUUM or SQLITE_DEFAULT_AUTOVACUUM=1 defined. (CVS 2087)

FossilOrigin-Name: 0747b55882cf218c03b443e1eadec9eb19889554

20 years agoFix expr.test so that it works when the date-time functions are compiled out of the...
danielk1977 [Wed, 10 Nov 2004 12:34:20 +0000 (12:34 +0000)] 
Fix expr.test so that it works when the date-time functions are compiled out of the library. (CVS 2086)

FossilOrigin-Name: 540ce7de1b3f1882c40d4e20d3986775e1dcf77a

20 years agoEnsure tables cannot be created/dropped when btree cursors are open. (CVS 2085)
danielk1977 [Wed, 10 Nov 2004 11:55:10 +0000 (11:55 +0000)] 
Ensure tables cannot be created/dropped when btree cursors are open. (CVS 2085)

FossilOrigin-Name: 8e5c2e5df8b824f7efb27e776240f005c6f1f0ff

20 years agoAdd user documentation for the "pragma auto_vacuum" command. (CVS 2084)
danielk1977 [Wed, 10 Nov 2004 05:48:57 +0000 (05:48 +0000)] 
Add user documentation for the "pragma auto_vacuum" command. (CVS 2084)

FossilOrigin-Name: fe200eaf373998574cc059086bfc93d6c44ec5a3

20 years agoHave "DEFAULT CURRENT_TIME" & co. work even if SQLITE_OMIT_DATETIME_FUNCS is defined...
danielk1977 [Tue, 9 Nov 2004 16:13:33 +0000 (16:13 +0000)] 
Have "DEFAULT CURRENT_TIME" & co. work even if SQLITE_OMIT_DATETIME_FUNCS is defined. (CVS 2083)

FossilOrigin-Name: f81b9c1c022772378aad32ec45d0027beeb36574

20 years agoPort the "DEFAULT CURRENT_TIME" etc. functionality from an earlier fork of sqlite...
danielk1977 [Tue, 9 Nov 2004 12:44:37 +0000 (12:44 +0000)] 
Port the "DEFAULT CURRENT_TIME" etc. functionality from an earlier fork of sqlite. (CVS 2082)

FossilOrigin-Name: 0d27c8ff48f327ad82dd5b5b3b47b8d221f119b7

20 years agoRefactor the space-analysis script for readability. (CVS 2081)
danielk1977 [Tue, 9 Nov 2004 07:42:11 +0000 (07:42 +0000)] 
Refactor the space-analysis script for readability. (CVS 2081)

FossilOrigin-Name: 63f2ee22e20ed7e520fd9230acc5c6db43b69d13

20 years agoUpdate the space-analyzer tool to support auto-vacuum databases. (CVS 2080)
danielk1977 [Mon, 8 Nov 2004 16:15:09 +0000 (16:15 +0000)] 
Update the space-analyzer tool to support auto-vacuum databases. (CVS 2080)

FossilOrigin-Name: 1cb8086612c7dec170da0910cf0cbe4e48c417f8

20 years agoA few more auto-vacuum tests. (CVS 2079)
danielk1977 [Mon, 8 Nov 2004 12:32:50 +0000 (12:32 +0000)] 
A few more auto-vacuum tests. (CVS 2079)

FossilOrigin-Name: 9d4a60bbd67704ff3a9503678db94498dc700ccc

20 years agoCheck in the file autovacuum_crash.test that should be part of the previous check...
danielk1977 [Mon, 8 Nov 2004 09:51:09 +0000 (09:51 +0000)] 
Check in the file autovacuum_crash.test that should be part of the previous check-in. (CVS 2078)

FossilOrigin-Name: 9d7cd1f732ba6f9d69fc30100a4608b74f212b76

20 years agoTest auto-vacuum mode for crash-proofness. Also fix a bug related to the same. (CVS...
danielk1977 [Mon, 8 Nov 2004 09:26:09 +0000 (09:26 +0000)] 
Test auto-vacuum mode for crash-proofness. Also fix a bug related to the same. (CVS 2077)

FossilOrigin-Name: 839ad771a6e781426c0fd624a4d1c91a5fcf8546

20 years agoAuto-vacuum: Account for the page reserved for windows locking (PENDING_BYTE). (CVS...
danielk1977 [Mon, 8 Nov 2004 07:13:13 +0000 (07:13 +0000)] 
Auto-vacuum: Account for the page reserved for windows locking (PENDING_BYTE). (CVS 2076)

FossilOrigin-Name: d6335698696c7b651bbc436c5177d87eb57a8934

20 years agoReindex tests added and bugs fixed. (CVS 2075)
drh [Sun, 7 Nov 2004 13:01:49 +0000 (13:01 +0000)] 
Reindex tests added and bugs fixed. (CVS 2075)

FossilOrigin-Name: ad433ec2b6bd34e33dfe119668f38fbb978e889d

20 years agoAuto-vacuum: Ensure pages to be removed by database truncation are in the journal...
danielk1977 [Sat, 6 Nov 2004 12:26:07 +0000 (12:26 +0000)] 
Auto-vacuum: Ensure pages to be removed by database truncation are in the journal file. Also fix an sqlite3pager_movepage() bug. (CVS 2074)

FossilOrigin-Name: 081676e491760a45325e2349b177d6382faab9f5

20 years agoCompile and pass the quick regression tests with autovacuum disabled. (CVS 2073)
drh [Sat, 6 Nov 2004 00:02:48 +0000 (00:02 +0000)] 
Compile and pass the quick regression tests with autovacuum disabled. (CVS 2073)

FossilOrigin-Name: 89b9026a5371f1c5589f04e3b69171ec1f605b7b

20 years agoFirst cut at a REINDEX command. Basic testing only. No documentation. (CVS 2072)
drh [Fri, 5 Nov 2004 23:46:15 +0000 (23:46 +0000)] 
First cut at a REINDEX command.  Basic testing only.  No documentation. (CVS 2072)

FossilOrigin-Name: 11dba47e61279bdf3be6f64a6259b877f3bf6155

20 years agoUse sqlite3NestedParse to implement DROP INDEX. (CVS 2071)
drh [Fri, 5 Nov 2004 22:18:49 +0000 (22:18 +0000)] 
Use sqlite3NestedParse to implement DROP INDEX. (CVS 2071)

FossilOrigin-Name: 0f81aa5b057eab908b46b70ea9e9a42bc2ee8c21

20 years agoUse sqlite3NestedParse to implement CREATE INDEX. (CVS 2070)
drh [Fri, 5 Nov 2004 20:58:39 +0000 (20:58 +0000)] 
Use sqlite3NestedParse to implement CREATE INDEX. (CVS 2070)

FossilOrigin-Name: 47d8ebdaaddcb7a05e1917dd1dee2029c34228a4

20 years agoCreate table now works with sqlite3NestedParse. This changed uncovered
drh [Fri, 5 Nov 2004 17:17:50 +0000 (17:17 +0000)] 
Create table now works with sqlite3NestedParse.  This changed uncovered
a latent bug in xprintf which is also fixed. (CVS 2069)

FossilOrigin-Name: b0506bdd701339d63166ada065445776dd499588

20 years agoDo not truncate a database file until after fsync() has been called on the journal...
danielk1977 [Fri, 5 Nov 2004 16:37:02 +0000 (16:37 +0000)] 
Do not truncate a database file until after fsync() has been called on the journal. (CVS 2068)

FossilOrigin-Name: cfee7f4a004c5e57d58edcf9de3ded0a199940a3

20 years agoMake auto-vacuum a run-time option (default determined by SQLITE_DEFAULT_AUTOVACUUM...
danielk1977 [Fri, 5 Nov 2004 15:45:09 +0000 (15:45 +0000)] 
Make auto-vacuum a run-time option (default determined by SQLITE_DEFAULT_AUTOVACUUM macro). (CVS 2067)

FossilOrigin-Name: b9d5f007fc32d4f471e0e11cc4baadb100612878

20 years agoAuto-vacuum bug: Don't set meta(3) to a pointer-map page number when deleting a table...
danielk1977 [Fri, 5 Nov 2004 12:58:25 +0000 (12:58 +0000)] 
Auto-vacuum bug: Don't set meta(3) to a pointer-map page number when deleting a table. (CVS 2066)

FossilOrigin-Name: 44a015b3a3bbecc4ec1e02bb371d3274e2b6edf3

20 years agoFix allocation of tables in an auto-vacuum database when the required root-page is...
danielk1977 [Fri, 5 Nov 2004 12:27:02 +0000 (12:27 +0000)] 
Fix allocation of tables in an auto-vacuum database when the required root-page is on the free-list. (CVS 2065)

FossilOrigin-Name: 4e2433378e06210f0274c317c6d12b48236211fe

20 years agoDon't code an OP_Statement within sqlite3NestedParse(). Also a correction
danielk1977 [Fri, 5 Nov 2004 09:19:27 +0000 (09:19 +0000)] 
Don't code an OP_Statement within sqlite3NestedParse(). Also a correction
to the UPDATE statement used within destroyRootPage(). (CVS 2064)

FossilOrigin-Name: fdcc31f0c6106dacfed6612b173fe4be3c02546a

20 years agoWhen using sqlite3NestedParse() to modify the sqlite_master table, do not code OP_Cal...
danielk1977 [Fri, 5 Nov 2004 06:02:06 +0000 (06:02 +0000)] 
When using sqlite3NestedParse() to modify the sqlite_master table, do not code OP_Callback. (CVS 2063)

FossilOrigin-Name: 296a298c484aac981e7e490a0cb4159717fc4ea4

20 years agoAnother bug fix from two check-ins ago. (CVS 2062)
drh [Fri, 5 Nov 2004 05:23:59 +0000 (05:23 +0000)] 
Another bug fix from two check-ins ago. (CVS 2062)

FossilOrigin-Name: c46eef2f6d32b8546e1441e7e6f103e6ad97f1f4

20 years agoFix a bug in the previous check-in. (CVS 2061)
drh [Fri, 5 Nov 2004 05:20:40 +0000 (05:20 +0000)] 
Fix a bug in the previous check-in. (CVS 2061)

FossilOrigin-Name: 9d259d48defda57ab0bd66460bd2ba7f3a2695e9

20 years agoMore use of sqlite3NestedParse. This version of the code does not work. (CVS 2060)
drh [Fri, 5 Nov 2004 05:10:28 +0000 (05:10 +0000)] 
More use of sqlite3NestedParse.  This version of the code does not work. (CVS 2060)

FossilOrigin-Name: ac2d5a605c873cac68bfde4bbe3797608a47b21e

20 years agoBegin using sqlite3NestedParse() to generate sections of code. (CVS 2059)
drh [Fri, 5 Nov 2004 03:56:00 +0000 (03:56 +0000)] 
Begin using sqlite3NestedParse() to generate sections of code. (CVS 2059)

FossilOrigin-Name: 2d302931a69d1add1dae9f820133872b4fefe93e

20 years agoFix bug introduced with (2057). (CVS 2058)
danielk1977 [Fri, 5 Nov 2004 01:45:13 +0000 (01:45 +0000)] 
Fix bug introduced with (2057). (CVS 2058)

FossilOrigin-Name: aed2e623ec9c4044696dc2d6f7f4c53216b45479

20 years agoPop the value pushed by OP_Destroy if SQLITE_OMIT_AUTOVACUUM is defined. (CVS 2057)
danielk1977 [Fri, 5 Nov 2004 01:24:12 +0000 (01:24 +0000)] 
Pop the value pushed by OP_Destroy if SQLITE_OMIT_AUTOVACUUM is defined. (CVS 2057)

FossilOrigin-Name: b0c103340ad27533d3e5b2f1b18557fd9c8b55df

20 years agoIncremental check-in of changes that will ultimately lead to a
drh [Fri, 5 Nov 2004 00:43:11 +0000 (00:43 +0000)] 
Incremental check-in of changes that will ultimately lead to a
working autoincrement. (CVS 2056)

FossilOrigin-Name: 10c3d88305e404b9e4cc4eef0b8e5dc7864a5937

20 years agoAll tests pass when SQLITE_OMIT_INTEGRITY_CHECK is defined. (CVS 2055)
drh [Thu, 4 Nov 2004 14:47:11 +0000 (14:47 +0000)] 
All tests pass when SQLITE_OMIT_INTEGRITY_CHECK is defined. (CVS 2055)

FossilOrigin-Name: 158a2d16a8630e3b5892120f6ea68f2b0dc47eb3

20 years agoSupport root-page allocation/deallocation in auto-vacuum databases. Still a few probl...
danielk1977 [Thu, 4 Nov 2004 14:30:04 +0000 (14:30 +0000)] 
Support root-page allocation/deallocation in auto-vacuum databases. Still a few problems. (CVS 2054)

FossilOrigin-Name: 1da361fae82d420be63c53f8e3efaccac24f348a

20 years agoAll tests pass even if OMIT_TRIGGER is defined. (CVS 2053)
drh [Thu, 4 Nov 2004 04:42:28 +0000 (04:42 +0000)] 
All tests pass even if OMIT_TRIGGER is defined. (CVS 2053)

FossilOrigin-Name: c33b3a613751057e8a46fdcd428b8448329d414d

20 years agoFix a #ifdef in util.c. Ticket #984. (CVS 2052)
drh [Thu, 4 Nov 2004 04:34:14 +0000 (04:34 +0000)] 
Fix a #ifdef in util.c.  Ticket #984. (CVS 2052)

FossilOrigin-Name: da045bd183335a112f9a6c805c12efe12d0a25ca

20 years agoAdd support for table allocation (not deallocation) in auto-vacuum databases. (CVS...
danielk1977 [Thu, 4 Nov 2004 02:57:33 +0000 (02:57 +0000)] 
Add support for table allocation (not deallocation) in auto-vacuum databases. (CVS 2051)

FossilOrigin-Name: 571de52376f52999268ba5e0cd05c6c6eff1ebbf

20 years agoUpdate tests to work even if some features of the library are disabled. (CVS 2050)
drh [Wed, 3 Nov 2004 16:27:01 +0000 (16:27 +0000)] 
Update tests to work even if some features of the library are disabled. (CVS 2050)

FossilOrigin-Name: b11fc9b3f3a2711f98e7e45724aa1d30081197f3

20 years agoMore work on optionally removing unused features at compile-time. (CVS 2049)
drh [Wed, 3 Nov 2004 13:59:04 +0000 (13:59 +0000)] 
More work on optionally removing unused features at compile-time. (CVS 2049)

FossilOrigin-Name: a82980fd70285820c64b42393ef85a9e21addc5d

20 years agoAuto-vacuum bug: Deallocate pointer-map pages when shrinking a database file. (CVS...
danielk1977 [Wed, 3 Nov 2004 11:37:07 +0000 (11:37 +0000)] 
Auto-vacuum bug: Deallocate pointer-map pages when shrinking a database file. (CVS 2048)

FossilOrigin-Name: bec6a65acaa8bfd8fe2cb475ba2e992a1993e4e7

20 years agoComment the autovacuum.test script. No code or test-case changes. (CVS 2047)
danielk1977 [Wed, 3 Nov 2004 09:30:54 +0000 (09:30 +0000)] 
Comment the autovacuum.test script. No code or test-case changes. (CVS 2047)

FossilOrigin-Name: 2eacd38620f7270467b16e9e2f350aa0b4869a10

20 years agoAuto-vacuum bug: Correctly manipulate page cache hash-table entries in sqlite3pager_m...
danielk1977 [Wed, 3 Nov 2004 08:44:05 +0000 (08:44 +0000)] 
Auto-vacuum bug: Correctly manipulate page cache hash-table entries in sqlite3pager_movepage(). (CVS 2046)

FossilOrigin-Name: 719c1b79671c8cd7c5a6b5967ad4265b65e433d3

20 years agoThe makefile now runs mkkeywordhash.c. Keywords that are unused are
drh [Wed, 3 Nov 2004 03:59:57 +0000 (03:59 +0000)] 
The makefile now runs mkkeywordhash.c.  Keywords that are unused are
omitted from the keyword hash table. (CVS 2045)

FossilOrigin-Name: 007aec11333432e08d1091b728773011e9078bc3

20 years agoAuto-vacuum bugfix: Do not attempt to move a pointer-map page during auto-vacuum...
danielk1977 [Wed, 3 Nov 2004 03:52:37 +0000 (03:52 +0000)] 
Auto-vacuum bugfix: Do not attempt to move a pointer-map page during auto-vacuum. (CVS 2044)

FossilOrigin-Name: bd50fbb5fecd1829c87e8ca72c458c71f590274b

20 years agoFix an auto-vacuum bug that occurs when a btree cell is promoted to the parent page...
danielk1977 [Wed, 3 Nov 2004 03:01:16 +0000 (03:01 +0000)] 
Fix an auto-vacuum bug that occurs when a btree cell is promoted to the parent page during a delete. (CVS 2043)

FossilOrigin-Name: b7d953e1195897de4869ec241a65e8a3d1320efb

20 years agoFix a problem in the pragma.test script. (CVS 2041)
drh [Tue, 2 Nov 2004 18:15:49 +0000 (18:15 +0000)] 
Fix a problem in the pragma.test script. (CVS 2041)

FossilOrigin-Name: a2c9c45c803350f45911a72eb61efa9c3089f8ca