]> git.ipfire.org Git - thirdparty/sqlite.git/log
thirdparty/sqlite.git
22 years agoDocumented SQL fns IFNULL() and NULLIF(). (CVS 1015)
jplyon [Sun, 8 Jun 2003 08:36:33 +0000 (08:36 +0000)] 
Documented SQL fns IFNULL() and NULLIF(). (CVS 1015)

FossilOrigin-Name: 190252fee0a86eb6f8c24a2402e36482e3bd514c

22 years agoUse sqliteOsFileExists() in the debugging hook in vdbe.c, instead of access().
drh [Sat, 7 Jun 2003 11:33:45 +0000 (11:33 +0000)] 
Use sqliteOsFileExists() in the debugging hook in vdbe.c, instead of access().
Ticket #341. (CVS 1014)

FossilOrigin-Name: 7d3405b95bae74e0c476a7bdf708ca518723eaf7

22 years agoDo not assume that a pointer can fit in a long inside the printf() code.
drh [Sat, 7 Jun 2003 11:29:50 +0000 (11:29 +0000)] 
Do not assume that a pointer can fit in a long inside the printf() code.
Ticket #342. (CVS 1013)

FossilOrigin-Name: 5dad7c05e9789e101d5ce75a6f3ea2ffb278b29d

22 years agoMajor update of vdbe tutorial to 2.8.0 engine. (CVS 1012)
jplyon [Sat, 7 Jun 2003 08:57:58 +0000 (08:57 +0000)] 
Major update of vdbe tutorial to 2.8.0 engine. (CVS 1012)

FossilOrigin-Name: 787d986d0f391d26eef7a2639594c465f9599f5b

22 years agoHyperlinks and minor additions/corrections for lang.tcl (CVS 1011)
jplyon [Sat, 7 Jun 2003 08:56:09 +0000 (08:56 +0000)] 
Hyperlinks and minor additions/corrections for lang.tcl (CVS 1011)

FossilOrigin-Name: 685a179aae535431ec46922f1aff50a54112e959

22 years agoExtend the authorization mechanism to disallow the ATTACH and DETACH commands.
drh [Fri, 6 Jun 2003 19:00:42 +0000 (19:00 +0000)] 
Extend the authorization mechanism to disallow the ATTACH and DETACH commands.
Ticket #340. (CVS 1010)

FossilOrigin-Name: a97dca73aed0b42d8dcf944360667ae93c5324fd

22 years agoAdd btree_rb.c and opcodes.c to the source built by the "target_source" target
drh [Fri, 6 Jun 2003 16:13:40 +0000 (16:13 +0000)] 
Add btree_rb.c and opcodes.c to the source built by the "target_source" target
of the main makefile. (CVS 1009)

FossilOrigin-Name: 09546972991601697925c10b6ef31694b0be2385

22 years agoAdd a prototype for the sqlite_vmprintf() function to sqlite.h. (CVS 1008)
drh [Fri, 6 Jun 2003 15:44:00 +0000 (15:44 +0000)] 
Add a prototype for the sqlite_vmprintf() function to sqlite.h. (CVS 1008)

FossilOrigin-Name: 048cf55c7da92e363f6a2ab594e17280c9573410

22 years agoFix a typo in speed.html. (CVS 1007)
drh [Thu, 5 Jun 2003 15:05:34 +0000 (15:05 +0000)] 
Fix a typo in speed.html. (CVS 1007)

FossilOrigin-Name: d01e6fbdde314f2edfcd43fcda3dc8bedb6bf2ba

22 years agoRemove unused code from util.c. (CVS 1006)
drh [Thu, 5 Jun 2003 14:27:56 +0000 (14:27 +0000)] 
Remove unused code from util.c. (CVS 1006)

FossilOrigin-Name: 1bcaa841a396e4d592de30d10846f7cefbbdcd0e

22 years agoFix a bug in UPDATE OR REPLACE that was introduced by check-in (999).
drh [Wed, 4 Jun 2003 16:24:39 +0000 (16:24 +0000)] 
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

22 years agoAdjust test cases to cope with the extra column returned by the database_list
drh [Wed, 4 Jun 2003 15:53:02 +0000 (15:53 +0000)] 
Adjust test cases to cope with the extra column returned by the database_list
pragma. (CVS 1004)

FossilOrigin-Name: fa10c6df5a80127508fb198c21ef93acfc93ebe2

22 years agoChange the "database_list" pragma to return a third column containing the
drh [Wed, 4 Jun 2003 15:48:33 +0000 (15:48 +0000)] 
Change the "database_list" pragma to return a third column containing the
filename of the underlying database file.  Always use an in-memory TEMP
database with an in-memory main database. (CVS 1003)

