]> git.ipfire.org Git - thirdparty/sqlite.git/log
thirdparty/sqlite.git
22 years agoPreparing for the 2.7.4 release. (CVS 802)
drh [Tue, 17 Dec 2002 14:30:42 +0000 (14:30 +0000)] 
Preparing for the 2.7.4 release. (CVS 802)

FossilOrigin-Name: f685ae15b1179baeadfadbaef0a73b001c96fac5

22 years agoIf the "fake_big_file" command fails, be sure to close the file before
drh [Tue, 17 Dec 2002 14:19:49 +0000 (14:19 +0000)] 
If the "fake_big_file" command fails, be sure to close the file before
returning. (CVS 801)

FossilOrigin-Name: fa1b5e2119617b111c6b463bbf641ddcb9972cae

22 years agoMake sure the host machine has enough disk space before running the
drh [Tue, 17 Dec 2002 14:13:48 +0000 (14:13 +0000)] 
Make sure the host machine has enough disk space before running the
large file tests. (CVS 800)

FossilOrigin-Name: b1ec547865a76541951433630bd4528d1988a4de

22 years agoTake care not to modify the sqlite* pointer to sqlite_exec() if we suspect
drh [Tue, 17 Dec 2002 13:05:25 +0000 (13:05 +0000)] 
Take care not to modify the sqlite* pointer to sqlite_exec() if we suspect
that the pointer is stale - that it has previously been passed to
sqlite_close().  Possible fix for ticket #202.  Prior to this fix, test
misuse-5.3 was causing a change to a buffer that had been previously free()-ed. (CVS 799)

FossilOrigin-Name: f04547edfa1643ce52925d317915badfc676bd8b

22 years agoSave the full pathname of the database file so that journalling still works
drh [Sat, 7 Dec 2002 21:45:14 +0000 (21:45 +0000)] 
Save the full pathname of the database file so that journalling still works
even if the user changes working directories after opening the databae.
Ticket #200. (CVS 798)

FossilOrigin-Name: 1c58b4fc032c5975dcce9b8ae844c0e516254a17

22 years agoFix a bug in the reverse scan logic that comes up when the table being
drh [Wed, 4 Dec 2002 22:29:28 +0000 (22:29 +0000)] 
Fix a bug in the reverse scan logic that comes up when the table being
scanned is empty.  Add additional tests for the reverse scan. (CVS 797)

FossilOrigin-Name: 0051c87d5e8d07fae09da2eb7b0d8cbd1bbd3c8e

22 years agoFixes to the logic that decides if the ORDER BY can be ignored due to the
drh [Wed, 4 Dec 2002 21:50:16 +0000 (21:50 +0000)] 
Fixes to the logic that decides if the ORDER BY can be ignored due to the
use of an index.  Tests updated. (CVS 796)

FossilOrigin-Name: bfb9a2aa939ecffc5dc2c7c23bddd57d357bdf13

22 years agoScan the table backwards if there is an ORDER BY ... DESC clause that can
drh [Wed, 4 Dec 2002 20:01:06 +0000 (20:01 +0000)] 
Scan the table backwards if there is an ORDER BY ... DESC clause that can
be satisfied by an index. (CVS 795)

FossilOrigin-Name: c7a3487981de0ed5b43ea3ff4d46ab4437068dca

22 years agoAdd the sqliteBtreePrevious() routine to the BTree module API. This is
drh [Wed, 4 Dec 2002 13:40:25 +0000 (13:40 +0000)] 
Add the sqliteBtreePrevious() routine to the BTree module API.  This is
in anticipation of implementing reverse order searching of a table. (CVS 794)

FossilOrigin-Name: 0ad1d93879bee0d34b122591c025192a51b8490f

22 years agoAllow an aggregate function in the HAVING clause even if no aggregates appear
drh [Tue, 3 Dec 2002 02:34:49 +0000 (02:34 +0000)] 
Allow an aggregate function in the HAVING clause even if no aggregates appear
in the result set.  Ticket #187. (CVS 793)

FossilOrigin-Name: 33c6fd6b3dc271fa1f2d4500b4f76c736accefce

22 years agoHonor ORDER BY clauses in VIEWs. Ticket #193. (CVS 792)
drh [Tue, 3 Dec 2002 02:22:52 +0000 (02:22 +0000)] 
Honor ORDER BY clauses in VIEWs.  Ticket #193. (CVS 792)

FossilOrigin-Name: dbf7893234a6c5d6bb2d931e52080bb05784c0c9

22 years agoChange to the pager to avoid opening journal files unnecessarily. This can
drh [Mon, 2 Dec 2002 04:25:19 +0000 (04:25 +0000)] 
Change to the pager to avoid opening journal files unnecessarily.  This can
sometimes results in a significant speed improvement. (CVS 791)

