]> git.ipfire.org Git - thirdparty/sqlite.git/log
thirdparty/sqlite.git
19 years agoVersion 3.2.8 (CVS 2835) branch_3_2
drh [Mon, 19 Dec 2005 17:26:59 +0000 (17:26 +0000)] 
Version 3.2.8 (CVS 2835)

FossilOrigin-Name: e61382aed45a83ad688a0461948f9cd052a527fa

19 years agoBump the version number on the 3.2 branch to 3.2.8. (CVS 2830)
drh [Mon, 19 Dec 2005 16:34:31 +0000 (16:34 +0000)] 
Bump the version number on the 3.2 branch to 3.2.8. (CVS 2830)

FossilOrigin-Name: d8e74af5b081a074173c470e9f2115be9b095777

19 years agoBackport the fix for ticket #1567 into the 3.2 branch. (CVS 2829)
drh [Mon, 19 Dec 2005 16:29:07 +0000 (16:29 +0000)] 
Backport the fix for ticket #1567 into the 3.2 branch. (CVS 2829)

FossilOrigin-Name: 33397742282425351157a92785f83f10ad564af7

19 years agoVersion 3.2.7 (CVS 2736)
drh [Sat, 24 Sep 2005 15:25:01 +0000 (15:25 +0000)] 
Version 3.2.7 (CVS 2736)

FossilOrigin-Name: bd141a7c12c779d15d81acc8f919c37b9a4aa40b

19 years agoPerparations for version 3.2.7. (CVS 2735)
drh [Sat, 24 Sep 2005 15:10:59 +0000 (15:10 +0000)] 
Perparations for version 3.2.7. (CVS 2735)

FossilOrigin-Name: 70937d5cfa10eda66d926d378f30f9961a7822bf