FossilOrigin-Name: f39100f5759d0d8b9c71e18d38a148dee4643020

22 years agoVersion 2.8.3 (CVS 1002)
drh [Wed, 4 Jun 2003 12:44:27 +0000 (12:44 +0000)] 
Version 2.8.3 (CVS 1002)

FossilOrigin-Name: 433570e3e6caa52b9e480a22529dde6385a3c7d3

22 years agoUpdate the version number to 2.8.3. (CVS 1001)
drh [Wed, 4 Jun 2003 12:40:43 +0000 (12:40 +0000)] 
Update the version number to 2.8.3. (CVS 1001)

FossilOrigin-Name: c96f5bf0d7b75c8091f78dc2b9e3937949642ce5

22 years agoDisable the unreadable file test (attach-6.2) under windows because of
drh [Wed, 4 Jun 2003 12:31:53 +0000 (12:31 +0000)] 
Disable the unreadable file test (attach-6.2) under windows because of
problems in the OS. (CVS 1000)

FossilOrigin-Name: 4bfb30d20bdd33c6e26c8fb8392a75d3cf2ee4bd

22 years agoAvoid corrupting indices when doing a REPLACE on a table with an
drh [Wed, 4 Jun 2003 12:23:30 +0000 (12:23 +0000)] 
Avoid corrupting indices when doing a REPLACE on a table with an
INTEGER PRIMARY KEY that also has another index.  Ticket #334. (CVS 999)

FossilOrigin-Name: e813faae0e4086571d13c769f793add7f1f979af

22 years agoAdditional testing of the ATTACH command with bug fixes for the new problems
drh [Tue, 3 Jun 2003 01:47:11 +0000 (01:47 +0000)] 
Additional testing of the ATTACH command with bug fixes for the new problems
that the tests found. (CVS 998)

FossilOrigin-Name: 3e8889d7ce5e99fc855526fc1bb62ddbe282bfc5

22 years agoThe OP_Checkpoint opcode is now a no-op if invoked on a database that already
drh [Mon, 2 Jun 2003 23:14:13 +0000 (23:14 +0000)] 
The OP_Checkpoint opcode is now a no-op if invoked on a database that already
has an active checkpoint journal.  Ticket #333. (CVS 997)

FossilOrigin-Name: daf7b94017f03638da1ef65830f3762be030b93c

22 years agoFix a bug in the COPY command introduced by check-in (991). (CVS 996)
drh [Mon, 2 Jun 2003 22:50:25 +0000 (22:50 +0000)] 
Fix a bug in the COPY command introduced by check-in (991). (CVS 996)

FossilOrigin-Name: 77ec13dab85b70795ef06ff2c714cca0cd496837

22 years agoFix an initialized variable in sqliteInitOne. (CVS 995)
drh [Mon, 2 Jun 2003 18:17:33 +0000 (18:17 +0000)] 
Fix an initialized variable in sqliteInitOne. (CVS 995)

FossilOrigin-Name: 89957b09ce746cf98d5d75cab2a23994e27c4937

22 years agoGenerate anchors in opcode table html for use by new vdbe tutorial. (CVS 994)
jplyon [Mon, 2 Jun 2003 06:29:31 +0000 (06:29 +0000)] 
Generate anchors in opcode table html for use by new vdbe tutorial. (CVS 994)

FossilOrigin-Name: 3ae36cf158e1878a66ce9302eae4e62f8a88333f

22 years agoAdded comments. (CVS 993)
jplyon [Mon, 2 Jun 2003 06:17:10 +0000 (06:17 +0000)] 
Added comments. (CVS 993)

FossilOrigin-Name: 1276ddb3074b74e22c579bad6951ea52384c08dd

22 years agoAdditions and corrections to vdbe documentation comments. (CVS 992)
jplyon [Mon, 2 Jun 2003 06:15:58 +0000 (06:15 +0000)] 
Additions and corrections to vdbe documentation comments. (CVS 992)

FossilOrigin-Name: b648987de3383d6835df58aa0efee54fa8f10d26

22 years agoAdd the ability to INSERT or UPDATE using the "rowid" column even on tables
drh [Sun, 1 Jun 2003 01:10:33 +0000 (01:10 +0000)] 
Add the ability to INSERT or UPDATE using the "rowid" column even on tables
that lack an integer primary key. (CVS 991)

FossilOrigin-Name: 903adbe802ca0e987b867e5ad33aae02ad2a43d4