FossilOrigin-Name: fa5c042585c601449ede7319d0c5993cd8ba75a4

22 years agoFixed large file support under Linux. I'm unable to test under Windows.
drh [Sun, 1 Dec 2002 02:00:57 +0000 (02:00 +0000)] 
Fixed large file support under Linux.  I'm unable to test under Windows.
Ticket #191. (CVS 790)

FossilOrigin-Name: 9864a1265b5a37c12b0dd8446d81b84c5a3acc43

22 years agoAdd the "space_used.tcl" script to the tools directory. This script is used
drh [Sun, 24 Nov 2002 14:52:27 +0000 (14:52 +0000)] 
Add the "space_used.tcl" script to the tools directory.  This script is used
to measure how much disk space is used by each table and index of a database. (CVS 789)

FossilOrigin-Name: 83b2c27a568cd67cd5162d513766b23ff9fc2227

22 years agoAutomatically determine if pointers are 4 or 8 bytes in size during the
drh [Wed, 20 Nov 2002 11:55:18 +0000 (11:55 +0000)] 
Automatically determine if pointers are 4 or 8 bytes in size during the
compilation process.  Ticket #190. (CVS 788)

FossilOrigin-Name: dd5396a73a782b6abe9da3de43a5ee11e0dddbb2

22 years agoGet the new large file code working with the Borland compiler. Ticket #195. (CVS...
drh [Wed, 20 Nov 2002 11:07:59 +0000 (11:07 +0000)] 
Get the new large file code working with the Borland compiler.  Ticket #195. (CVS 787)

FossilOrigin-Name: da4a79e2891aa81e2e6d96689f99b3924f940dd5

22 years agoRemove extra </TD> from HTML output. Ticket #189. (CVS 786)
drh [Mon, 11 Nov 2002 13:56:47 +0000 (13:56 +0000)] 
Remove extra </TD> from HTML output.  Ticket #189. (CVS 786)

FossilOrigin-Name: dc5d9c129c566bf57d108b824ba486cfe070dda6

22 years agoBack out the changes in the pager that sorted pages prior to writing them
drh [Mon, 11 Nov 2002 01:04:47 +0000 (01:04 +0000)] 
Back out the changes in the pager that sorted pages prior to writing them
to the database.  Additional measurements showed no performance gains. (CVS 785)

FossilOrigin-Name: 745d66395daf5cb8463305bbc9e4219534d2b7cf

22 years agoReplace the atoi() library routine with a faster home-grown version in the
drh [Mon, 11 Nov 2002 00:05:42 +0000 (00:05 +0000)] 
Replace the atoi() library routine with a faster home-grown version in the
VDBE.  This gives a dramatic speed improvement for some kinds of queries. (CVS 784)

FossilOrigin-Name: 263a8ca40f7ff66fbdcb43bf9032391d5b1e68bd

22 years agoTwo optimizations to the pager: (1) Write dirty pages back to the database
drh [Sun, 10 Nov 2002 23:32:56 +0000 (23:32 +0000)] 
Two optimizations to the pager: (1) Write dirty pages back to the database
file in order and (2) Keep a separate list of in-memory pages that are in
the checkpoint journal in order to speed a checkpoint commit. (CVS 783)

FossilOrigin-Name: a6ef6657a4377684dc2fce7be2bbf009fd2d2f37

22 years agoTry to better detect when the library is compiled for large file support (LFS)
drh [Sat, 9 Nov 2002 00:33:15 +0000 (00:33 +0000)] 
Try to better detect when the library is compiled for large file support (LFS)
but the support is not available in the host OS kernel. (CVS 782)

FossilOrigin-Name: a29d60ecc5ee3f535142a81f56eecbef7875ef22

22 years agoAdd large file support to Windows. Change large file support for Unix so
drh [Wed, 6 Nov 2002 14:08:11 +0000 (14:08 +0000)] 
Add large file support to Windows.  Change large file support for Unix so
that it compiles automatically - without requiring special options on the
compiler command line. (CVS 781)

FossilOrigin-Name: 2008b56fe11e49d52e28f47d14ccd70504e6c094