19 years agoAdd the SQLite console source code in the contrib section of the source tree. (CVS...
drh [Sat, 24 Sep 2005 11:01:11 +0000 (11:01 +0000)] 
Add the SQLite console source code in the contrib section of the source tree. (CVS 2734)

FossilOrigin-Name: 079c6348f944ad708214f5f335065373d9ae509a

19 years agoFix an uninitialized structure member that was causing a malfunction when
drh [Fri, 23 Sep 2005 21:11:53 +0000 (21:11 +0000)] 
Fix an uninitialized structure member that was causing a malfunction when
you used deeply nested and very complex views.  Ticket #1449. (CVS 2733)

FossilOrigin-Name: 352cc9f53b7724621ecbf3a6362f34c31a18cce8

19 years agoOptionally call fdatasync() instead of fsync() only if _POSIX_SYNCHRONIZED_IO
drh [Thu, 22 Sep 2005 15:45:04 +0000 (15:45 +0000)] 
Optionally call fdatasync() instead of fsync() only if _POSIX_SYNCHRONIZED_IO
is positive, which should only be the case on operating systems that
actually support fdatasync(). (CVS 2732)

FossilOrigin-Name: a9b341dccffaf324a64139d6f482599258ef7009

19 years agoAdd VM code comments on the group-by processing. Extra group-by test case. (CVS...
drh [Tue, 20 Sep 2005 18:13:23 +0000 (18:13 +0000)] 
Add VM code comments on the group-by processing.  Extra group-by test case. (CVS 2731)

FossilOrigin-Name: 655e75ac7d96b05c118226c5b70443da2df319ec

19 years agoCode cleanup and simplification. Three new Mem opcodes added.
drh [Tue, 20 Sep 2005 17:42:23 +0000 (17:42 +0000)] 
Code cleanup and simplification.  Three new Mem opcodes added.
The sqlite3VdbeJumpHere function added. (CVS 2730)

FossilOrigin-Name: 2471957feee57538e5e1e50a704a337f0927d10e

19 years agoCleanup the implementation and the documentation of the new 0x200 P1 flag
drh [Tue, 20 Sep 2005 13:55:18 +0000 (13:55 +0000)] 
Cleanup the implementation and the documentation of the new 0x200 P1 flag
on the VDBE comparison operands. (CVS 2729)

FossilOrigin-Name: f22d0f64a0b9100e16746fb800efa508d286e40e

19 years agoNULLs compare equal to each other when computing GROUP BY categories. (CVS 2728)
drh [Tue, 20 Sep 2005 13:11:59 +0000 (13:11 +0000)] 
NULLs compare equal to each other when computing GROUP BY categories. (CVS 2728)

FossilOrigin-Name: d9b0c9705379a8b3a28a83bb29fc1cd688fe184e

19 years agoUpdate comments in where.c. No code changes. (CVS 2727)
drh [Tue, 20 Sep 2005 08:47:20 +0000 (08:47 +0000)] 
Update comments in where.c.  No code changes. (CVS 2727)

FossilOrigin-Name: bb84d27eda64479d65b13fbbcaeef6a00da4d103

19 years agoDocumentation updates. (CVS 2726)
drh [Tue, 20 Sep 2005 01:36:30 +0000 (01:36 +0000)] 
Documentation updates. (CVS 2726)

FossilOrigin-Name: 6ec8883c366532948e619830ff7d9f63b79fc08b

19 years agoON-clause terms in a LEFT JOIN that restrict only the left table, should not
drh [Mon, 19 Sep 2005 21:05:48 +0000 (21:05 +0000)] 
ON-clause terms in a LEFT JOIN that restrict only the left table, should not
really restrict the left table but instead rows that fail to meet the condition
to be joined with NULL rows from the right table. (CVS 2725)

FossilOrigin-Name: ea10f9785e3c5248dafcc297f3a2c5465b6e0dba

19 years agoSet the default maximum page size to 32768, not 8192. (CVS 2724)
drh [Mon, 19 Sep 2005 19:05:21 +0000 (19:05 +0000)] 
Set the default maximum page size to 32768, not 8192. (CVS 2724)

FossilOrigin-Name: b32e9ec2480f9da2c2ea705ed3c88ca77b77cf2a

19 years agoDo not optimize views with an ORDER BY clause if they are used in a UNION ALL
drh [Mon, 19 Sep 2005 17:35:53 +0000 (17:35 +0000)] 
Do not optimize views with an ORDER BY clause if they are used in a UNION ALL
that also has an ORDER BY clause.  Ticket #1444. (CVS 2723)

FossilOrigin-Name: 6cc57fcf15cfa3ce73c78b1cac90f7806e5bae40

19 years agoFix uninitialized value on a UNION ALL select with an ORDER BY clause. (CVS 2722)
drh [Mon, 19 Sep 2005 15:37:06 +0000 (15:37 +0000)] 
Fix uninitialized value on a UNION ALL select with an ORDER BY clause. (CVS 2722)

FossilOrigin-Name: 92126a216101d30e16390bf063d52d7182fbc763

19 years agoThe sqlite3_query_plan debugging variable now only appears with SQLITE_TEST=1. (CVS...
drh [Mon, 19 Sep 2005 13:15:23 +0000 (13:15 +0000)] 
The sqlite3_query_plan debugging variable now only appears with SQLITE_TEST=1. (CVS 2721)

FossilOrigin-Name: 41e226d2ff5c0021fd07388da13f6d750fac508b

19 years agoWork around limitations of MSVC++ 6. Tickets #1429, #1437, and #1440. (CVS 2720)
drh [Mon, 19 Sep 2005 12:53:18 +0000 (12:53 +0000)] 
Work around limitations of MSVC++ 6.  Tickets #1429, #1437, and #1440. (CVS 2720)

FossilOrigin-Name: b2d1803c25b0b823c9cbe27989bacb730b18b45b

19 years agoChange some debugging #defines in order to get SSE working again after
drh [Mon, 19 Sep 2005 12:37:27 +0000 (12:37 +0000)] 
Change some debugging #defines in order to get SSE working again after
recent upgrades. (CVS 2719)

FossilOrigin-Name: 86eb7d8363559c94bfcd7e48ff6270025ecacb7b

19 years agoDownload page reports sizes in MiB and KiB instead of just bytes. (CVS 2718)
drh [Sat, 17 Sep 2005 19:28:45 +0000 (19:28 +0000)] 
Download page reports sizes in MiB and KiB instead of just bytes. (CVS 2718)

FossilOrigin-Name: e985f02d20d50b0451bfd35a7343e0386336dd71

19 years agoUpdate to the download page on the website. (CVS 2717)
drh [Sat, 17 Sep 2005 19:14:40 +0000 (19:14 +0000)] 
Update to the download page on the website. (CVS 2717)

FossilOrigin-Name: 91bc0d0032d5305671da0ebfc6e697b9b882f1ad

19 years agoVersion 3.2.6 (CVS 2716)
drh [Sat, 17 Sep 2005 18:49:49 +0000 (18:49 +0000)] 
Version 3.2.6 (CVS 2716)

FossilOrigin-Name: 1cdfe66714c2374b1d93bc62f37873111e090e44

19 years agoThe sqlite3ReallocOrFree routine should set its pointer to NULL when it fails. (CVS...
drh [Sat, 17 Sep 2005 18:34:11 +0000 (18:34 +0000)] 
The sqlite3ReallocOrFree routine should set its pointer to NULL when it fails. (CVS 2715)

FossilOrigin-Name: 0e85af44faca4b625e6ab7cb21a300867298c539

19 years agoFix up the busy test so that it can be run multiple times in a row without
drh [Sat, 17 Sep 2005 18:02:36 +0000 (18:02 +0000)] 
Fix up the busy test so that it can be run multiple times in a row without
giving false errors on 2nd and subsequent runs. (CVS 2714)

FossilOrigin-Name: 7a7ba73fb5d1d493dc2c8c0d5ed4ee6d895bb339

19 years agoFix a memory leak that occurs after malloc fails. (CVS 2713)
drh [Sat, 17 Sep 2005 17:58:22 +0000 (17:58 +0000)] 
Fix a memory leak that occurs after malloc fails. (CVS 2713)

FossilOrigin-Name: 85b931bf72dac88187e4531053a06abe25d6f462

19 years agoFix the crash.test script to accomodate recent changes. (CVS 2712)
drh [Sat, 17 Sep 2005 17:05:19 +0000 (17:05 +0000)] 
Fix the crash.test script to accomodate recent changes. (CVS 2712)

FossilOrigin-Name: d594608ff37bbf1d6866adb337aa2fbcd517eada

19 years agoFix a bug in the lock2 test script introduced by check-in (2709) (CVS 2711)
drh [Sat, 17 Sep 2005 16:48:18 +0000 (16:48 +0000)] 
Fix a bug in the lock2 test script introduced by check-in (2709) (CVS 2711)

FossilOrigin-Name: c3bf17436bc1e264b4dbe255876a990a5a2b8b0c

19 years agoFix a problem with the lock_status pragma and the UTF-16 encoding. (CVS 2710)
drh [Sat, 17 Sep 2005 16:36:55 +0000 (16:36 +0000)] 
Fix a problem with the lock_status pragma and the UTF-16 encoding. (CVS 2710)

FossilOrigin-Name: 1a737b457c59286d7d5c3a98391dec17dbc82d09

19 years agoChanges to make corruption errors easier to track down. (CVS 2709)
drh [Sat, 17 Sep 2005 15:20:26 +0000 (15:20 +0000)] 
Changes to make corruption errors easier to track down. (CVS 2709)

FossilOrigin-Name: c07330000b9427a77f412918078beffa18de2c36

19 years agoUpdate the webpage description of 3.2.6 changes to talk about ticket #1432. (CVS...
drh [Sat, 17 Sep 2005 15:17:40 +0000 (15:17 +0000)] 
Update the webpage description of 3.2.6 changes to talk about ticket #1432. (CVS 2708)

FossilOrigin-Name: 0e23c28b25aced292cb068bc9a202cb627ba38ec

19 years agoBug fix in the ORDER BY optimizer. Ticket #1435. (CVS 2707)
drh [Sat, 17 Sep 2005 13:29:23 +0000 (13:29 +0000)] 
Bug fix in the ORDER BY optimizer.  Ticket #1435. (CVS 2707)

FossilOrigin-Name: 553b7ba8f8ae4cb865494f2d301690149d7edb9f

19 years agoMake sure dependencies on the right-hand side of IN operators are checked
drh [Sat, 17 Sep 2005 13:07:13 +0000 (13:07 +0000)] 
Make sure dependencies on the right-hand side of IN operators are checked
correctly.  Ticket #1433. (CVS 2706)

FossilOrigin-Name: 21740794ab81924442f358a6adbbe6d5590cf58d

19 years agoUpdates to the FAQ. (CVS 2705)
drh [Sat, 17 Sep 2005 02:34:04 +0000 (02:34 +0000)] 
Updates to the FAQ. (CVS 2705)

FossilOrigin-Name: 0eaf430d9538ece1a3d1300db91f269577a5e028

19 years agoDo not journal the locking page which doing an autovacuum. Similar to the
drh [Fri, 16 Sep 2005 17:16:52 +0000 (17:16 +0000)] 
Do not journal the locking page which doing an autovacuum.  Similar to the
problem of #1432 except that this one occurs on autovacuum instead of vacuum.
An assert() has been added to catch any future incidents of this type. (CVS 2704)

FossilOrigin-Name: 5b6dc12b7d25d999be5d282cd0b06e02e2bda765

19 years agoDo not journal the file locking page when doing a database copy as
drh [Fri, 16 Sep 2005 11:32:18 +0000 (11:32 +0000)] 
Do not journal the file locking page when doing a database copy as
part of a VACUUM.  Ticket #1432. (CVS 2703)

FossilOrigin-Name: 248f77972bb1be3325708ea143fd87bb7ce914a7

19 years agoPrevent the sqlite3_pagecount() function from ever returning the pending-byte
danielk1977 [Fri, 16 Sep 2005 10:18:45 +0000 (10:18 +0000)] 
Prevent the sqlite3_pagecount() function from ever returning the pending-byte
page. (CVS 2702)

FossilOrigin-Name: 35a8893537ae5faed6ee49270ac9c01a6010993f

19 years agoMove the definition of sqlite3_pending_byte from test2.c to os_common.h. (CVS 2701)
danielk1977 [Fri, 16 Sep 2005 10:13:41 +0000 (10:13 +0000)] 
Move the definition of sqlite3_pending_byte from test2.c to os_common.h. (CVS 2701)

FossilOrigin-Name: bedf702f539636fa3b65fd0d6797b087481b4613

19 years agoFix an auto-vacuum problem with the PENDING_BYTE page. Also link the Tcl
danielk1977 [Fri, 16 Sep 2005 09:52:29 +0000 (09:52 +0000)] 
Fix an auto-vacuum problem with the PENDING_BYTE page. Also link the Tcl
variable sqlite_pending_byte to the internal pending-byte location when in test mode. (CVS 2700)

FossilOrigin-Name: 9115e0621d1fdc5a89a0288b87c0a4ce1e4b50c6

19 years agoDocumentation changes in preparation for the release of 3.2.6. (CVS 2698)
drh [Fri, 16 Sep 2005 02:55:13 +0000 (02:55 +0000)] 
Documentation changes in preparation for the release of 3.2.6. (CVS 2698)

FossilOrigin-Name: 243f455c7c4e5c0c56406c197fa78088bc3659ca

19 years agoUndo check-in (2694). (CVS 2697)
drh [Fri, 16 Sep 2005 02:48:01 +0000 (02:48 +0000)] 
Undo check-in (2694). (CVS 2697)

FossilOrigin-Name: 6017b1962517eb206183042bbb718925d9819063

19 years agoFix a whole host of newly discovered memory leaks the occur after a
drh [Fri, 16 Sep 2005 02:38:09 +0000 (02:38 +0000)] 
Fix a whole host of newly discovered memory leaks the occur after a
failure of realloc(). (CVS 2696)

FossilOrigin-Name: 4686d649756a0aa301ade901ac49c89a976c5402

19 years agoFix a memory leak: a failure to deallocate the P3 parameter on a call
drh [Fri, 16 Sep 2005 00:27:01 +0000 (00:27 +0000)] 
Fix a memory leak: a failure to deallocate the P3 parameter on a call
to sqlite3VdbeChangeP3. (CVS 2695)

FossilOrigin-Name: 714254cbc12564d44548707043fdcdffb17e4fde

19 years agoThe table_info pragma now gives the order of columns in the primary key. (CVS 2694)
drh [Thu, 15 Sep 2005 21:24:51 +0000 (21:24 +0000)] 
The table_info pragma now gives the order of columns in the primary key. (CVS 2694)

FossilOrigin-Name: 9b60f48de7fbca96c6e26266a8fb9eed8bc378f2

19 years agoCorrect the sense of a test for SQLITE_DEBUG on the resent NDEBUG change.
drh [Tue, 13 Sep 2005 16:12:47 +0000 (16:12 +0000)] 
Correct the sense of a test for SQLITE_DEBUG on the resent NDEBUG change.
Ticket #1425 (CVS 2693)

FossilOrigin-Name: 81fdffdff6fd107c361b1ee69649455143bf3921

19 years agoUpdates to the documentation on the TCL bindings. (CVS 2692)
drh [Tue, 13 Sep 2005 07:00:05 +0000 (07:00 +0000)] 
Updates to the documentation on the TCL bindings. (CVS 2692)

FossilOrigin-Name: 94aa2d32459e1cee2df21fcc7df76c73dab903cd

19 years agoFix a comment typo in the previous check-in. (CVS 2691)
drh [Tue, 13 Sep 2005 00:02:16 +0000 (00:02 +0000)] 
Fix a comment typo in the previous check-in. (CVS 2691)

FossilOrigin-Name: 49c952807dabd80bfeb46caf55856aaab988226c

19 years agoAutomatically set the NDEBUG preprocessor macro unless SQLITE_DEBUG is set.
drh [Tue, 13 Sep 2005 00:00:00 +0000 (00:00 +0000)] 
Automatically set the NDEBUG preprocessor macro unless SQLITE_DEBUG is set.
In this way, assert() statements become opt-in rather than opt-out. (CVS 2690)

FossilOrigin-Name: 2ec2bd85741e36e410f05ff34de430ffbcf51eea

19 years agoBug fix in the new COUNT(DISTINCT) logic. Ticket #1420. (CVS 2689)
drh [Mon, 12 Sep 2005 23:03:16 +0000 (23:03 +0000)] 
Bug fix in the new COUNT(DISTINCT) logic.  Ticket #1420. (CVS 2689)

FossilOrigin-Name: 37116550d33d8e3bdc15cd9998b9d2b97dec312b

19 years agoCOUNT(DISTINCT x) is now fully functional, though it could benefit from
drh [Sun, 11 Sep 2005 11:56:27 +0000 (11:56 +0000)] 
COUNT(DISTINCT x) is now fully functional, though it could benefit from
additional testing. (CVS 2688)

FossilOrigin-Name: 2f397bd8142ec5e8f7238127012d14fdb558d918

19 years agoThe ".dump" command from the shell correctly saves the state of the
drh [Sun, 11 Sep 2005 02:03:03 +0000 (02:03 +0000)] 
The ".dump" command from the shell correctly saves the state of the
sqlite_sequence and sqlite_stat1 tables, if they exist.  Ticket #1419. (CVS 2687)

FossilOrigin-Name: 3f191cf497e5798a8620ebc5a85e34187f58371c

19 years agoThe shell does not output the sqlite_stat1 table on .dump or .schema.
drh [Sat, 10 Sep 2005 22:40:53 +0000 (22:40 +0000)] 
The shell does not output the sqlite_stat1 table on .dump or .schema.
The ANALYZE command now gathers statistics on tables that have only
a single index because this sometimes helps when reordering tables
in a join. (CVS 2686)

FossilOrigin-Name: 26565b8931419031f9a8dd3947e1e2bd23ccbff2

19 years agoAdd the experimental EXPLAIN QUERY PLAN diagnostic capability. (CVS 2685)
drh [Sat, 10 Sep 2005 16:46:12 +0000 (16:46 +0000)] 
Add the experimental EXPLAIN QUERY PLAN diagnostic capability. (CVS 2685)

FossilOrigin-Name: 986efb7b12643800805ad4b1f1e90e30fcf6d38a

19 years agoAvoid a memory leak and/or assertion failure when parsing a table
drh [Sat, 10 Sep 2005 15:35:06 +0000 (15:35 +0000)] 
Avoid a memory leak and/or assertion failure when parsing a table
declaration that contains a duplicate column name.
Ticket #1418. (CVS 2684)

FossilOrigin-Name: f43427742b1c086f2621c900f4ede1a34a8b44ee

19 years agoUse of the CROSS keyword in a join prevents table reordering. Ticket #1414. (CVS...
drh [Sat, 10 Sep 2005 15:28:09 +0000 (15:28 +0000)] 
Use of the CROSS keyword in a join prevents table reordering.  Ticket #1414. (CVS 2683)

FossilOrigin-Name: 415b8b24629aa12756d8285c094b5f85d8a8e532

19 years agoEnhanced disk-full tests. (CVS 2682)
drh [Fri, 9 Sep 2005 10:46:19 +0000 (10:46 +0000)] 
Enhanced disk-full tests. (CVS 2682)

FossilOrigin-Name: 0288fa5d25886f6fbef0be782f12285d62bebd68

19 years agoDetect errors returned by SetFilePointer on windows. (CVS 2681)
drh [Fri, 9 Sep 2005 10:17:33 +0000 (10:17 +0000)] 
Detect errors returned by SetFilePointer on windows. (CVS 2681)

FossilOrigin-Name: bc8c33f94ce069f7bcfc32a59d5c40e034e023b5

19 years agoInfrastructure for the DISTINCT keyword in aggregate functions. But it does
drh [Fri, 9 Sep 2005 01:33:19 +0000 (01:33 +0000)] 
Infrastructure for the DISTINCT keyword in aggregate functions.  But it does
not work yet.  If you try to use it you get an error message. (CVS 2680)

FossilOrigin-Name: 4d62e36fe3819c2a1412737c2ec8a91ddc5e1777

19 years agoDefend against disk I/O errors that happen during an sqlite3OsSeek(). (CVS 2679)
drh [Fri, 9 Sep 2005 01:32:06 +0000 (01:32 +0000)] 
Defend against disk I/O errors that happen during an sqlite3OsSeek(). (CVS 2679)

FossilOrigin-Name: 461e3a0a27ff083b0bae10c9880e3b41bb85ee31

19 years agoSUM returns NULL when it has no inputs. Ticket #1413. (CVS 2678)
drh [Thu, 8 Sep 2005 20:37:43 +0000 (20:37 +0000)] 
SUM returns NULL when it has no inputs.  Ticket #1413. (CVS 2678)

FossilOrigin-Name: 6281859425d39c11d82875301fefafad1f08416d

19 years agoA SUM() of all NULLs returns NULL. A SUM() of nothing return 0.
drh [Thu, 8 Sep 2005 19:45:57 +0000 (19:45 +0000)] 
A SUM() of all NULLs returns NULL.  A SUM() of nothing return 0.
A SUM() of a mixture of NULLs and numbers returns the sum of the
numbers.  Ticket #1413. (CVS 2677)

FossilOrigin-Name: 2e6230edfd651b40481ebad8aa01a22ac92ce80c

19 years agoRemove a C++ism that snuck in on one of the reason changes. (CVS 2676)
drh [Thu, 8 Sep 2005 19:01:05 +0000 (19:01 +0000)] 
Remove a C++ism that snuck in on one of the reason changes. (CVS 2676)

FossilOrigin-Name: 48f6a331efea419fe948cd366f9c60ae41edddfd

19 years agoRemove a few unused variables detected by Borland C. Ticket #1412. (CVS 2675)
drh [Thu, 8 Sep 2005 14:17:20 +0000 (14:17 +0000)] 
Remove a few unused variables detected by Borland C.  Ticket #1412. (CVS 2675)

FossilOrigin-Name: cdfe372a958fb446485913e860d52b87fffd34e4

19 years agoAggregates with GROUP BY can sometimes return no result rows. (CVS 2674)
drh [Thu, 8 Sep 2005 12:57:28 +0000 (12:57 +0000)] 
Aggregates with GROUP BY can sometimes return no result rows. (CVS 2674)

FossilOrigin-Name: 0c3e368d4766685b94a44f2c514e2dea806c297c

19 years agoWhile doing a transaction comment, use fdatasync() instead of fsync() in
drh [Thu, 8 Sep 2005 12:38:41 +0000 (12:38 +0000)] 
While doing a transaction comment, use fdatasync() instead of fsync() in
cases there the file size is unchanged. (CVS 2673)

FossilOrigin-Name: 3c555a87493128620ac967faf7c63c2a58856e9e

19 years agoFix another test to account for SUM() returning integer rather than float. (CVS 2672)
drh [Thu, 8 Sep 2005 12:37:28 +0000 (12:37 +0000)] 
Fix another test to account for SUM() returning integer rather than float. (CVS 2672)

FossilOrigin-Name: bc723235e65eb4da7d2e4b18653f1173374cb407

19 years agoFix typos in documentation. Ticket #1239. (CVS 2671)
drh [Thu, 8 Sep 2005 11:04:57 +0000 (11:04 +0000)] 
Fix typos in documentation.  Ticket #1239. (CVS 2671)

FossilOrigin-Name: 73fbb8d9689fecec18c36814e4358e691bcd647e

19 years agoFix a comment in sqlite.h. Ticket #1321. (CVS 2670)
drh [Thu, 8 Sep 2005 10:58:51 +0000 (10:58 +0000)] 
Fix a comment in sqlite.h.  Ticket #1321. (CVS 2670)

FossilOrigin-Name: ed4e9e751be2b982af9561aba20c8e1367828b81

19 years agoThe SUM() aggregate function returns an integer result if all inputs are
drh [Thu, 8 Sep 2005 10:37:01 +0000 (10:37 +0000)] 
The SUM() aggregate function returns an integer result if all inputs are
integers.  Any single non-integer input causes the result to be a floating
point value. (CVS 2669)

FossilOrigin-Name: 21adf4bd99e732650a1e8e9a1cc954126983a654

19 years agoChanges to comments only in sqliteInt.h. No changes to code. (CVS 2668)
drh [Thu, 8 Sep 2005 02:00:25 +0000 (02:00 +0000)] 
Changes to comments only in sqliteInt.h.  No changes to code. (CVS 2668)

FossilOrigin-Name: cc2a61650ea0d4b2ef67e144424327362999526d

19 years agoOptimizations and refinements. Improvements to test coverage. (CVS 2667)
drh [Thu, 8 Sep 2005 01:58:42 +0000 (01:58 +0000)] 
Optimizations and refinements.  Improvements to test coverage. (CVS 2667)

FossilOrigin-Name: 7283f7c29db4f622380b6a5cb745a4dc0c8e6a25

19 years agoAll regression tests now pass. But I am sure there must still be problems.
drh [Thu, 8 Sep 2005 00:13:27 +0000 (00:13 +0000)] 
All regression tests now pass.  But I am sure there must still be problems.
New tests need to be added. (CVS 2666)

FossilOrigin-Name: bcc7d722cea4487a3adf9d9b2af4b74bfbfc5f39

19 years agoMore bug fixes. All of the "quick" tests pass. The full test suite still
drh [Wed, 7 Sep 2005 23:05:21 +0000 (23:05 +0000)] 
More bug fixes.  All of the "quick" tests pass.  The full test suite still
shows problems. (CVS 2665)

FossilOrigin-Name: a1b6d910cdbb53f12366402d9585dce2aad3ba3d

19 years agoMore bug fixes. But there are still tests that fail. (CVS 2664)
drh [Wed, 7 Sep 2005 22:48:16 +0000 (22:48 +0000)] 
More bug fixes.  But there are still tests that fail. (CVS 2664)

FossilOrigin-Name: 7e85a162d0ecf0acdbffcacc62b60d97fe123881

19 years agoBug fixes in aggregate processing. Fewer tests fail. (CVS 2663)
drh [Wed, 7 Sep 2005 22:09:48 +0000 (22:09 +0000)] 
Bug fixes in aggregate processing.  Fewer tests fail. (CVS 2663)

FossilOrigin-Name: c3ac58592f5e6305640868cdf42c129f1a25255d

19 years agoRewrite the aggregate handling logic so that it runs in O(1) space.
drh [Wed, 7 Sep 2005 21:22:45 +0000 (21:22 +0000)] 
Rewrite the aggregate handling logic so that it runs in O(1) space.
This is the first cut at the code.  Many regression tests fail. (CVS 2662)

FossilOrigin-Name: 17039ec3ff4396862beedf4a8af89654b2140f58

19 years agoChanges to reduce the amount of stack space required. (CVS 2661)
drh [Tue, 6 Sep 2005 21:40:45 +0000 (21:40 +0000)] 
Changes to reduce the amount of stack space required. (CVS 2661)

FossilOrigin-Name: b86bd70f301205d6ca66475a425e157b976107e2

19 years agoCleanup the processing of MEM_Agg elements. (CVS 2660)
drh [Tue, 6 Sep 2005 20:36:48 +0000 (20:36 +0000)] 
Cleanup the processing of MEM_Agg elements. (CVS 2660)

FossilOrigin-Name: 7ecf3654aa9a275a4cf0c3ec5f63a8c1e0a11fc9

19 years agoFix ANALYZE so that it works even if the empty_result_callbacks pragma is
drh [Tue, 6 Sep 2005 10:26:47 +0000 (10:26 +0000)] 
Fix ANALYZE so that it works even if the empty_result_callbacks pragma is
enabled. Ticket #1409. (CVS 2659)

FossilOrigin-Name: bfdaef1224d741deefe211e1e607bac4c80f2d89

19 years agoMake due with "sub()" instead of "gsub()" in awk scripts so that builds will
drh [Mon, 5 Sep 2005 20:35:25 +0000 (20:35 +0000)] 
Make due with "sub()" instead of "gsub()" in awk scripts so that builds will
work on Solaris which will runs an archiac version of AWK. (CVS 2658)

FossilOrigin-Name: 449a7895995013720f5d4c7b3b7f5bd6a5413717

19 years agoFix bugs introduced by checkin (2656) and do some modest code enhancements. (CVS...
drh [Mon, 5 Sep 2005 20:06:49 +0000 (20:06 +0000)] 
Fix bugs introduced by checkin (2656) and do some modest code enhancements. (CVS 2657)

FossilOrigin-Name: 7b56763a8b514834198d2392639d6d726b17d901

19 years agoUse the unicode API to win32 where available.
drh [Mon, 5 Sep 2005 19:08:29 +0000 (19:08 +0000)] 
Use the unicode API to win32 where available.
Tickets #1407, #1396, #1331, #1243, #1206 (CVS 2656)

FossilOrigin-Name: 3ec58c673ae4cf0695ea0c287cc9bcbdcdb1a200

19 years agoFix over-aggressive optimization of ORDER BY as reported on the mailing list. (CVS...
drh [Thu, 1 Sep 2005 17:47:51 +0000 (17:47 +0000)] 
Fix over-aggressive optimization of ORDER BY as reported on the mailing list. (CVS 2655)

FossilOrigin-Name: efbb4bc83cd86b6a26d58c5818c58c2e3edaab18

19 years agoAll regression tests now pass with the new bounded-memory sort code.
drh [Thu, 1 Sep 2005 12:16:28 +0000 (12:16 +0000)] 
All regression tests now pass with the new bounded-memory sort code.
There is still lots of opportunity for optimization, however. (CVS 2654)

FossilOrigin-Name: 81259a01f1e85ba50a1d017b1282bf841b16f0a5

19 years agoSorting is now done using a sorting index rather than loading the entire
drh [Thu, 1 Sep 2005 03:07:44 +0000 (03:07 +0000)] 
Sorting is now done using a sorting index rather than loading the entire
result set into memory and doing a merge sort.  The old merge sort technique
was a carry-over from SQLite version 1.  The new method uses a bounded amount
of memory and scales to much larger result sets.  There are still errors:
some 39 regression tests fail. (CVS 2653)

FossilOrigin-Name: 09db0a24241f9248584250d1728117b8a3159626

19 years ago{quote: KeyInfo} generation moved to a common subroutine. (CVS 2652)
drh [Wed, 31 Aug 2005 18:20:00 +0000 (18:20 +0000)] 
{quote: KeyInfo} generation moved to a common subroutine. (CVS 2652)

FossilOrigin-Name: a25801df06e218e70570a6b9eae71603d590fe3a

19 years agoUpdates to the query optimizer overview document. (CVS 2651)
drh [Wed, 31 Aug 2005 13:48:34 +0000 (13:48 +0000)] 
Updates to the query optimizer overview document. (CVS 2651)

FossilOrigin-Name: b1dceef0508ffe20ab2ff8fa5e5b5a44f4f224aa

19 years agoExplicit typecasts to silence nuisance compiler warnings. Ticket #1398. (CVS 2650)
drh [Wed, 31 Aug 2005 13:13:31 +0000 (13:13 +0000)] 
Explicit typecasts to silence nuisance compiler warnings.  Ticket #1398. (CVS 2650)

FossilOrigin-Name: 90712ea7273597214d6c77a01e41f84146d201c8

19 years agoRefinements to the optimizer overview and integration into the website. (CVS 2649)
drh [Wed, 31 Aug 2005 03:13:12 +0000 (03:13 +0000)] 
Refinements to the optimizer overview and integration into the website. (CVS 2649)

FossilOrigin-Name: ccd12e9e790e271cb1dbbae1c13e9cb980eaf11d

19 years agoUpdate the FAQ to include an entry about binary versus decimal numbers. (CVS 2648)
drh [Wed, 31 Aug 2005 02:46:21 +0000 (02:46 +0000)] 
Update the FAQ to include an entry about binary versus decimal numbers. (CVS 2648)

FossilOrigin-Name: 0bbe73fccfe52700c2ae1122388764e81a78bc22

19 years agoAdding the first cut of the optimizer overview document. (CVS 2647)
drh [Wed, 31 Aug 2005 01:49:59 +0000 (01:49 +0000)] 
Adding the first cut of the optimizer overview document. (CVS 2647)

FossilOrigin-Name: 4c8d0a4c26e44088ffb9f21aa7641a5ebd0058be

19 years agoAdjust the makefile for new optimizer documentation. (CVS 2646)
drh [Tue, 30 Aug 2005 22:44:29 +0000 (22:44 +0000)] 
Adjust the makefile for new optimizer documentation. (CVS 2646)

FossilOrigin-Name: 14668c85b87f7c9b83efd592ddc693522c764969

19 years agoInitial work on documentation describing the optimizer. (CVS 2645)
drh [Tue, 30 Aug 2005 22:44:05 +0000 (22:44 +0000)] 
Initial work on documentation describing the optimizer. (CVS 2645)

FossilOrigin-Name: 5cebd7ba3ccbdd0f4c8fe77091992f52d3a4b24c

19 years agoThe CSV output mode does not sign-extend bytes where the high-order bit is set.
drh [Tue, 30 Aug 2005 20:12:02 +0000 (20:12 +0000)] 
The CSV output mode does not sign-extend bytes where the high-order bit is set.
Ticket #1397. (CVS 2644)

FossilOrigin-Name: 528df777e5d76077d8766f04ee222fd64d9373a6

19 years agoFix printf.c so that it handles 10.0 correctly. (CVS 2643)
drh [Tue, 30 Aug 2005 19:30:59 +0000 (19:30 +0000)] 
Fix printf.c so that it handles 10.0 correctly. (CVS 2643)

FossilOrigin-Name: 0f7a53f78d9dd5c426be834f2d50a6fe4e860141

19 years agoMinor code enhancements. (CVS 2642)
drh [Tue, 30 Aug 2005 00:54:01 +0000 (00:54 +0000)] 
Minor code enhancements. (CVS 2642)

FossilOrigin-Name: 4ab994a87ee844f453d693555abd61b51bb44a0e

19 years agoUpdate the home page to brag about 150KiB code footprint when optional
drh [Tue, 30 Aug 2005 00:10:45 +0000 (00:10 +0000)] 
Update the home page to brag about 150KiB code footprint when optional
features are omitted. (CVS 2641)

FossilOrigin-Name: 0e1ac1284c0547af0bb0eb4ff320b9f5ae9c248d

19 years agoMake the shell aware of SQLITE_OMIT_MEMORYDB. Ticket #1395. (CVS 2640)
drh [Mon, 29 Aug 2005 23:06:23 +0000 (23:06 +0000)] 
Make the shell aware of SQLITE_OMIT_MEMORYDB.  Ticket #1395. (CVS 2640)

FossilOrigin-Name: 71a71cef5b3c97744322ceceb48ac3055512c987

19 years agoIncrease resolution of time-of-day on unix. Add an experimental
drh [Mon, 29 Aug 2005 23:00:03 +0000 (23:00 +0000)] 
Increase resolution of time-of-day on unix.  Add an experimental
sqlite3_profile() API. (CVS 2639)

FossilOrigin-Name: ed2ca0873fa89d6cfd123541d5d1c6b92c72b6ab