22 years agoTighter binding of views, triggers, and indices to their respective
drh [Sat, 31 May 2003 16:21:12 +0000 (16:21 +0000)] 
Tighter binding of views, triggers, and indices to their respective
databases.  Ticket #323.  Much more testing needs to be done to the
sqliteFix...() routines in attach.c. (CVS 990)

FossilOrigin-Name: 7202d4f1a8853368954a967b7ccca9d8a6645a2e

22 years agoChange the row-size limit back to 1MB. It was temporarily raised to 16MB.
drh [Thu, 29 May 2003 17:50:55 +0000 (17:50 +0000)] 
Change the row-size limit back to 1MB.  It was temporarily raised to 16MB.
We'll probably move it to 16MB eventually, but not just yet. (CVS 989)

FossilOrigin-Name: b84c4035c6b06469055798cf412fa4da8b50fa17

22 years agoModify the windows locking code so that it works correctly for a database
drh [Thu, 29 May 2003 17:43:08 +0000 (17:43 +0000)] 
Modify the windows locking code so that it works correctly for a database
being shared between Win95/98/ME and WinNT/2K/XP systems.  Ticket #310. (CVS 988)

FossilOrigin-Name: 8c402db7e0745622d9950e5ca5d4d8e933da436c

22 years agoAdded typeof() operator.
jplyon [Thu, 29 May 2003 04:21:38 +0000 (04:21 +0000)] 
Added typeof() operator.
Minor additions for ATTACH/DETACH. (CVS 987)

FossilOrigin-Name: 8b8fa0fff26107912f0bec4e44df207c7885e273

22 years agoFix segfault that occurs when opening a non-existing database in the shell
drh [Mon, 19 May 2003 23:55:30 +0000 (23:55 +0000)] 
Fix segfault that occurs when opening a non-existing database in the shell
then immediately doing ".q". (CVS 986)

FossilOrigin-Name: e8566cf5a381fa7655caacbc0fe95091e1137fea

22 years agoAdditional attach testing. I now believe that ticket #317 was fixed
drh [Sat, 17 May 2003 19:23:51 +0000 (19:23 +0000)] 
Additional attach testing.  I now believe that ticket #317 was fixed
by check-in (981). (CVS 985)

FossilOrigin-Name: 24191373796b7fd6255ef9b70ce2344326308113

22 years agoPrevent an infinite loop when deleting a table that has a TEMP trigger. (CVS 984)
drh [Sat, 17 May 2003 19:04:03 +0000 (19:04 +0000)] 
Prevent an infinite loop when deleting a table that has a TEMP trigger. (CVS 984)

FossilOrigin-Name: c8c823b068916711857fa67db10fb479999b55c2

22 years agoVersion 2.8.2 (CVS 983)
drh [Sat, 17 May 2003 17:52:34 +0000 (17:52 +0000)] 
Version 2.8.2 (CVS 983)

FossilOrigin-Name: f542e5fc8896111e5165cc625607f95e4993bb16

22 years agoBump the version number and update the change log. We are rushing out
drh [Sat, 17 May 2003 17:38:37 +0000 (17:38 +0000)] 
Bump the version number and update the change log.  We are rushing out
release 2.8.2 because of the database corruption problem fixed by
the previous check-in. (CVS 982)

FossilOrigin-Name: e134459d653b03bfacb98eec2c5d91eef7e4ed24

22 years agoFix problems with TEMP indices that lead to corrupt databases. These
drh [Sat, 17 May 2003 17:35:10 +0000 (17:35 +0000)] 
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

22 years agoVersion 2.8.1 (CVS 980)
drh [Sat, 17 May 2003 02:44:32 +0000 (02:44 +0000)] 
Version 2.8.1 (CVS 980)

FossilOrigin-Name: 590f963b6599e4e235d7369f19c63cece4b2ad95

22 years agoFix the fix for newlines in echo commands. Tickets #311, #282, #256. (CVS 979)
drh [Sat, 17 May 2003 02:27:21 +0000 (02:27 +0000)] 
Fix the fix for newlines in echo commands.  Tickets #311, #282, #256. (CVS 979)

FossilOrigin-Name: baea7aca10e30f30b874e1e8b6cd3b05954ba83c

22 years agoBump the version number to 2.8.1. Update documentation prior to release. (CVS 978)
drh [Sat, 17 May 2003 01:39:39 +0000 (01:39 +0000)] 
Bump the version number to 2.8.1.  Update documentation prior to release. (CVS 978)

FossilOrigin-Name: 0874814ab01ffc0acffec8e6cec34eaab3428d36

22 years agoEscape backslashes in echo commands in the makefiles. Tickets #311, #282, #256....
drh [Sat, 17 May 2003 00:24:21 +0000 (00:24 +0000)] 
Escape backslashes in echo commands in the makefiles.  Tickets #311, #282, #256. (CVS 977)