22 years agoChanges to include files so that the >2GB file patch will compile under BSD. (CVS...
drh [Wed, 6 Nov 2002 00:59:44 +0000 (00:59 +0000)] 
Changes to include files so that the >2GB file patch will compile under BSD. (CVS 780)

FossilOrigin-Name: 81bb1aed5e9094a9655bd03614bb111d79896928

22 years agoUpdate the FAQ to explain how to enable large file support. (CVS 779)
drh [Tue, 5 Nov 2002 23:24:38 +0000 (23:24 +0000)] 
Update the FAQ to explain how to enable large file support. (CVS 779)

FossilOrigin-Name: 4caf624e9061fe7489a8e3c6892975036a2272d5

22 years agoAdd support for databases larger than 2GB under Unix. Must be compiled
drh [Tue, 5 Nov 2002 23:03:02 +0000 (23:03 +0000)] 
Add support for databases larger than 2GB under Unix.  Must be compiled
with -D_FILE_OFFSET_BITS=64 and -D_LARGEFILE_SOURCE in order to work with
larger databases. (CVS 778)

FossilOrigin-Name: a3f67fe9121ca4655510094fe775b8603a87800e

22 years agoAdd the sqlite_version() SQL function as a built-in. (CVS 777)
drh [Mon, 4 Nov 2002 19:32:25 +0000 (19:32 +0000)] 
Add the sqlite_version() SQL function as a built-in. (CVS 777)

FossilOrigin-Name: 7c8c0e7633dca00bde7bc7c22075f688c034c200

22 years agoImprovements in threadtest.c (for Unix) and some minor bug fixes that result
drh [Fri, 1 Nov 2002 01:55:36 +0000 (01:55 +0000)] 
Improvements in threadtest.c (for Unix) and some minor bug fixes that result
from the better testing. (CVS 776)

FossilOrigin-Name: 326e0983c34b584a3c4a2300399bff0a8281b9f8

22 years agoVersion 2.7.3 (CVS 775)
drh [Thu, 31 Oct 2002 00:15:10 +0000 (00:15 +0000)] 
Version 2.7.3 (CVS 775)

FossilOrigin-Name: 4051dbdb0552620eaff2ccef02f64a2ff97a8dfb

22 years agoFix an assert that might fail if malloc() fails. (CVS 774)
drh [Thu, 31 Oct 2002 00:09:39 +0000 (00:09 +0000)] 
Fix an assert that might fail if malloc() fails. (CVS 774)

FossilOrigin-Name: 8ad018944c3aa8f58e1c68b1fa634ef922d6476f

22 years agoBump the version number prior to the release of version 2.7.3. (CVS 773)
drh [Wed, 30 Oct 2002 23:04:27 +0000 (23:04 +0000)] 
Bump the version number prior to the release of version 2.7.3. (CVS 773)

FossilOrigin-Name: bc7c7d87e550c786d5bdb4169a0ad75db3fb066a

22 years agoIn the VDBE, check to make sure a set has been initialized before using it.
drh [Wed, 30 Oct 2002 22:42:58 +0000 (22:42 +0000)] 
In the VDBE, check to make sure a set has been initialized before using it.
Ticket #185. (CVS 772)

FossilOrigin-Name: 8c4cbdd05517e91879a0f2c4559d0f0518d2385b

22 years agoMinimal support for oracle8 outer join syntax. (CVS 771)
drh [Sun, 27 Oct 2002 19:35:33 +0000 (19:35 +0000)] 
Minimal support for oracle8 outer join syntax. (CVS 771)

FossilOrigin-Name: 31df3690d0fe4bd4a293cbe8ca9a26c98c3ed3ce

22 years agoCorrectly handle column names and string constants in parentheses.
drh [Tue, 22 Oct 2002 23:38:04 +0000 (23:38 +0000)] 
Correctly handle column names and string constants in parentheses.
Fix for ticket #179. (CVS 770)

FossilOrigin-Name: 3b68aa25c451b7c09ece457ac2b70a9a5d93508a

22 years agoTake care to track ephemeral strings in the VDBE and make copies of ephemeral
drh [Tue, 22 Oct 2002 15:04:34 +0000 (15:04 +0000)] 
Take care to track ephemeral strings in the VDBE and make copies of ephemeral
strings that need to be preserved.  Ticket #177. (CVS 769)

FossilOrigin-Name: 562da534bbb605a8ce15824135b012ef2d86bbeb

22 years agoRework the changes for ticket #176 (check-ins (760) and (761)) to be
drh [Sun, 20 Oct 2002 18:19:45 +0000 (18:19 +0000)] 
Rework the changes for ticket #176 (check-ins (760) and (761)) to be
more consistent with the rest of the source code. (CVS 768)

FossilOrigin-Name: f50a177b4239bc7a83563ac9361e830ec04e81fb

22 years agoThe "table_info" pragma reports unspecified column types as "numeric" instead
drh [Sun, 20 Oct 2002 16:00:27 +0000 (16:00 +0000)] 
The "table_info" pragma reports unspecified column types as "numeric" instead
of "text".  Fix for ticket #174. (CVS 767)

FossilOrigin-Name: 395ab5fac201a37d6eca833ffd6f58ac8a0121a2

22 years agoExport the sqlite_function_type function from windows DLLs. Ticket #173. (CVS 766)
drh [Sun, 20 Oct 2002 15:55:01 +0000 (15:55 +0000)] 
Export the sqlite_function_type function from windows DLLs.  Ticket #173. (CVS 766)

FossilOrigin-Name: d5470dfe102ef9b1dac3b15a2f5cc225e3c26129

22 years agoWork around a bug in the Borland C compiler. Ticket #172. (CVS 765)
drh [Sun, 20 Oct 2002 15:53:03 +0000 (15:53 +0000)] 
Work around a bug in the Borland C compiler.  Ticket #172. (CVS 765)

FossilOrigin-Name: 3ef2925650bfbeb4ee5dbd0aaf8e606fc4cd2be1

22 years agoMake sure malloc(0) always returns NULL. Fix for ticket #171. (CVS 764)
drh [Sun, 20 Oct 2002 15:46:22 +0000 (15:46 +0000)] 
Make sure malloc(0) always returns NULL.  Fix for ticket #171. (CVS 764)

FossilOrigin-Name: 4622b7ce8f4727a6405ddf4f0af701db86da86bf

22 years agoSpeed improvement by avoiding a call to sqliteBtreeLast() when inserting a
drh [Sat, 19 Oct 2002 20:16:37 +0000 (20:16 +0000)] 
Speed improvement by avoiding a call to sqliteBtreeLast() when inserting a
new row into a table. (CVS 763)

FossilOrigin-Name: d0af59fe6b9d5d026786e7cce1c49c208a0335cc

22 years agoFix the URL for pointing to MinGW on the homepage. (CVS 762)
drh [Sat, 19 Oct 2002 20:13:51 +0000 (20:13 +0000)] 
Fix the URL for pointing to MinGW on the homepage. (CVS 762)

FossilOrigin-Name: 16aad98aad4d8dd4a8400cdee32004b8c4785d60

22 years agoMinor coding fix in getting the windows platform version, when multithreading (CVS...
mike [Thu, 17 Oct 2002 09:01:31 +0000 (09:01 +0000)] 
Minor coding fix in getting the windows platform version, when multithreading (CVS 761)

FossilOrigin-Name: b53ab71d074ada47ce22bd161f6aee24587302af

22 years agofix for locking in Windows (CVS 760)
mike [Thu, 17 Oct 2002 00:38:54 +0000 (00:38 +0000)] 
fix for locking in Windows (CVS 760)

FossilOrigin-Name: 83add34f64895a4b465881213eba82f3b1f5c964

23 years agoRemove the call to srand() and add better comments to the sqliteOsRandomSeed()
drh [Sat, 12 Oct 2002 13:43:59 +0000 (13:43 +0000)] 
Remove the call to srand() and add better comments to the sqliteOsRandomSeed()
routine.  Ticket #163. (CVS 759)

FossilOrigin-Name: d87a886d8f63f54466848151e2b0e8565b338593

23 years agoFix a bug in the left outer join logic. (CVS 758)
drh [Mon, 30 Sep 2002 12:36:26 +0000 (12:36 +0000)] 
Fix a bug in the left outer join logic. (CVS 758)

FossilOrigin-Name: 6c0f44bd6374010f7a4a091e585eb36e0665f96f

23 years agoFix an uninitialized variable that could cause problems when comparing
drh [Mon, 30 Sep 2002 01:31:21 +0000 (01:31 +0000)] 
Fix an uninitialized variable that could cause problems when comparing
two NULLs. (CVS 757)

FossilOrigin-Name: 015425001813971f6d4c97c18d64c7f14fa1955f

23 years agoVersion 2.7.2 (CVS 756)
drh [Wed, 25 Sep 2002 19:50:17 +0000 (19:50 +0000)] 
Version 2.7.2 (CVS 756)

FossilOrigin-Name: 59ba43449a53fb32e2dd4259285af8b4206c298a

23 years agoBump the version number to 2.7.2. (CVS 755)
drh [Wed, 25 Sep 2002 19:26:59 +0000 (19:26 +0000)] 
Bump the version number to 2.7.2. (CVS 755)

FossilOrigin-Name: a164528e8c6df3569ab178a3b737744dcccb64e7

23 years agoBug fix: When multiple SQL statements were passed into a single sqlite_exec() call...
drh [Wed, 25 Sep 2002 19:04:07 +0000 (19:04 +0000)] 
Bug fix: When multiple SQL statements were passed into a single sqlite_exec() call, execution speed would decrease for each statement executed because VDBE cursors were not being reused.  Now the cursors are reused and execution time is linear. (CVS 754)

FossilOrigin-Name: b0d27a377a9f6134f81108fe45c8c868ab4d4411

23 years agoMake sure memory malloced() for structures is aligned on an even byte boundry.
drh [Sat, 21 Sep 2002 15:57:57 +0000 (15:57 +0000)] 
Make sure memory malloced() for structures is aligned on an even byte boundry.
Solaris segfaults otherwise. (CVS 753)

FossilOrigin-Name: 14ebe30bf5937effdc388e23e998ba1a34fb0a29

23 years agoFix a bug in the OP_MemStore operator of the VDBE. A realloc() might
drh [Tue, 17 Sep 2002 03:20:46 +0000 (03:20 +0000)] 
Fix a bug in the OP_MemStore operator of the VDBE.  A realloc() might
occur but pointer to the old buffer were not being moved over to
the new buffer. (CVS 752)

FossilOrigin-Name: 29145746f34438bd830c763872c5e82572150357

23 years agoModify the sqlite_encode_binary() routine to return the strlen() of the
drh [Mon, 16 Sep 2002 11:44:05 +0000 (11:44 +0000)] 
Modify the sqlite_encode_binary() routine to return the strlen() of the
encoded string.  Also fix a bug that occurs when attempting to encode
a zero-length buffer. (CVS 751)

FossilOrigin-Name: f12c3a25ba5408c2a7c846a9f160416fd188cd26

23 years agoDo not put a write lock on the main database file when writing to a temporary
drh [Sat, 14 Sep 2002 13:47:32 +0000 (13:47 +0000)] 
Do not put a write lock on the main database file when writing to a temporary
table. (CVS 750)

FossilOrigin-Name: 3f253afe15d4f7392555f340a41d780d1248087f

23 years agoRename all tests so that the first part of the test name corresponds to the
drh [Sat, 14 Sep 2002 12:04:56 +0000 (12:04 +0000)] 
Rename all tests so that the first part of the test name corresponds to the
file that contains that test.  This makes it much easier to find a particular
test after it fail. (CVS 749)

FossilOrigin-Name: 6cb80ae10af60863cc25c22a6442ba1d43b7409c

23 years agoUpdate the SQL language documentation to talk about SELECT DISTINCT. (CVS 748)
drh [Thu, 12 Sep 2002 14:08:32 +0000 (14:08 +0000)] 
Update the SQL language documentation to talk about SELECT DISTINCT. (CVS 748)

FossilOrigin-Name: ef7116751ddc4e82228c115b0a332ffb47a22ae5

23 years agoFix for ticket #147: Honor the ORDER BY and LIMIT clauses in a SELECT even
drh [Sun, 8 Sep 2002 17:23:41 +0000 (17:23 +0000)] 
Fix for ticket #147: Honor the ORDER BY and LIMIT clauses in a SELECT even
if the destination of that SELECT is a subroutine call. (CVS 747)

FossilOrigin-Name: 23fe36c7e88282f6d1b7547ab892ea88f0e65262

23 years agoModify the build process so that the VDBE opcode numbers and the table
drh [Sun, 8 Sep 2002 00:04:54 +0000 (00:04 +0000)] 
Modify the build process so that the VDBE opcode numbers and the table
that contains the opcode names are both automatically generated. This makes
it much easier to create new VDBE opcodes. (CVS 1727)

FossilOrigin-Name: c4f0bb02387a6e6f254320e1e5eef3d5d8a3c538

23 years agoModify the build process so that the VDBE opcode numbers and the table
drh [Sun, 8 Sep 2002 00:04:50 +0000 (00:04 +0000)] 
Modify the build process so that the VDBE opcode numbers and the table
that contains the opcode names are both automatically generated. This makes
it much easier to create new VDBE opcodes. (CVS 746)

FossilOrigin-Name: eb54d455b0325d3be96daf6c220c4ee3e0da1a85

23 years agoFix a memory leak that occurred when sqlite_open() failed. (CVS 745)
drh [Thu, 5 Sep 2002 23:21:37 +0000 (23:21 +0000)] 
Fix a memory leak that occurred when sqlite_open() failed. (CVS 745)

FossilOrigin-Name: a876021304a5de7ede1bf835971da7e328d1af07

23 years agoRewind the checkpoint journal after each statement to avoid allowing
drh [Thu, 5 Sep 2002 19:10:33 +0000 (19:10 +0000)] 
Rewind the checkpoint journal after each statement to avoid allowing
the file to become too large. (CVS 744)

FossilOrigin-Name: f4288520dfd1587446e50fa7ef23f75f6f63a7cf

23 years agoFix for ticket #146: Correctly handle reads of unused disk blocks at the
drh [Thu, 5 Sep 2002 16:08:27 +0000 (16:08 +0000)] 
Fix for ticket #146: Correctly handle reads of unused disk blocks at the
end of the file. (CVS 743)

FossilOrigin-Name: f5c2654768a6201fc554b59f1b2f56bcce738bc4

23 years agoAlways fill in the 5th parameter to sqlite_exec if there is an error. (CVS 742)
drh [Tue, 3 Sep 2002 19:43:23 +0000 (19:43 +0000)] 
Always fill in the 5th parameter to sqlite_exec if there is an error. (CVS 742)

FossilOrigin-Name: 7f8fd5c75d614f81ef87f0fc952c341cbc5076d0

23 years agoAdd documentation on NULL handling in SQLite versus other SQL database
drh [Mon, 2 Sep 2002 14:11:02 +0000 (14:11 +0000)] 
Add documentation on NULL handling in SQLite versus other SQL database
engines. (CVS 741)

FossilOrigin-Name: dd8867fc479891ed8fa36c5cf2359e49c6754a8c

23 years agoDetect when the test scripts are being run as root and issue an appropriate
drh [Mon, 2 Sep 2002 12:14:50 +0000 (12:14 +0000)] 
Detect when the test scripts are being run as root and issue an appropriate
error message. (CVS 740)

FossilOrigin-Name: 9ca2c507704f85446d873d5e8429554f2ad4df9e

23 years agoRelax the locking requirements on BTree cursors. Any number of read and
drh [Sun, 1 Sep 2002 23:20:45 +0000 (23:20 +0000)] 
Relax the locking requirements on BTree cursors.  Any number of read and
write cursors can be open at the same time now, but a write cannot occur
as long as one or more read cursors are open.

Before this change, one or more read cursors could be open on a table,
or a single write cursor, but not both.  Both policies have the same
desirable effect: they prevent writes to a table while a sequential scan
of that table is underway.  But the new policy is a little less restrictive.
Both policies prevent an UPDATE from occurring inside a SELECT (which is
what we want) but the new policy allows a SELECT to occur inside an
UPDATE. (CVS 739)

FossilOrigin-Name: 8c2a0836980341faa479cfe6c716409e6057367d

23 years agoParse foreign key constraints and populate internal data structures
drh [Sat, 31 Aug 2002 18:53:06 +0000 (18:53 +0000)] 
Parse foreign key constraints and populate internal data structures
appropriately.  Constraints are still not enforced. (CVS 738)

FossilOrigin-Name: 170711ca65dc894d0486b9d575edb8f1708250fb

23 years agoVersion 2.7.1 (CVS 737)
drh [Sat, 31 Aug 2002 17:02:43 +0000 (17:02 +0000)] 
Version 2.7.1 (CVS 737)

FossilOrigin-Name: 5f51e13d56a58d7c263043cae9898d796017a369

23 years agoChange the version number for release 2.7.1. (CVS 736)
drh [Sat, 31 Aug 2002 17:02:25 +0000 (17:02 +0000)] 
Change the version number for release 2.7.1. (CVS 736)

FossilOrigin-Name: b7f788fcc4a26ae42196a209d2e94672321dc154

23 years agoInitial checking of two new test files: format3.test and memleak.test. (CVS 735)
drh [Sat, 31 Aug 2002 16:52:44 +0000 (16:52 +0000)] 
Initial checking of two new test files: format3.test and memleak.test. (CVS 735)

FossilOrigin-Name: 6ffedb90a6478af6548db5298368eeca2b708cdc

23 years agoFix for ticket #145: Include the func.c source file in the build of testfixture
drh [Sat, 31 Aug 2002 16:33:25 +0000 (16:33 +0000)] 
Fix for ticket #145: Include the func.c source file in the build of testfixture
so that the "randstr()" function will be available. (CVS 734)

FossilOrigin-Name: c5e0c6a782aedc4a273aaf8bc2ef60918797e5f1

23 years agoIf the database is locked when sqlite_open() is called, sqlite_exec() should
drh [Thu, 29 Aug 2002 23:59:47 +0000 (23:59 +0000)] 
If the database is locked when sqlite_open() is called, sqlite_exec() should
still honor the busy callback and should return an error message together
with the SQLITE_BUSY result code. (CVS 733)

FossilOrigin-Name: 78a0229a7e5e33fe642847381f5514e6ec30f29f

23 years agoSlightly faster INSERTs from a SELECT by avoiding an intermediate table.
drh [Wed, 28 Aug 2002 03:00:58 +0000 (03:00 +0000)] 
Slightly faster INSERTs from a SELECT by avoiding an intermediate table.
But it didn't make nearly as much difference as I had hoped. (CVS 732)

FossilOrigin-Name: 723362e74f79c784314d042e3a8c8a9bf07cbd5e

23 years agoChange the tokenizer to ignore C-style comments /*...*/ in accordance with
drh [Tue, 27 Aug 2002 14:28:29 +0000 (14:28 +0000)] 
Change the tokenizer to ignore C-style comments /*...*/ in accordance with
SQL99. (CVS 731)

FossilOrigin-Name: f1534489484afdb835ad8e6f97909fbe76dbe414

23 years agoFix for ticket #142: Make sure we get the correct sort order even when the
drh [Mon, 26 Aug 2002 19:55:07 +0000 (19:55 +0000)] 
Fix for ticket #142: Make sure we get the correct sort order even when the
columns being sorted contain NULLs. (CVS 730)

FossilOrigin-Name: 45847390d007718a4b7a4e9fa445136d013113f8

23 years agoVersion 2.7.0 (CVS 729)
drh [Sun, 25 Aug 2002 20:58:11 +0000 (20:58 +0000)] 
Version 2.7.0 (CVS 729)

FossilOrigin-Name: 9e341d9c934c2111be6834743f1ce30463b095b6

23 years agoDocumentation updates prior to the releae of 2.7.0. (CVS 728)
drh [Sun, 25 Aug 2002 20:11:18 +0000 (20:11 +0000)] 
Documentation updates prior to the releae of 2.7.0. (CVS 728)

FossilOrigin-Name: e2d95f85a3c4beeb5f8e78498f52fc00475f38ed

23 years agoFix for ticket #136: Added the OP_RenameCursor VDBE instruction and used it
drh [Sun, 25 Aug 2002 19:20:40 +0000 (19:20 +0000)] 
Fix for ticket #136:  Added the OP_RenameCursor VDBE instruction and used it
to make cursor numbers right on nested subqueries.  Also added OP_Gosub and
OP_Return but have not actually used them for anything yet. (CVS 727)

FossilOrigin-Name: c602603e7cd8dc5c8bb9db2748eacab650de5bf0

23 years agoFix the memory leak introduced by check-in (725). (CVS 726)
drh [Sun, 25 Aug 2002 18:29:11 +0000 (18:29 +0000)] 
Fix the memory leak introduced by check-in (725). (CVS 726)

FossilOrigin-Name: b957dafc26383af514795df18bc7b8f367c9bd21

23 years agoChange the way token memory is allocated in an effort to fix ticket #136.
drh [Sat, 24 Aug 2002 18:24:51 +0000 (18:24 +0000)] 
Change the way token memory is allocated in an effort to fix ticket #136.
There is now a memory leak when using views of views. (CVS 725)

FossilOrigin-Name: 22d8726e61eec0e53893f492cb2163824b87a23e

23 years agoFix for ticket #138: Makefile doesn't use exec_prefix, has some install problems...
jadams [Thu, 22 Aug 2002 18:18:35 +0000 (18:18 +0000)] 
Fix for ticket #138: Makefile doesn't use exec_prefix, has some install problems (CVS 724)

FossilOrigin-Name: 97fc4a71a12b52cda67b5192c3bd7bd10ac0c7a6

23 years agoFix for ticket #137: Use getpwuid() instead of getpwent(). (CVS 723)
drh [Wed, 21 Aug 2002 11:26:41 +0000 (11:26 +0000)] 
Fix for ticket #137: Use getpwuid() instead of getpwent(). (CVS 723)

FossilOrigin-Name: ea011990c552a7a6019b63f9b4341ad6c8663479

23 years agoThis COLLATE keyword was not being parsed correctly inside CREATE TABLE
drh [Sun, 18 Aug 2002 22:41:22 +0000 (22:41 +0000)] 
This COLLATE keyword was not being parsed correctly inside CREATE TABLE
statements - it was being included as part of the datatype.  This fixes
the problem. (CVS 722)

FossilOrigin-Name: 39bd52d33029233d4b22df08975e9ef3c74c260f

23 years agoFix for ticket #110: return an error if trying to start a transaction within a
drh [Sun, 18 Aug 2002 20:28:06 +0000 (20:28 +0000)] 
Fix for ticket #110: return an error if trying to start a transaction within a
transaction or when attempting to commit or rollback outside of a transaction. (CVS 721)

FossilOrigin-Name: df51cb166bf7c5b8b0530cc86df8d2d68de81a40

23 years agoDocumentation updates. (CVS 720)
drh [Sun, 18 Aug 2002 19:09:22 +0000 (19:09 +0000)] 
Documentation updates. (CVS 720)

FossilOrigin-Name: e372a60be8de3332ab6e45d82f21227b8b9acf82

23 years agoFix for ticket #135: Remove unused variables from three files. (CVS 719)
drh [Thu, 15 Aug 2002 13:50:48 +0000 (13:50 +0000)] 
Fix for ticket #135: Remove unused variables from three files. (CVS 719)

FossilOrigin-Name: 8cf17f2a24ee9bd5d1ea66484922819626c412dd

23 years agoMore documentation updates. (CVS 718)
drh [Thu, 15 Aug 2002 13:45:17 +0000 (13:45 +0000)] 
More documentation updates. (CVS 718)

FossilOrigin-Name: 9c0400aa7a0244605828fa6450ea1cc723240b16

23 years agoAdditional test cases and documentation updates. (CVS 717)
drh [Thu, 15 Aug 2002 11:48:13 +0000 (11:48 +0000)] 
Additional test cases and documentation updates. (CVS 717)

FossilOrigin-Name: 048b16c111693727482642e2a19a74a91458fc80

23 years agoFixes and test improvements resulting from code coverage testing. (CVS 716)
drh [Thu, 15 Aug 2002 01:26:09 +0000 (01:26 +0000)] 
Fixes and test improvements resulting from code coverage testing. (CVS 716)

FossilOrigin-Name: 66a0f6a8e25e3eeed78eba4b63b097f921c79d99

23 years agoFix for ticket #134: Change the lemon.c sources to work around a problem with
drh [Wed, 14 Aug 2002 23:18:57 +0000 (23:18 +0000)] 
Fix for ticket #134: Change the lemon.c sources to work around a problem with
the AIX C compiler. (CVS 715)

FossilOrigin-Name: 07f6020bb56d6d1bffdd936017f61cfae5bd134b

23 years agoImplement probabilistic reader/writer locks under windows so that windows
drh [Wed, 14 Aug 2002 12:56:54 +0000 (12:56 +0000)] 
Implement probabilistic reader/writer locks under windows so that windows
can have multiple simultaneous readers. (CVS 714)

FossilOrigin-Name: 2127de3f03537ef2f18120e773f7603e0984ff81

23 years agoDisable sorting by indices if there is a COLLATE subclause in the
drh [Wed, 14 Aug 2002 03:03:57 +0000 (03:03 +0000)] 
Disable sorting by indices if there is a COLLATE subclause in the
ORDER BY clause. (CVS 713)

FossilOrigin-Name: 2438da791afb53b4f1c7a9ff9705d393c86f3cbd

23 years agoFix for ticket #132: make the working directory the last choice for where
drh [Wed, 14 Aug 2002 00:10:44 +0000 (00:10 +0000)] 
Fix for ticket #132: make the working directory the last choice for where
to write temporary files, not the first choice. (CVS 712)

FossilOrigin-Name: 26a4e7e7a3eee62c170ce264cb964a92bc7f52c9

23 years agoUpdate documentation to better explain the typelessness of SQLite and to
drh [Wed, 14 Aug 2002 00:08:12 +0000 (00:08 +0000)] 
Update documentation to better explain the typelessness of SQLite and to
describe the distinction between text and numeric data. (CVS 711)

FossilOrigin-Name: 4ff0f578eca4a8672cf570923e6c015c3ba6b9f4

23 years agoMake the distinction between text and numeric data. (CVS 710)
drh [Tue, 13 Aug 2002 23:02:57 +0000 (23:02 +0000)] 
Make the distinction between text and numeric data. (CVS 710)

FossilOrigin-Name: 310ac4fbaf0ed63f98bfacb55259960be03b0c8b

23 years agoDocumentation and makefile updates. (CVS 709)
drh [Tue, 13 Aug 2002 20:45:39 +0000 (20:45 +0000)] 
Documentation and makefile updates. (CVS 709)

FossilOrigin-Name: 92c403f485390bbd83a5be472e61c974f76d46b1

23 years agoBug fix to the left outer join logic. (CVS 708)
drh [Tue, 13 Aug 2002 13:15:51 +0000 (13:15 +0000)] 
Bug fix to the left outer join logic. (CVS 708)

FossilOrigin-Name: f9d3d4c1230a7f1176b2002d72e94857e251c04e

23 years agoBug fix to the left outer join logic. (CVS 1726)
drh [Tue, 13 Aug 2002 13:15:49 +0000 (13:15 +0000)] 
Bug fix to the left outer join logic. (CVS 1726)

FossilOrigin-Name: 957d908e6b84cd599b5cfd82af80c8fac79c1dbd

23 years agoVersion 2.6.3 (CVS 707)
drh [Tue, 13 Aug 2002 00:02:10 +0000 (00:02 +0000)] 
Version 2.6.3 (CVS 707)

FossilOrigin-Name: ba706aca0af9ed1ecb64edd4ab327bd5a5a32044

23 years agoUpdates prior to release 2.6.3. (CVS 706)
drh [Tue, 13 Aug 2002 00:01:16 +0000 (00:01 +0000)] 
Updates prior to release 2.6.3. (CVS 706)

FossilOrigin-Name: 34c4149eea7a48927e36867f4e25ff7fac40c66e

23 years agoFix for ticket #9 (again). The rollback journal files should now also be
drh [Mon, 12 Aug 2002 12:29:56 +0000 (12:29 +0000)] 
Fix for ticket #9 (again).  The rollback journal files should now also be
byte-order independent. (CVS 705)

FossilOrigin-Name: 2fb3fdcdf06c1206bf14da640c2f9e599455f0eb