]> git.ipfire.org Git - thirdparty/sqlite.git/log
thirdparty/sqlite.git
21 years agoMore speed improvements. (CVS 1381)
drh [Fri, 14 May 2004 19:08:17 +0000 (19:08 +0000)] 
More speed improvements. (CVS 1381)

FossilOrigin-Name: cf75cac9b6bd43e60c6e25042b194ec5c60e5671

21 years agoOptimized varint routines and tests added. (CVS 1380)
drh [Fri, 14 May 2004 16:50:06 +0000 (16:50 +0000)] 
Optimized varint routines and tests added. (CVS 1380)

FossilOrigin-Name: d4e0933dc72b66157164610e0b03f339bc535fb9

21 years agoPerformance improvements (CVS 1379)
drh [Fri, 14 May 2004 15:27:27 +0000 (15:27 +0000)] 
Performance improvements (CVS 1379)

FossilOrigin-Name: cad47917267d32ab00c8b949151c8bc3c6638479

21 years agoTable 1 of a database (the sqlite_master table) defaults to use B+trees. (CVS 1378)
drh [Fri, 14 May 2004 12:17:46 +0000 (12:17 +0000)] 
Table 1 of a database (the sqlite_master table) defaults to use B+trees. (CVS 1378)

FossilOrigin-Name: 45b60de5c7deb83d10ab54759434e32847f0c2ef

21 years agoUse B+trees for tables (CVS 1377)
danielk1977 [Fri, 14 May 2004 12:16:11 +0000 (12:16 +0000)] 
Use B+trees for tables (CVS 1377)

FossilOrigin-Name: c6604a94d25d148fbb42b47ae9a8195e4697c681

21 years agoDelete some code no longer in use (CVS 1376)
danielk1977 [Fri, 14 May 2004 11:16:56 +0000 (11:16 +0000)] 
Delete some code no longer in use (CVS 1376)

FossilOrigin-Name: f24aedc2b0c401d8b714ba39b604d7caa7f6a430

21 years agoImplement type affinity for table and index records (CVS 1375)
danielk1977 [Fri, 14 May 2004 11:00:53 +0000 (11:00 +0000)] 
Implement type affinity for table and index records (CVS 1375)

FossilOrigin-Name: dbfe6e93166d9557d66cab9dca7977baa3501e5e

21 years agoChanges to btree and pager in preparation for moving to run-time page
drh [Fri, 14 May 2004 01:58:11 +0000 (01:58 +0000)] 
Changes to btree and pager in preparation for moving to run-time page
size determination. (CVS 1374)

FossilOrigin-Name: f63fb6dd4e8e33d4c1983396b1a0305836ee4df7

21 years agoChanges to make regression tests in rowid.test pass. (CVS 1373)
danielk1977 [Thu, 13 May 2004 13:38:52 +0000 (13:38 +0000)] 
Changes to make regression tests in rowid.test pass. (CVS 1373)

FossilOrigin-Name: 790226c94493a6d58a7e52fd3ed35ef495fab11e

21 years agoChange the OP_ListXX opcodes to use 64 bit integers (CVS 1372)
danielk1977 [Thu, 13 May 2004 12:32:11 +0000 (12:32 +0000)] 
Change the OP_ListXX opcodes to use 64 bit integers (CVS 1372)

FossilOrigin-Name: da9b3dce334bde99360db45b4a3d41be519ec2d1

21 years agoUpdate quick.test (CVS 1371)
danielk1977 [Thu, 13 May 2004 11:46:00 +0000 (11:46 +0000)] 
Update quick.test (CVS 1371)

FossilOrigin-Name: a61eefa081c219704d9e6c4ee20ef9bf01d76b7f

21 years agoVarious minor fixes and updates to make more test cases pass. (CVS 1370)
danielk1977 [Thu, 13 May 2004 11:34:16 +0000 (11:34 +0000)] 
Various minor fixes and updates to make more test cases pass. (CVS 1370)

FossilOrigin-Name: dbe8385ecf1df8bf0b1baf5e811ec5a1de5c4c42

21 years agoCommit vdbeaux.c, which should of gone in with the previous commit. (CVS 1369)
danielk1977 [Thu, 13 May 2004 05:20:26 +0000 (05:20 +0000)] 
Commit vdbeaux.c, which should of gone in with the previous commit. (CVS 1369)

FossilOrigin-Name: 5378a6404058f5e9d3e91269ab27afef9874b43a