FossilOrigin-Name: d614861b8ad9e661b8f08131b95d730e2c2c35c2

22 years agoFix memory allocation problem in the sqlite_get_table() API. Ticket #315. (CVS 976)
drh [Sat, 17 May 2003 00:05:49 +0000 (00:05 +0000)] 
Fix memory allocation problem in the sqlite_get_table() API.  Ticket #315. (CVS 976)

FossilOrigin-Name: f1d955efd91093994db43a1540080d32442d5ac0

22 years agoMake sure the ON CONFLICT clause on a BEGIN overrides the conflict resolution
drh [Fri, 16 May 2003 02:30:27 +0000 (02:30 +0000)] 
Make sure the ON CONFLICT clause on a BEGIN overrides the conflict resolution
specified by an index.  This fixes a bug reported on the newsgroup. (CVS 975)

FossilOrigin-Name: 0f92736d1fbe3b587592fe1f26dfb3558cc49727

22 years agoRemoved 3rd (file) column from PRAGMA database_list until tests are fixed. (CVS 974)
jplyon [Tue, 13 May 2003 08:01:33 +0000 (08:01 +0000)] 
Removed 3rd (file) column from PRAGMA database_list until tests are fixed. (CVS 974)

FossilOrigin-Name: 4183cf97676e64d19978941a7c4a3fe521fcb1fb

22 years agoFix another twos-complement negation error. Ticket #313. (CVS 973)
drh [Tue, 13 May 2003 01:52:31 +0000 (01:52 +0000)] 
Fix another twos-complement negation error.  Ticket #313. (CVS 973)

FossilOrigin-Name: f267a8a4ff52eb7ee3ac20a8e3a8ab5fe19e445d

22 years agoA change to lemon related to ticket #313. (CVS 972)
drh [Tue, 13 May 2003 00:34:21 +0000 (00:34 +0000)] 
A change to lemon related to ticket #313. (CVS 972)

FossilOrigin-Name: b59d9033d5556015543ac5ca23110ccbeb4391f0

22 years agoRemove unnecessary "#include <sqliteInt.h>" from the shell code. (CVS 971)
drh [Tue, 13 May 2003 00:24:41 +0000 (00:24 +0000)] 
Remove unnecessary "#include <sqliteInt.h>" from the shell code. (CVS 971)

FossilOrigin-Name: 6e5c497a42e52236edae8d99b4892d4b93db43f5

22 years agoFix a #ifdefs that are used to comment-out the VACUUM command. (CVS 970)
drh [Tue, 13 May 2003 00:21:59 +0000 (00:21 +0000)] 
Fix a #ifdefs that are used to comment-out the VACUUM command. (CVS 970)

FossilOrigin-Name: 22d5324073a727627d4294870a441fa2316fb049

22 years agoMake sure hash functions always return non-negative. (CVS 969)
drh [Mon, 12 May 2003 23:06:52 +0000 (23:06 +0000)] 
Make sure hash functions always return non-negative. (CVS 969)

FossilOrigin-Name: 39a3e403f0440acb2f85a064ec23d404f9cdfbc4

22 years agoChanged PRAGMA database_list to show the filename. (CVS 968)
jplyon [Sun, 11 May 2003 20:09:19 +0000 (20:09 +0000)] 
Changed PRAGMA database_list to show the filename. (CVS 968)

FossilOrigin-Name: 3da10d2d02e331f136fcf857dc4c435c67ee7196

22 years agoChanged ".databases" command to use PRAGMA database_list. (CVS 967)
jplyon [Sun, 11 May 2003 20:07:05 +0000 (20:07 +0000)] 
Changed ".databases" command to use PRAGMA database_list. (CVS 967)

FossilOrigin-Name: bad2065337d8dcaacd519b8f1730a90f1c933c3e

22 years agoChanges to comments. In particular, a lengthy comment was added to encode.c
drh [Sat, 10 May 2003 03:36:53 +0000 (03:36 +0000)] 
Changes to comments.  In particular, a lengthy comment was added to encode.c
that explains how the encoder algorithm works. (CVS 966)

FossilOrigin-Name: 8b388b2f690dbfd50eefc0fdede1c7785f78afa1

22 years agoRemoved never-used symbol SQLITE_ResultDetails. (CVS 965)
jplyon [Sat, 10 May 2003 03:04:34 +0000 (03:04 +0000)] 
Removed never-used symbol SQLITE_ResultDetails. (CVS 965)