21 years agoManifest types in indices. At the moment indices use manifest typing, but
danielk1977 [Thu, 13 May 2004 05:16:15 +0000 (05:16 +0000)] 
Manifest types in indices. At the moment indices use manifest typing, but
some other parts of the SQL engine do not, which can lead to some strange
results. (CVS 1368)

FossilOrigin-Name: 9f2b6d9d3a07e25fcdb7e8290da7a182a65c37b2

21 years agoAllocate more overflow data onto overflow pages, thus wasting less disk space. (CVS...
drh [Thu, 13 May 2004 01:12:56 +0000 (01:12 +0000)] 
Allocate more overflow data onto overflow pages, thus wasting less disk space. (CVS 1367)

FossilOrigin-Name: 1d52a4bb478648ef53a0dbb21865ccb9281dc24a

21 years agoFix a problem with B+trees. (CVS 1366)
drh [Wed, 12 May 2004 21:11:27 +0000 (21:11 +0000)] 
Fix a problem with B+trees. (CVS 1366)

FossilOrigin-Name: 64a75c4cd40f79c7b384bb2972922ff0c10212a4

21 years agoImplement a B+tree option (all data stored on leaves). (CVS 1365)
drh [Wed, 12 May 2004 19:18:15 +0000 (19:18 +0000)] 
Implement a B+tree option (all data stored on leaves). (CVS 1365)

FossilOrigin-Name: b8f70d17f06531269caa0a127efb2d25ad0f3e1c

21 years agoBtree uses signed integers for the rowid. The intToKey() and keyToInt() macros
drh [Wed, 12 May 2004 15:15:47 +0000 (15:15 +0000)] 
Btree uses signed integers for the rowid.  The intToKey() and keyToInt() macros
are now no-ops. (CVS 1364)

FossilOrigin-Name: fb3c80301441f0d255164578601439db3e0c7a61

21 years agoThe pager now handles file ":memory:" complete in memory with no disk I/O. (CVS 1363)
drh [Wed, 12 May 2004 13:30:07 +0000 (13:30 +0000)] 
The pager now handles file ":memory:" complete in memory with no disk I/O. (CVS 1363)

FossilOrigin-Name: 97de9f7ceebab859ef984d155808575ad321afc0

21 years agoAdd some more code to support manifest typing in indices. Not activated yet. (CVS...
danielk1977 [Wed, 12 May 2004 11:24:02 +0000 (11:24 +0000)] 
Add some more code to support manifest typing in indices. Not activated yet. (CVS 1362)

FossilOrigin-Name: 2f16c9ef3c101c4280991ce3cb0c3bea7b6ed439

21 years agoChange the table record format to support manifest typing. (CVS 1361)
danielk1977 [Wed, 12 May 2004 07:33:33 +0000 (07:33 +0000)] 
Change the table record format to support manifest typing. (CVS 1361)

FossilOrigin-Name: 0242c9e4f7c85e9c911cf30d90b0cdb1015f3d7d

21 years agoChange sqlite_ to sqlite3_ in the attach2.test test script. (CVS 1360)
drh [Tue, 11 May 2004 10:04:48 +0000 (10:04 +0000)] 
Change sqlite_ to sqlite3_ in the attach2.test test script. (CVS 1360)

FossilOrigin-Name: 98f756e6a0809e7034bfb587ff9d9085baac0c6e

21 years agoA different fix for the problem with opening existing files. See also
drh [Tue, 11 May 2004 09:57:35 +0000 (09:57 +0000)] 
A different fix for the problem with opening existing files.  See also
check-in (1358). (CVS 1359)

FossilOrigin-Name: 93deaf54c6e1daee0c89a5e2a7d4a5e712ece3f4

21 years agoFix a bug that was preventing the library from opening existing files. (CVS 1358)
danielk1977 [Tue, 11 May 2004 09:50:02 +0000 (09:50 +0000)] 
Fix a bug that was preventing the library from opening existing files. (CVS 1358)

FossilOrigin-Name: ad064bd429602fcac26b377841da90a1a56f5966

21 years agoFix an offset problem in the meta values that was causing problems for
drh [Tue, 11 May 2004 09:31:31 +0000 (09:31 +0000)] 
Fix an offset problem in the meta values that was causing problems for
many tests. (CVS 1357)

FossilOrigin-Name: 6d378cb7e7e081bb3bcd3a347bc1e02f50ee25cc

21 years agoRemove the unused upgrade_3_schema subroutine from main.c. (CVS 1356)
drh [Tue, 11 May 2004 09:05:48 +0000 (09:05 +0000)] 
Remove the unused upgrade_3_schema subroutine from main.c. (CVS 1356)

FossilOrigin-Name: b5d2771ee0e9c77967b4a64a97dcd56c067bc7b8

21 years agoMore small changes to get test cases to execute. (CVS 1355)
danielk1977 [Tue, 11 May 2004 08:48:10 +0000 (08:48 +0000)] 
More small changes to get test cases to execute. (CVS 1355)

FossilOrigin-Name: 6dc6004684a97fbdba2f2dce94086dc2c4967a42

21 years agoRemove code dealing with old file formats. (CVS 1354)
danielk1977 [Tue, 11 May 2004 07:11:51 +0000 (07:11 +0000)] 
Remove code dealing with old file formats. (CVS 1354)

FossilOrigin-Name: dfde112116b982017a5516590ff1780e8aa519ce

21 years agoMore minor changes to accomadate the new btree. All the select* tests
danielk1977 [Tue, 11 May 2004 06:55:14 +0000 (06:55 +0000)] 
More minor changes to accomadate the new btree. All the select* tests
pass now. (CVS 1353)

FossilOrigin-Name: 941d0fdc97ad0a2ba0e823ce40022bdef857aa6e

21 years agoMinor changes to the vdbe so that more tests pass. (CVS 1352)
danielk1977 [Tue, 11 May 2004 06:17:21 +0000 (06:17 +0000)] 
Minor changes to the vdbe so that more tests pass. (CVS 1352)

FossilOrigin-Name: 16078fe0ea146537f75b869e6b0cce202af6781b

21 years agoFix up a couple of little things in the vdbe. select1.test passes now. (CVS 1351)
danielk1977 [Tue, 11 May 2004 04:54:49 +0000 (04:54 +0000)] 
Fix up a couple of little things in the vdbe. select1.test passes now. (CVS 1351)

FossilOrigin-Name: 9ba0df4d7792dccb67782113751c0e5807348d62

21 years agoInternal symbols MEM_Dyn and MEM_AggCtx were defined as the same bit pattern.
danielk1977 [Tue, 11 May 2004 03:11:22 +0000 (03:11 +0000)] 
Internal symbols MEM_Dyn and MEM_AggCtx were defined as the same bit pattern.
Change MEM_AggCtx to 0x1000. (CVS 1350)

FossilOrigin-Name: 2fffd133a5e0058f02c20c498875093261e9ee19

21 years agoFix a bug in the btree code for reading varints greater than 2^32. (CVS 1349)
danielk1977 [Tue, 11 May 2004 02:10:06 +0000 (02:10 +0000)] 
Fix a bug in the btree code for reading varints greater than 2^32. (CVS 1349)

FossilOrigin-Name: 7bc4f5543fbfa9f3fe6e9479a1f85fbaf6c95af4

21 years agoUpdate the main.mk makefile so that it builds everything again. (CVS 1348)
drh [Tue, 11 May 2004 01:18:24 +0000 (01:18 +0000)] 
Update the main.mk makefile so that it builds everything again. (CVS 1348)

FossilOrigin-Name: e6e52fc2e62835712d6b92a19fdbd2ba15b2e9cd

21 years agoUpdates to sqlite3BtreeKeyFetch() and sqlite3BtreeDataFetch(). (CVS 1347)
drh [Tue, 11 May 2004 00:58:56 +0000 (00:58 +0000)] 
Updates to sqlite3BtreeKeyFetch() and sqlite3BtreeDataFetch(). (CVS 1347)

FossilOrigin-Name: a675ac49882887dfcbf671e9092a29aca9eb694e

21 years agoChange to OP_PutIntKey to use new btree API. (CVS 1346)
danielk1977 [Tue, 11 May 2004 00:28:42 +0000 (00:28 +0000)] 
Change to OP_PutIntKey to use new btree API. (CVS 1346)

FossilOrigin-Name: c080fed7b58e754bb34afe597ff3b2f399c7d313

21 years agoWork toward getting the new btree.c integrated with vdbe.c. (CVS 1345)
drh [Mon, 10 May 2004 23:29:49 +0000 (23:29 +0000)] 
Work toward getting the new btree.c integrated with vdbe.c. (CVS 1345)

FossilOrigin-Name: bc5a2dafa1df74ba6403b4751ac1c33b0fee2884

21 years agoThe btree.c module passes all tests and is ready for integration.
drh [Mon, 10 May 2004 18:45:09 +0000 (18:45 +0000)] 
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

21 years agoThe btree.c module now passes all the historical regression tests. New tests
drh [Mon, 10 May 2004 16:18:47 +0000 (16:18 +0000)] 
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

21 years agoAdd flags values to the Mem structure to accomodate BLOBs and to show
drh [Mon, 10 May 2004 12:07:10 +0000 (12:07 +0000)] 
Add flags values to the Mem structure to accomodate BLOBs and to show
the representation of strings. (CVS 1341)

FossilOrigin-Name: 3af283f483f75795d5b03dc8fd886aaf326d50b7

21 years agoChange the names of external symbols from sqlite_XXX to sqlite3_XXX. (CVS 1340)
danielk1977 [Mon, 10 May 2004 10:37:18 +0000 (10:37 +0000)] 
Change the names of external symbols from sqlite_XXX to sqlite3_XXX. (CVS 1340)

FossilOrigin-Name: ac46bd686d2211813d254af578fe4e211162bc4b

21 years agoChange the names of external symbols from sqlite_XXX to sqlite3_XXX. (CVS 1339)
danielk1977 [Mon, 10 May 2004 10:37:18 +0000 (10:37 +0000)] 
Change the names of external symbols from sqlite_XXX to sqlite3_XXX. (CVS 1339)

FossilOrigin-Name: 19b100ec0d088b2cca147c967a80d18403b7ee86

21 years agoChange the names of external symbols from sqlite_XXX to sqlite3_XXX. (CVS 1338)
danielk1977 [Mon, 10 May 2004 10:34:51 +0000 (10:34 +0000)] 
Change the names of external symbols from sqlite_XXX to sqlite3_XXX. (CVS 1338)

FossilOrigin-Name: 2242423e31a5e81e89ffcc99e62307c5cc0120d5

21 years agoChange the names of external symbols from sqlite_XXX to sqlite3_XXX. (CVS 1337)
danielk1977 [Mon, 10 May 2004 10:34:34 +0000 (10:34 +0000)] 
Change the names of external symbols from sqlite_XXX to sqlite3_XXX. (CVS 1337)

FossilOrigin-Name: ba2ba24263a9e4d1b65b441295504a5da6380f33

21 years agoAdd some functions to serialize and deserialize vdbe values (used
danielk1977 [Mon, 10 May 2004 10:05:53 +0000 (10:05 +0000)] 
Add some functions to serialize and deserialize vdbe values (used
by manifest typing). (CVS 1336)

FossilOrigin-Name: 05434497ba5d9971d23144eb4b9d709c233f6546

21 years agoAdd versions of OP_MakeRecord and OP_Column that use manifest typing (not
danielk1977 [Mon, 10 May 2004 07:17:31 +0000 (07:17 +0000)] 
Add versions of OP_MakeRecord and OP_Column that use manifest typing (not
activated yet). (CVS 1335)

FossilOrigin-Name: 9ea8e8ab23d46adb2970ccf62340703ec42345fa

21 years agoAdd versions of OP_MakeRecord and OP_Column that use manifest typing (not
danielk1977 [Mon, 10 May 2004 07:17:30 +0000 (07:17 +0000)] 
Add versions of OP_MakeRecord and OP_Column that use manifest typing (not
activated yet). (CVS 1334)

FossilOrigin-Name: 8a66a502ba09e3d858d2f45df9b3b665ebb85d5b

21 years agoChange some code that assumes the root-page of sqlite_master is 2 (it is
danielk1977 [Mon, 10 May 2004 01:17:37 +0000 (01:17 +0000)] 
Change some code that assumes the root-page of sqlite_master is 2 (it is
now 1) (CVS 1333)

FossilOrigin-Name: 37ae528fb85799007f4ddfc56a7d9493dbb29cbf

21 years agoAdd a temporary sqlite2BtreeKeyCompare() function to help get
danielk1977 [Sun, 9 May 2004 23:23:56 +0000 (23:23 +0000)] 
Add a temporary sqlite2BtreeKeyCompare() function to help get
regression tests passing again. (CVS 1332)

FossilOrigin-Name: d8d1c91e55f24d17233414facaa03136b3b320d5

21 years agoMore btree.c bug fixing. It's getting closer but still not there yet.
drh [Sun, 9 May 2004 20:40:11 +0000 (20:40 +0000)] 
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

21 years agoThe btree.test test is no working with integrity_check enabled. (CVS 1330)
drh [Sun, 9 May 2004 11:51:38 +0000 (11:51 +0000)] 
The btree.test test is no working with integrity_check enabled. (CVS 1330)

FossilOrigin-Name: 9f1caa530e69aaf202debac36b6a46d707f362d7

21 years agoBegin trying to get integrity checking working on the new btree.c. (CVS 1329)
drh [Sun, 9 May 2004 01:35:05 +0000 (01:35 +0000)] 
Begin trying to get integrity checking working on the new btree.c. (CVS 1329)

FossilOrigin-Name: 499569daa6a3aed6609bcb1e11a3d231e13f4f9c

21 years agoAll tests in btree.test now pass (but only because I commented out the
drh [Sun, 9 May 2004 00:40:52 +0000 (00:40 +0000)] 
All tests in btree.test now pass (but only because I commented out the
btree_integrity_check test.) (CVS 1328)

FossilOrigin-Name: ee706e9c74c3fb32fc3369db226fad9ed4db7596

21 years agoMore btree.c bug fixes. (CVS 1327)
drh [Sat, 8 May 2004 20:07:40 +0000 (20:07 +0000)] 
More btree.c bug fixes. (CVS 1327)

FossilOrigin-Name: e9f84ff3fe45a014ab60fabbfd91d19e6d353477

21 years agoGet the code back to the point where it will compile the btree.c tests.
drh [Sat, 8 May 2004 10:56:11 +0000 (10:56 +0000)] 
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

21 years agoMinor change to main.c so that it will compile with GCC 2.96. (CVS 1325)
drh [Sat, 8 May 2004 10:11:36 +0000 (10:11 +0000)] 
Minor change to main.c so that it will compile with GCC 2.96. (CVS 1325)

FossilOrigin-Name: 1a09a1ada199b76926c64bd79ad39d6d50a75011

21 years agoChange lots of internal symbols from sqliteXXX to sqlite3XXX so that the
danielk1977 [Sat, 8 May 2004 08:23:19 +0000 (08:23 +0000)] 
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

21 years agoMore bug fixes in btree.c. (CVS 1323)
drh [Sat, 8 May 2004 02:03:22 +0000 (02:03 +0000)] 
More bug fixes in btree.c. (CVS 1323)

FossilOrigin-Name: 2d64cba38c0f5fffa18cb30c4c448278837de49d

21 years agoMore bug fixes in btree.c. (CVS 1322)
drh [Fri, 7 May 2004 23:50:57 +0000 (23:50 +0000)] 
More bug fixes in btree.c. (CVS 1322)

FossilOrigin-Name: a80939ef714ec884950b4a1f4f809ffa37fdfa59

21 years agoThe btree.c module compiles and links and passes some tests. Many tests
drh [Fri, 7 May 2004 17:57:49 +0000 (17:57 +0000)] 
The btree.c module compiles and links and passes some tests.  Many tests
still fail, though. (CVS 1321)

FossilOrigin-Name: d394b2b217d4d728f9eba397262bf9d36195719e

21 years agoNew btree.c module compiles and links. (CVS 1320)
drh [Fri, 7 May 2004 13:30:42 +0000 (13:30 +0000)] 
New btree.c module compiles and links. (CVS 1320)

FossilOrigin-Name: dcd6b55f932a7ade4ad058534651e198b56370ad

21 years agoTrying to synchronize the test3.c module with the new btree.c code. (CVS 1319)
drh [Fri, 7 May 2004 02:26:28 +0000 (02:26 +0000)] 
Trying to synchronize the test3.c module with the new btree.c code. (CVS 1319)

FossilOrigin-Name: 7fd1a660b0607b7c36de1278724521cbea72af0c

21 years agoFix compilation problem in test5.c (CVS 1318)
danielk1977 [Fri, 7 May 2004 01:50:37 +0000 (01:50 +0000)] 
Fix compilation problem in test5.c (CVS 1318)

FossilOrigin-Name: 49c3c86c17bcd8132216791d7a1a17e2c6256206

21 years agoAdd code to convert between the various supported unicode encoding schemes.
danielk1977 [Thu, 6 May 2004 23:37:52 +0000 (23:37 +0000)] 
Add code to convert between the various supported unicode encoding schemes.
Untested at this point. (CVS 1315)

FossilOrigin-Name: 71260ff7f7030f56c292b43f83a213c65c9a184e

21 years agoUpdate test3.c to work with the new btree.c API. (CVS 1314)
drh [Tue, 4 May 2004 17:27:28 +0000 (17:27 +0000)] 
Update test3.c to work with the new btree.c API. (CVS 1314)

FossilOrigin-Name: bfb3234dc60c9152fdf0a16b887089365443f5ed

21 years agoAdded template for the utf.c file containing conversion routines. (CVS 1313)
drh [Tue, 4 May 2004 15:00:46 +0000 (15:00 +0000)] 
Added template for the utf.c file containing conversion routines. (CVS 1313)

FossilOrigin-Name: 89b42c468f437003f74a1785370e75b2585fa9e2

21 years agoIncremental btree.c changes. (CVS 1312)
drh [Mon, 3 May 2004 19:49:32 +0000 (19:49 +0000)] 
Incremental btree.c changes. (CVS 1312)

FossilOrigin-Name: fdc629dbbf974024215969e0bd3def4597258812

21 years agoChanges to btree for the new file format are mostly complete. Still need
drh [Sun, 2 May 2004 21:12:19 +0000 (21:12 +0000)] 
Changes to btree for the new file format are mostly complete.  Still need
to test and debug. (CVS 1311)

FossilOrigin-Name: 0eee3b5cd400e9548437632ec1dfe625a3fca9cf

21 years agoSync all version 3 changes. (CVS 1309)
drh [Thu, 29 Apr 2004 14:42:46 +0000 (14:42 +0000)] 
Sync all version 3 changes. (CVS 1309)

FossilOrigin-Name: 51892d6cdc739bb049fdfce8301354312167c181

21 years agoPager tests working. (CVS 1308)
drh [Mon, 26 Apr 2004 14:10:20 +0000 (14:10 +0000)] 
Pager tests working. (CVS 1308)

FossilOrigin-Name: 910067a200c4b25b5d813a84146673d3d1c80952

21 years agoBegin modifying the BTree code for the new version-3 file format.
drh [Fri, 23 Apr 2004 23:43:10 +0000 (23:43 +0000)] 
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

21 years agoAdd an extra assert() to lemon.c to make debugging easier. Ticket #692. (CVS 1305)
drh [Fri, 23 Apr 2004 23:38:42 +0000 (23:38 +0000)] 
Add an extra assert() to lemon.c to make debugging easier.  Ticket #692. (CVS 1305)

FossilOrigin-Name: 818bdba5dc25cda56716fdda1781a3d4ecb3a111

21 years agoBranch version_2. Code for version 3 is on the trunk. (CVS 1303)
drh [Fri, 23 Apr 2004 23:19:59 +0000 (23:19 +0000)] 
Branch version_2.  Code for version 3 is on the trunk. (CVS 1303)

FossilOrigin-Name: db84ddf5408d1efe9e0e5eef2f5d875c9e2c8e99

21 years agoGet the temp_store and default_temp_store pragmas working. Update the
drh [Fri, 23 Apr 2004 17:04:44 +0000 (17:04 +0000)] 
Get the temp_store and default_temp_store pragmas working.  Update the
documentation.  Also fix a malloc problem that popped up during the regression
testing. (CVS 1302)

FossilOrigin-Name: 7ace576215367101904677bd69951755ee9cb1a1

21 years agoFix windows DLL section of Makefile.in for use with build dir. (CVS 1301)
rdc [Fri, 26 Mar 2004 23:16:31 +0000 (23:16 +0000)] 
Fix windows DLL section of Makefile.in for use with build dir. (CVS 1301)

FossilOrigin-Name: 1e84f70fb98755651e0c04dc2cf0114e2e6fe39c

21 years agoChange the ".database" command in the shell to allocate more characters to
drh [Wed, 17 Mar 2004 23:42:12 +0000 (23:42 +0000)] 
Change the ".database" command in the shell to allocate more characters to
the database name and filename. (CVS 1300)

FossilOrigin-Name: 85238f06902851dd5085395501a0ab2d6a2b9814

21 years agoFix a VDBE stack overflow that occurs when the left-hand side of an IN
drh [Wed, 17 Mar 2004 23:32:08 +0000 (23:32 +0000)] 
Fix a VDBE stack overflow that occurs when the left-hand side of an IN
expression is NULL and the result is stored on the stack rather than used
to control a jump.  Ticket #668. (CVS 1299)

FossilOrigin-Name: fc7a7975b03c144c2db3566facd008d3701c735e

21 years agoThe sqlite_trace() API only works for commands started by the user, not for
drh [Wed, 17 Mar 2004 18:44:45 +0000 (18:44 +0000)] 
The sqlite_trace() API only works for commands started by the user, not for
SQL commands run during initialization. (CVS 1298)

FossilOrigin-Name: 0a12473c4ae370ec34f1f431dd6d7d6ffa25d41a

21 years agoMakefile.in and sqlite.def changes for encode and non-toplevel build; ticket #667...
dougcurrie [Tue, 16 Mar 2004 21:49:49 +0000 (21:49 +0000)] 
Makefile.in and sqlite.def changes for encode and non-toplevel build; ticket #667 (CVS 1297)

FossilOrigin-Name: 72205a371ce5be4eac0a77d5d2fa8ccb23bb988f

21 years agoPrototypes for sqlite_encode_binary() and sqlite_decode_binary() added
drh [Sun, 14 Mar 2004 22:12:34 +0000 (22:12 +0000)] 
Prototypes for sqlite_encode_binary() and sqlite_decode_binary() added
to sqlite.h. (CVS 1296)

FossilOrigin-Name: 359f0e787ff2d4d10fd23059e2ce99670e93f66a

21 years agoMake sqlite_encode_binary() and sqlite_decode_binary() an official part of
drh [Sun, 14 Mar 2004 22:11:59 +0000 (22:11 +0000)] 
Make sqlite_encode_binary() and sqlite_decode_binary() an official part of
the library. (CVS 1295)

FossilOrigin-Name: 786fe545560ec6c42bb0e344345031f425bf177a

21 years agoUpdates to the architecture document. (CVS 1294)
drh [Sun, 14 Mar 2004 11:57:58 +0000 (11:57 +0000)] 
Updates to the architecture document. (CVS 1294)

FossilOrigin-Name: c661cc81b6981c536c107f40525ad9783b11ea82

21 years agoFix the min/max optimizer so that it works when the FROM clause is a
drh [Sat, 13 Mar 2004 14:00:36 +0000 (14:00 +0000)] 
Fix the min/max optimizer so that it works when the FROM clause is a
subquery.  Ticket #658. (CVS 1293)

FossilOrigin-Name: 31c94acc72d318b5dec0fef1485621943add45c8

21 years agoTypecast to work around a bug in {quote: CodeWarrior} Studio v9.1.
drh [Wed, 10 Mar 2004 18:57:31 +0000 (18:57 +0000)] 
Typecast to work around a bug in {quote: CodeWarrior} Studio v9.1.
Ticket #654. (CVS 1292)

FossilOrigin-Name: 5864fc6937b933b7da0c00e6c4c2ee1b9b939cff

21 years agoFixed default target. (CVS 1291)
a.rottmann [Wed, 10 Mar 2004 18:53:09 +0000 (18:53 +0000)] 
Fixed default target. (CVS 1291)

FossilOrigin-Name: af19ab32c5b329b053f3daf3c812eb593b89cd7f

21 years ago* Added rule for rebuilding Makefile from Makefile.in.
a.rottmann [Wed, 10 Mar 2004 16:32:03 +0000 (16:32 +0000)] 
* Added rule for rebuilding Makefile from Makefile.in.
* Fixed double-slash problem induced by adding DESTDIR support. (CVS 1290)

FossilOrigin-Name: 957827e35cca65de11894eb2dfc78327f4034dfc

21 years agoThe BTree layer now returns SQLITE_READONLY on an attempt to open a write
drh [Wed, 10 Mar 2004 13:42:37 +0000 (13:42 +0000)] 
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

21 years agoThe shell program now ignores extra whitespace at the end of dot-commands. (CVS 1288)
drh [Tue, 9 Mar 2004 13:37:45 +0000 (13:37 +0000)] 
The shell program now ignores extra whitespace at the end of dot-commands. (CVS 1288)

FossilOrigin-Name: b6817e99bd97f427b1cfd16328d612e1a7d70d0a

21 years agoVersion 2.8.13 (CVS 1287)
drh [Mon, 8 Mar 2004 13:57:54 +0000 (13:57 +0000)] 
Version 2.8.13 (CVS 1287)

FossilOrigin-Name: 4d5bbb3dc32412ee7fa5dec42d3278836a362e8c

21 years agoUpdate change log for version 2.8.13. (CVS 1286)
drh [Mon, 8 Mar 2004 13:45:24 +0000 (13:45 +0000)] 
Update change log for version 2.8.13. (CVS 1286)

FossilOrigin-Name: 4431e63746311d2e3429203656f8168c227ecb6e

21 years agoBump the version number to 2.8.13. Patch up the limit test so that it works
drh [Mon, 8 Mar 2004 13:26:17 +0000 (13:26 +0000)] 
Bump the version number to 2.8.13.  Patch up the limit test so that it works
in spite of ticket #521 - we don't want any tests failing in an official
release even if there are bugs. :-D (CVS 1285)

FossilOrigin-Name: 2c6bd21ed0e212109cfb4a37cfac2a10ab58a024

21 years agoCorrect duplicate tracing of SQL statements. (CVS 1284)
rdc [Thu, 4 Mar 2004 19:09:20 +0000 (19:09 +0000)] 
Correct duplicate tracing of SQL statements. (CVS 1284)

FossilOrigin-Name: bb67311b3db49ce772533da14f62497c55432fae

21 years agoA vdbe stack element might have a string value even after a call to
drh [Wed, 3 Mar 2004 01:51:24 +0000 (01:51 +0000)] 
A vdbe stack element might have a string value even after a call to
Integerify().  Ticket #641. (CVS 1283)

FossilOrigin-Name: 3cac4b7b526d6c5dbf394009b534707bcb65b0da

21 years agoMake sure a LIMIT clause on a SELECT cleans up the vdbe stack so that if it
drh [Tue, 2 Mar 2004 18:37:41 +0000 (18:37 +0000)] 
Make sure a LIMIT clause on a SELECT cleans up the vdbe stack so that if it
occurs inside a trigger, it won't cause a stack overflow.  Ticket #640. (CVS 1282)

FossilOrigin-Name: 5aaa2939baa972231def086ed5f9d9ba63302532

21 years agoUpdated aclocal.m4 and configure. (CVS 1281)
a.rottmann [Sun, 29 Feb 2004 15:18:31 +0000 (15:18 +0000)] 
Updated aclocal.m4 and configure. (CVS 1281)

FossilOrigin-Name: 76d42921a475c531a77677c3fe73b6da265a878d

21 years agoOne more fix to the new HH:MM:SS modifier. This time add some test
drh [Sun, 29 Feb 2004 01:08:17 +0000 (01:08 +0000)] 
One more fix to the new HH:MM:SS modifier.  This time add some test
procedures too. (CVS 1280)

FossilOrigin-Name: 7b3b8968ee9a5349dd6e9ae1e7a311bf8906607c

21 years agoTry again to get the HH:MM:SS modifier change right... (CVS 1279)
drh [Sun, 29 Feb 2004 00:50:33 +0000 (00:50 +0000)] 
Try again to get the HH:MM:SS modifier change right... (CVS 1279)

FossilOrigin-Name: e20d51f94ed67b8864a435e5735f61f396662c21

21 years agoFix a bug in the HH:MM:SS modifier change that was just checked in. (CVS 1278)
drh [Sun, 29 Feb 2004 00:48:08 +0000 (00:48 +0000)] 
Fix a bug in the HH:MM:SS modifier change that was just checked in. (CVS 1278)

FossilOrigin-Name: 248b5500900bc8f401006aaa9b7dac090ae419fa

21 years agoAllow time modifiers of the form HH:MM:SS.SSS with an option "+" or "-"
drh [Sun, 29 Feb 2004 00:40:32 +0000 (00:40 +0000)] 
Allow time modifiers of the form HH:MM:SS.SSS with an option "+" or "-"
prefix.  The specified amount of time is added into the date-time begin
modified. (CVS 1277)

FossilOrigin-Name: 559002a52fe3c42fe71ffce364eff4a036ae6b83

21 years agoFix some compiler warnings in LCC. The warnings did not indicate real
drh [Sun, 29 Feb 2004 00:11:30 +0000 (00:11 +0000)] 
Fix some compiler warnings in LCC.  The warnings did not indicate real
problems.  Ticket #634.  Not all warnings in ticket #634 were fixed. (CVS 1276)

FossilOrigin-Name: e97089b7df3e2fbfcf36062099d02ecb75e9a870