FossilOrigin-Name: 26bd7bb1779e14f19c00e450aaa9529f2aabf131

22 years agoRemoved never-used pragma "result_set_details". (CVS 964)
jplyon [Sat, 10 May 2003 03:03:34 +0000 (03:03 +0000)] 
Removed never-used pragma "result_set_details". (CVS 964)

FossilOrigin-Name: bf558e79524c04339f1174dc935e39d47cb33457

22 years agoDocumented the "GO" and "\" command terminators. (CVS 963)
jplyon [Sat, 10 May 2003 02:54:56 +0000 (02:54 +0000)] 
Documented the "GO" and "\" command terminators. (CVS 963)

FossilOrigin-Name: 6a76bd9590f372411e697f002285fe36ff3787ee

22 years agoFixed metacharacter coloring with LP, RP, PLUS.
jplyon [Sat, 10 May 2003 02:54:02 +0000 (02:54 +0000)] 
Fixed metacharacter coloring with LP, RP, PLUS.
Added more links. (CVS 962)

FossilOrigin-Name: 2bbb08049508829419dd9a3729241b97b017cf36

22 years agoFormat keyword lists in lang.html using a TCL proc. (CVS 961)
drh [Wed, 7 May 2003 13:37:31 +0000 (13:37 +0000)] 
Format keyword lists in lang.html using a TCL proc. (CVS 961)

FossilOrigin-Name: ca75f1ca12cd88dce688e272d73c3c2282079547

22 years ago- Added entries for PRAGMAs database_list, temp_store and default_temp_store.
jplyon [Wed, 7 May 2003 04:04:17 +0000 (04:04 +0000)] 
- Added entries for PRAGMAs database_list, temp_store and default_temp_store.
- Fixed missing end tags. (CVS 960)

FossilOrigin-Name: 55ae7b35ee2dcebc99256d4b1e22a87ea75e3d03

22 years agoCleaned up keywords section. (CVS 959)
jplyon [Wed, 7 May 2003 03:59:10 +0000 (03:59 +0000)] 
Cleaned up keywords section. (CVS 959)

FossilOrigin-Name: bb609f96e00fd62d932601c4aa37bc17baa82257

22 years agoRestrain the flattener in the presence of outer joins. Ticket #306. (CVS 958)
drh [Tue, 6 May 2003 20:35:16 +0000 (20:35 +0000)] 
Restrain the flattener in the presence of outer joins.  Ticket #306. (CVS 958)

FossilOrigin-Name: 6d4b6597e560578253960d9876dc8c8657f41fef

22 years agoAdded tests trying (unsuccessfully) to reproduce ticket #304. (CVS 957)
drh [Sun, 4 May 2003 20:42:56 +0000 (20:42 +0000)] 
Added tests trying (unsuccessfully) to reproduce ticket #304. (CVS 957)

FossilOrigin-Name: fda637f453d35b74f676997fcf056a948ccd771b

22 years agoShell command-line parsing enhancements suggested by Mike Hall. (CVS 956)
drh [Sun, 4 May 2003 18:30:59 +0000 (18:30 +0000)] 
Shell command-line parsing enhancements suggested by Mike Hall. (CVS 956)

FossilOrigin-Name: 5656fe48b192dc84cb5977f826ff99d81684791f

22 years agoFix deficiencies in sqlite_complete() pointed out by R. Dennis Cote. (CVS 955)
drh [Sun, 4 May 2003 17:58:25 +0000 (17:58 +0000)] 
Fix deficiencies in sqlite_complete() pointed out by R. Dennis Cote. (CVS 955)

FossilOrigin-Name: 54b33a5ed9f7a89435c2f1395a3177e8c778bb8a

22 years agoAdded shell command ".databases" to list name and file of open ones.
jplyon [Sun, 4 May 2003 07:31:09 +0000 (07:31 +0000)] 
Added shell command ".databases" to list name and file of open ones.
Added several missing shell commands. (CVS 954)

FossilOrigin-Name: dd57d6ae6a247824e44a6073bc7e73ecb3c500fd

22 years agoadded shell command ".databases" to list name and file of open ones. (CVS 953)
jplyon [Sun, 4 May 2003 07:25:57 +0000 (07:25 +0000)] 
added shell command ".databases" to list name and file of open ones. (CVS 953)

FossilOrigin-Name: 741a5a8d3975fb5db18914b7879b12aead59279b

22 years agonew section for keywords, more docs for attached databases , links, cleanup (CVS...
jplyon [Sun, 4 May 2003 07:02:55 +0000 (07:02 +0000)] 
new section for keywords, more docs for attached databases , links, cleanup (CVS 952)

FossilOrigin-Name: 87e1b6a936972670771cf90670aeb4308ba0a30a

22 years agoMore documentation updates. (CVS 951)
drh [Sat, 3 May 2003 19:04:03 +0000 (19:04 +0000)] 
More documentation updates. (CVS 951)

FossilOrigin-Name: 24b9b569240d2108b17420d85cafdc718c67269f

22 years ago- added entry for ATTACH DATABASE.
jplyon [Sat, 3 May 2003 04:55:19 +0000 (04:55 +0000)] 
- added entry for ATTACH DATABASE.
- added entry for DETACH DATABASE.
- added soundex() function.
- added some new TEMP modifiers.
- added new VACUUM behavior.
- added the Oracle8 outer join "(+)" syntax.
- documented the modulus/remainder operator %.
- added ALL as alternative to DISTINCT in SELECT.
- fixed assignment list in UPDATE to use * metacharacter.
- fixed value in PRAGMA to be optional.
- added link from INSERT topic to REPLACE.
- added optional CONSTRAINT <name> before column constraints.
- skip 2 lines before each Section in the TCL source. (CVS 950)

FossilOrigin-Name: fd28c5229ece1d90e24d0ecaa518d8df5a4f55f0

22 years agoAdditional tests of the new flattener added. Ticket #272. (CVS 949)
drh [Fri, 2 May 2003 16:44:25 +0000 (16:44 +0000)] 
Additional tests of the new flattener added.  Ticket #272. (CVS 949)

FossilOrigin-Name: 8d9ee45ab487614191e8d6aef845141fdddf832a

22 years agoEnhance the query flattener to handle subqueries that are joins.
drh [Fri, 2 May 2003 16:04:17 +0000 (16:04 +0000)] 
Enhance the query flattener to handle subqueries that are joins.
All regressions pass but new tests need to be added before release.
Ticket #272. (CVS 948)

FossilOrigin-Name: ad57693e9f1b83a8cc4d028264b35018a9a4a701

22 years agoVDBE cursors numbers for tables in a join do not have to be consecutive.
drh [Fri, 2 May 2003 14:32:12 +0000 (14:32 +0000)] 
VDBE cursors numbers for tables in a join do not have to be consecutive.
This is one step on the road to fixing ticket #272. (CVS 947)

FossilOrigin-Name: be7aed2011b4af868b6a0c370c3d41354ae0cdf4

22 years agoCorrectly create an index that uses an INTEGER PRIMARY KEY as one of columns
drh [Thu, 1 May 2003 16:56:03 +0000 (16:56 +0000)] 
Correctly create an index that uses an INTEGER PRIMARY KEY as one of columns
to be indexed. (CVS 946)

FossilOrigin-Name: 6d019e0baa3219614a9bc5b550a0f9fe3f7e731a

22 years agoIn the shell tool, delay opening the database until it is needed but also
drh [Wed, 30 Apr 2003 11:38:26 +0000 (11:38 +0000)] 
In the shell tool, delay opening the database until it is needed but also
make sure it is opened before trying to use the "db" pointer.  Ticket #302. (CVS 945)

FossilOrigin-Name: 20fcead42bc875f13eec52971530342ff00c5eda

22 years agoAccept a "/" or "go" on a line by itself as an SQL statement terminator
drh [Tue, 29 Apr 2003 18:01:28 +0000 (18:01 +0000)] 
Accept a "/" or "go" on a line by itself as an SQL statement terminator
in the command-line shell.  This allows SQL Server and Oracle scripts to
be played into SQLite without change. (CVS 944)

FossilOrigin-Name: 8211f57b38b87a42c856e267bd243984b5abf9cc

22 years agoAllow the ASC or DESC keyword to appear after a column name in a CREATE INDEX
drh [Tue, 29 Apr 2003 17:19:18 +0000 (17:19 +0000)] 
Allow the ASC or DESC keyword to appear after a column name in a CREATE INDEX
statement.  SQLite indices are aways ASC (ascending) regardless of which
keyword is used. (CVS 943)

FossilOrigin-Name: 1a0c542088618ba24d1efae9b13a8eca104d6cc8

22 years agoThe sqlite_complete() function should ignore carriage-return characters.
drh [Tue, 29 Apr 2003 16:20:44 +0000 (16:20 +0000)] 
The sqlite_complete() function should ignore carriage-return characters.
(Oops - some unrelated edits also made it into this check-in.) (CVS 942)

FossilOrigin-Name: c6bf62e41cf44e8ebf740b103204b00e8b826c90

22 years agoIn the test code, make several attempts to convert a pointer to a string
drh [Sat, 26 Apr 2003 13:19:38 +0000 (13:19 +0000)] 
In the test code, make several attempts to convert a pointer to a string
and test each attempt to make sure it works before returnning, in order to
work around incompatibilities between various systems.  Ticket #284. (CVS 941)

FossilOrigin-Name: 333011ffddc0be91f76811458f03ad1ec0331b51

22 years agoFix the shell tool to do a better job of ignoring whitespace. Ticket #234. (CVS...
drh [Sat, 26 Apr 2003 03:03:06 +0000 (03:03 +0000)] 
Fix the shell tool to do a better job of ignoring whitespace.  Ticket #234. (CVS 940)

FossilOrigin-Name: 639957e9f793eddce027050d2655863d82fe8ac9

22 years agoOnly print the "Loading resources from..." line when the output is a TTY.
drh [Sat, 26 Apr 2003 02:50:11 +0000 (02:50 +0000)] 
Only print the "Loading resources from..." line when the output is a TTY.
Ticket #168. (CVS 939)

FossilOrigin-Name: 92ded93376635f37e2f5a7a8f4077c85d5bce735

22 years agoDo not use the return value of fcntl() to find the reason that it failed.
drh [Sat, 26 Apr 2003 02:40:45 +0000 (02:40 +0000)] 
Do not use the return value of fcntl() to find the reason that it failed.
Use errno instead.  Tickets #240 and #270. (CVS 938)

FossilOrigin-Name: acf9e9802fa6396df5653ca4e72ab4ec2333509d

22 years agoFix the sqlite_complete() routine so that it recognizes /*...*/ comments.
drh [Sat, 26 Apr 2003 02:31:54 +0000 (02:31 +0000)] 
Fix the sqlite_complete() routine so that it recognizes /*...*/ comments.
Ticket #277. (CVS 937)

FossilOrigin-Name: ef8eb580fc6c40264219c2ae77a9c4f8a5803c8b

22 years agoReport the correct authorization context in the authorization callback
drh [Fri, 25 Apr 2003 17:52:11 +0000 (17:52 +0000)] 
Report the correct authorization context in the authorization callback
when coding an INSTEAD OF trigger on an update or delete. (CVS 936)

FossilOrigin-Name: 67746833fc8de3afff80db413bd63a362bb28218

22 years agoAdd tests to insure VACUUM works in the presence of I/O errors. Fix some
drh [Fri, 25 Apr 2003 15:37:57 +0000 (15:37 +0000)] 
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

22 years agoWork around a name collision problem on windows. (CVS 934)
drh [Fri, 25 Apr 2003 13:28:02 +0000 (13:28 +0000)] 
Work around a name collision problem on windows. (CVS 934)

FossilOrigin-Name: c3b1f84dfce13b2523c9923e4270577862ca0595

22 years agoMake VACUUM work even if multiple processes have the database open at once. (CVS...
drh [Fri, 25 Apr 2003 13:22:51 +0000 (13:22 +0000)] 
Make VACUUM work even if multiple processes have the database open at once. (CVS 933)

FossilOrigin-Name: caa960289f3d1f5e8f35a94e9e4321996c211ed2

22 years agoExplicit casts to squelch bogus warnings for vc++. Ticket #194. (CVS 932)
drh [Fri, 25 Apr 2003 03:13:25 +0000 (03:13 +0000)] 
Explicit casts to squelch bogus warnings for vc++.  Ticket #194. (CVS 932)

FossilOrigin-Name: cb808c14bc14e7bd1cfff134ae5206ace451f2df

22 years agoGet VACUUM working again - with test cases. Some other minor cleanups. (CVS 931)
drh [Fri, 25 Apr 2003 02:43:08 +0000 (02:43 +0000)] 
Get VACUUM working again - with test cases.  Some other minor cleanups. (CVS 931)

FossilOrigin-Name: 5afb88008fed253e6d1fc0ed5172370b61d3727b

22 years agoFix some issues with INSTEAD OF triggers. (CVS 930)
drh [Thu, 24 Apr 2003 01:45:04 +0000 (01:45 +0000)] 
Fix some issues with INSTEAD OF triggers. (CVS 930)

FossilOrigin-Name: 206b17397b1d2b55179c935927ff1d8215728c32

22 years agoRemove the begin_hook and commit_hook APIs. They were a bad idea. Add a
drh [Wed, 23 Apr 2003 12:25:23 +0000 (12:25 +0000)] 
Remove the begin_hook and commit_hook APIs.  They were a bad idea.  Add a
"trace" method to the TCL interface. (CVS 929)

FossilOrigin-Name: 6289b863590ecc5de3d1efaaa60aa6f3f64fefb3

22 years agoUpdate the authorizer API so that it reports the database that table and
drh [Tue, 22 Apr 2003 20:30:37 +0000 (20:30 +0000)] 
Update the authorizer API so that it reports the database that table and
indices belong to and so that it reports when actions are taken in response
to a trigger. (CVS 928)

FossilOrigin-Name: c675a5504138f34cae6def782b5d3add2c67d2bc

22 years agoCheck for readline libs now adds appropriate curses or termcap lib when needed (CVS...
paul [Tue, 22 Apr 2003 08:04:49 +0000 (08:04 +0000)] 
Check for readline libs now adds appropriate curses or termcap lib when needed (CVS 927)

FossilOrigin-Name: 393dd91c252531bb5abfe424b86a5f7eb20edcfc

22 years agoAdd support for TEMPORARY triggers. Such triggers can write temporary or
drh [Mon, 21 Apr 2003 18:48:45 +0000 (18:48 +0000)] 
Add support for TEMPORARY triggers.  Such triggers can write temporary or
permanent tables. (CVS 926)

FossilOrigin-Name: 58ddd587b0f5d565ae3b0ba3a1fa5c20d459f3fc

22 years agoAdd more tests for the in-memory database. (CVS 925)
drh [Sun, 20 Apr 2003 23:45:23 +0000 (23:45 +0000)] 
Add more tests for the in-memory database. (CVS 925)

FossilOrigin-Name: 11cab41c4f02cdddc4fd3f57555573ac2814a81b

22 years agoAdded tests for the in-memory database backend. Also updated some comments
drh [Sun, 20 Apr 2003 17:29:23 +0000 (17:29 +0000)] 
Added tests for the in-memory database backend.  Also updated some comments
in other modules. (CVS 924)

FossilOrigin-Name: fb89adf4d1325c5ea471759ebfd8df7faa4f9a80

22 years agoAlign config vars controlling in-memory DB with code (CVS 923)
paul [Sun, 20 Apr 2003 11:46:34 +0000 (11:46 +0000)] 
Align config vars controlling in-memory DB with code (CVS 923)

FossilOrigin-Name: 921656db9e3df865aea6b1abe1bc40b1acbeeb47

22 years agoReset pCur->eSkip on a MoveTo (CVS 922)
paul [Sun, 20 Apr 2003 11:41:04 +0000 (11:41 +0000)] 
Reset pCur->eSkip on a MoveTo (CVS 922)

FossilOrigin-Name: d983accf4a702158f03742fb11959d0fd035a4b4

22 years agoUpdate comments. Remove unused field from the Index structure. (CVS 921)
drh [Sun, 20 Apr 2003 00:00:23 +0000 (00:00 +0000)] 
Update comments.  Remove unused field from the Index structure. (CVS 921)

FossilOrigin-Name: 7084e05093e72f6e5b65ff0b574336898396826f

22 years agoModify the optimizer so that it does not assume that functions are
drh [Sat, 19 Apr 2003 17:27:24 +0000 (17:27 +0000)] 
Modify the optimizer so that it does not assume that functions are
constant. (CVS 920)

FossilOrigin-Name: 767f1af236d115e8388e1dcc28a4df1be48d6c85

22 years agoBug in WHERE clause processing fixed. Ticket #298. (CVS 919)
drh [Sat, 19 Apr 2003 16:34:04 +0000 (16:34 +0000)] 
Bug in WHERE clause processing fixed.  Ticket #298. (CVS 919)

FossilOrigin-Name: 9b619c98b586a207a87942640d3a94220ff8ab02

22 years agofix a memory leak in btree_rb.c. (CVS 918)
drh [Fri, 18 Apr 2003 22:52:38 +0000 (22:52 +0000)] 
fix a memory leak in btree_rb.c. (CVS 918)

FossilOrigin-Name: 1e3d0d094776c2a429fa2a3eebc036a0b6374862

22 years agoFix for ticket #297 - bug in sqliteSortCompare(). (CVS 917)
drh [Fri, 18 Apr 2003 17:45:14 +0000 (17:45 +0000)] 
Fix for ticket #297 - bug in sqliteSortCompare(). (CVS 917)

FossilOrigin-Name: 4ded1965eb83dee0f28c27ba935d615c77331571

22 years agoThe VACUUM command is now functioning (again). Need to do more testing. (CVS 916)
drh [Fri, 18 Apr 2003 02:31:04 +0000 (02:31 +0000)] 
The VACUUM command is now functioning (again).  Need to do more testing. (CVS 916)

FossilOrigin-Name: 6e948d9aaea109c683ac4fcc4714e335b545d22b