]> git.ipfire.org Git - thirdparty/sqlite.git/log
thirdparty/sqlite.git
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

19 years agoInitialize a local variable to avoid a nuisance compiler warning.
drh [Mon, 29 Aug 2005 16:40:52 +0000 (16:40 +0000)] 
Initialize a local variable to avoid a nuisance compiler warning.
Ticket #1394. (CVS 2638)

FossilOrigin-Name: 9b914901a18f8ea39c39a51509c0b3b862c13d6a

19 years agoThe LIKE optimization does the right thing when collating sequences are
drh [Sun, 28 Aug 2005 17:00:23 +0000 (17:00 +0000)] 
The LIKE optimization does the right thing when collating sequences are
present.  LIKE expressions where the left-hand side has COLLATE NOCASE
are optimized in the default case. (CVS 2637)

FossilOrigin-Name: ef84ff795c85e9d28f1cac84ff42d8d4ef84cfc4

19 years agoImprovements to the formatting and layout of the code in the previous checkin. (CVS...
drh [Sun, 28 Aug 2005 01:38:44 +0000 (01:38 +0000)] 
Improvements to the formatting and layout of the code in the previous checkin. (CVS 2636)

FossilOrigin-Name: 73b430de0c0f3cd230861fc1a53691818f17de0d

19 years agoAdd an assert to verify that floating point values and integers use the
drh [Sun, 28 Aug 2005 01:34:21 +0000 (01:34 +0000)] 
Add an assert to verify that floating point values and integers use the
same byte order.  Add a comment to the SELECT code generator. (CVS 2635)

FossilOrigin-Name: 07b4892149a436dbd904c781b46e3b9a82a7a744

19 years agoVersion 3.2.5 (CVS 2634)
drh [Sat, 27 Aug 2005 17:23:00 +0000 (17:23 +0000)] 
Version 3.2.5 (CVS 2634)

FossilOrigin-Name: b2415a749ca5352e5bb4ad08df0c947ec8b02d18

19 years agoChange the wording of the news line for release 3.2.5. (CVS 2633)
drh [Sat, 27 Aug 2005 17:22:11 +0000 (17:22 +0000)] 
Change the wording of the news line for release 3.2.5. (CVS 2633)

FossilOrigin-Name: 70db46d3efa4c7da4b99f7385afff03f778ab9c4

19 years agoGet the date right. Today is the 27th, not the 25th or the 28th. (CVS 2632)
drh [Sat, 27 Aug 2005 17:19:33 +0000 (17:19 +0000)] 
Get the date right.  Today is the 27th, not the 25th or the 28th. (CVS 2632)

FossilOrigin-Name: 905b9d6c5e624f35272bf49df0d88ceea2bb73e8

19 years agoIncrease the version number and update web pages for the next release. (CVS 2631)
drh [Sat, 27 Aug 2005 17:06:15 +0000 (17:06 +0000)] 
Increase the version number and update web pages for the next release. (CVS 2631)

FossilOrigin-Name: e6039e909a3fe807e1499fa99265ffe6c5c2008e

19 years agoDisable synchronous writes to the master journal when PRAGMA synchronous=OFF
drh [Sat, 27 Aug 2005 16:36:48 +0000 (16:36 +0000)] 
Disable synchronous writes to the master journal when PRAGMA synchronous=OFF
for all database files.  Ticket #1375. (CVS 2630)

FossilOrigin-Name: 644b96aa23de7e828280d35785db840a4fa9413d

19 years agoFix comment in vdbeapi.c. Remove unused structure definition from func.c. (CVS 2629)
drh [Sat, 27 Aug 2005 13:16:32 +0000 (13:16 +0000)] 
Fix comment in vdbeapi.c.  Remove unused structure definition from func.c. (CVS 2629)

FossilOrigin-Name: 51a381345db45967567dd0a18905d352bf1081e0

19 years agoRemove the words "statically linked" from the description of the shell on
drh [Sat, 27 Aug 2005 13:11:20 +0000 (13:11 +0000)] 
Remove the words "statically linked" from the description of the shell on
the download page.  Ticket #1391. (CVS 2628)

FossilOrigin-Name: ecb9604457d5ab6bcd81b582cc4dd85a8f371b86

19 years agoRemove GNUmake extensions from the makefile. Ticket #1390. (CVS 2627)
drh [Sat, 27 Aug 2005 09:07:14 +0000 (09:07 +0000)] 
Remove GNUmake extensions from the makefile. Ticket #1390. (CVS 2627)

FossilOrigin-Name: d0691fed4344869830ea9ec2390bc1e7c1679844

19 years agoDo not change fields of stale sqlite3 handles. Ticket #1384. (CVS 2626)
drh [Sat, 27 Aug 2005 01:51:44 +0000 (01:51 +0000)] 
Do not change fields of stale sqlite3 handles.  Ticket #1384. (CVS 2626)

FossilOrigin-Name: 7e05b7ca0ce72b1c6125196f4b21bbb676bc488c

19 years agoWiden the opcode column of explain output in the shell. (CVS 2625)
drh [Sat, 27 Aug 2005 01:50:53 +0000 (01:50 +0000)] 
Widen the opcode column of explain output in the shell. (CVS 2625)

FossilOrigin-Name: dd3b00aa0bf3b847b0b2f20f6df60d4e3a2d81df

19 years agoWhen the left-hand side of an IN operator is constant and the right-hand
drh [Thu, 25 Aug 2005 12:45:04 +0000 (12:45 +0000)] 
When the left-hand side of an IN operator is constant and the right-hand
side is a SELECT, recognize that the IN operator is not constant.
Ticket #1380. (CVS 2624)

FossilOrigin-Name: fc9e04609b6968fc5039a6f9f808aac681f4fc41

19 years agoFix the --enable-threadsafe option to the configure script. Ticket #1378. (CVS 2623)
drh [Wed, 24 Aug 2005 18:04:51 +0000 (18:04 +0000)] 
Fix the --enable-threadsafe option to the configure script.  Ticket #1378. (CVS 2623)

FossilOrigin-Name: 76ec0b3d3a6cc82965e4f993375780b954c53dd1

19 years agoAdditional defense against the rowid-fifo overflow problem. (CVS 2622)
drh [Wed, 24 Aug 2005 17:07:37 +0000 (17:07 +0000)] 
Additional defense against the rowid-fifo overflow problem. (CVS 2622)

FossilOrigin-Name: 881dcf5fb16997830ff347d2eb2610784b415f25

19 years agoRemove a stray C++ style comment causing problems for some compilers. (CVS 2621)
drh [Wed, 24 Aug 2005 16:54:05 +0000 (16:54 +0000)] 
Remove a stray C++ style comment causing problems for some compilers. (CVS 2621)

FossilOrigin-Name: aa7dd3f2c72335fe7778c021e4b6bbbc4ec322df

19 years agoFix a bug in DELETE that might cause a segfault when deleting more
drh [Wed, 24 Aug 2005 16:13:51 +0000 (16:13 +0000)] 
Fix a bug in DELETE that might cause a segfault when deleting more
than 40940 rows of data all at once. (CVS 2620)

FossilOrigin-Name: 7c599bae33ba4eb10fc486ae3dab76330ce69936

19 years agoVersion 3.2.4 (CVS 2619)
drh [Wed, 24 Aug 2005 11:14:46 +0000 (11:14 +0000)] 
Version 3.2.4 (CVS 2619)

FossilOrigin-Name: 8cef2c1ae728970a38d794f9903115da5d0fcd55

19 years agoIncrease the version number and update the change log prior to release. (CVS 2618)
drh [Wed, 24 Aug 2005 11:07:19 +0000 (11:07 +0000)] 
Increase the version number and update the change log prior to release. (CVS 2618)

FossilOrigin-Name: 139a28d231875e72538fd6842168c458441ad1d0

19 years agoAfter calling realloc() on an array to resize it, be sure not to use pointers
drh [Wed, 24 Aug 2005 03:52:18 +0000 (03:52 +0000)] 
After calling realloc() on an array to resize it, be sure not to use pointers
into the old array.  Ticket #1376. (CVS 2617)

FossilOrigin-Name: 9f9a257123274779150cbc290b9f86a09b3b2c03

19 years agoAllow floating point literals to being or end with a decimal point.
drh [Tue, 23 Aug 2005 11:31:26 +0000 (11:31 +0000)] 
Allow floating point literals to being or end with a decimal point.
Ticket #1371. (CVS 2616)

FossilOrigin-Name: a715e7001247e84e0982335570593f0802774635

19 years agoHandle empty blob constants correctly. Ticket #1373. (CVS 2615)
drh [Tue, 23 Aug 2005 11:17:58 +0000 (11:17 +0000)] 
Handle empty blob constants correctly.  Ticket #1373. (CVS 2615)

FossilOrigin-Name: 5cada745ac9bf18a65d21705a398b2bb8bd1aaa2

19 years agoFix another documentation typo. (CVS 2614)
drh [Tue, 23 Aug 2005 11:03:02 +0000 (11:03 +0000)] 
Fix another documentation typo. (CVS 2614)

FossilOrigin-Name: 55f4b14e1958ff3d2b0c99749f0c01192bafbf37

19 years agoFix typos in syntax documentation. Ticket #1374 and a report on the mailing
drh [Tue, 23 Aug 2005 11:00:39 +0000 (11:00 +0000)] 
Fix typos in syntax documentation.  Ticket #1374 and a report on the mailing
list. (CVS 2613)

FossilOrigin-Name: 990d1f3a5b13cadc2930334c4bd7007e3645e75b

19 years agoUpdate the download page of the website to handle TEA builds and starkits. (CVS 2612)
drh [Mon, 22 Aug 2005 02:10:46 +0000 (02:10 +0000)] 
Update the download page of the website to handle TEA builds and starkits. (CVS 2612)

FossilOrigin-Name: 1fab599b6f89534152c53b820b5e6ee1ba30c059

19 years agoClean up possible locking problem in multithreaded applications that take
drh [Sun, 21 Aug 2005 21:45:01 +0000 (21:45 +0000)] 
Clean up possible locking problem in multithreaded applications that take
a malloc failure. (CVS 2611)

FossilOrigin-Name: 545e702a23c7a6b09e10441d4137efe5a9618a84

19 years agoVersion 3.2.3 (CVS 2610)
drh [Sun, 21 Aug 2005 18:54:48 +0000 (18:54 +0000)] 
Version 3.2.3 (CVS 2610)

FossilOrigin-Name: f620319b440dab9f8a0ad9ada3e6ee5560d5c623

19 years agoIncrease the version number and adjust documentation prior to the next release. ...
drh [Sun, 21 Aug 2005 18:40:20 +0000 (18:40 +0000)] 
Increase the version number and adjust documentation prior to the next release. (CVS 2609)

FossilOrigin-Name: b15ed7db4d5186d8b22c0b51cd44c4d9d7001318

19 years agoDisable malloc tests when not compiled with SQLITE_DEBUG. (CVS 2608)
drh [Sun, 21 Aug 2005 18:21:50 +0000 (18:21 +0000)] 
Disable malloc tests when not compiled with SQLITE_DEBUG. (CVS 2608)

FossilOrigin-Name: f372682fa375c22213da0e4cd8413eab3c6ac85b

19 years agoDo not create an error message if there is no error. (CVS 2607)
drh [Sun, 21 Aug 2005 17:48:46 +0000 (17:48 +0000)] 
Do not create an error message if there is no error. (CVS 2607)

FossilOrigin-Name: 3aa47c5587819a5fc3e2cb53a7fbc79ba65f0c3b

19 years agoDo not overwrite small files (less than 1024 bytes) that are not databases.
drh [Sun, 21 Aug 2005 16:54:25 +0000 (16:54 +0000)] 
Do not overwrite small files (less than 1024 bytes) that are not databases.
Ticket #1370. (CVS 2606)

FossilOrigin-Name: 7f4302686e55f22b281d98a8a3b89300f4ce4eb6

19 years agoMore test coverage improvements. (CVS 2605)
drh [Sat, 20 Aug 2005 13:47:41 +0000 (13:47 +0000)] 
More test coverage improvements. (CVS 2605)

FossilOrigin-Name: e559e810a51427def6928763ae0d6f7347366d04

19 years agoIncreased test coverage. Some malloc tests now fail though this is believed
drh [Sat, 20 Aug 2005 03:03:04 +0000 (03:03 +0000)] 
Increased test coverage.  Some malloc tests now fail though this is believed
to be an instrumentation problem not a real error. (CVS 2604)

FossilOrigin-Name: f786f37a5e31f42aaf81b3ad4a734f12855da69e

19 years agoIncrease test coverage of alter.c to 100%. Fix bugs found in the process. (CVS 2603)
drh [Fri, 19 Aug 2005 19:14:12 +0000 (19:14 +0000)] 
Increase test coverage of alter.c to 100%.  Fix bugs found in the process. (CVS 2603)

FossilOrigin-Name: b550d04d43a92f33a01438ae03df14678db3cdee

19 years agoAdditional tests for better coverage. (CVS 2602)
drh [Fri, 19 Aug 2005 03:03:51 +0000 (03:03 +0000)] 
Additional tests for better coverage. (CVS 2602)

FossilOrigin-Name: 4281a838f2f531af24b008d2834e8318798472c5

19 years agoIncreased test coverage on trigger.c and printf.c. (CVS 2601)
drh [Fri, 19 Aug 2005 02:26:27 +0000 (02:26 +0000)] 
Increased test coverage on trigger.c and printf.c. (CVS 2601)

FossilOrigin-Name: 842a80bd8f18d6fd046604f9a057bcd738234f1f

19 years agoMore test coverage enhancements. (CVS 2600)
drh [Fri, 19 Aug 2005 01:07:15 +0000 (01:07 +0000)] 
More test coverage enhancements. (CVS 2600)

FossilOrigin-Name: 0b6cd5acc0ede3367623f40ccfaa96116e686824

19 years agoBring testing coverage of the analyze.c file up to 100%. Bugs found and
drh [Fri, 19 Aug 2005 00:14:42 +0000 (00:14 +0000)] 
Bring testing coverage of the analyze.c file up to 100%.  Bugs found and
fixed in the process. (CVS 2599)

FossilOrigin-Name: 2fe0ac4fa4d5911e266979021fa7e413d96c558d

19 years agoComment fixes. No changes to the underlying code. (CVS 2598)
drh [Thu, 18 Aug 2005 18:15:05 +0000 (18:15 +0000)] 
Comment fixes.  No changes to the underlying code. (CVS 2598)

FossilOrigin-Name: b865e243ee772f009dbf466d69525f2cdef78c0e

19 years agoFix typo in documentation. (CVS 2597)
drh [Tue, 16 Aug 2005 14:44:48 +0000 (14:44 +0000)] 
Fix typo in documentation. (CVS 2597)

FossilOrigin-Name: 32efcd24612908516fb5bc58ab3fe4790586a220

19 years agoNull-terminate the strings array passed to Tcl_GetIndexFromObj. Bug
drh [Tue, 16 Aug 2005 11:11:34 +0000 (11:11 +0000)] 
Null-terminate the strings array passed to Tcl_GetIndexFromObj.  Bug
reported on the mailing list. (CVS 2596)

FossilOrigin-Name: 3a7918a66bf98368c2520f94e505a21a1df3383c

19 years agoGeneral code cleanup resulting in smaller footprint. (CVS 2595)
drh [Sun, 14 Aug 2005 20:47:16 +0000 (20:47 +0000)] 
General code cleanup resulting in smaller footprint. (CVS 2595)

FossilOrigin-Name: 98338abf9e8cfbf8efa81cff0e40ea37e34fd9b2

19 years agoSplit the sqlite3_complete() API out into a separate source file so that
drh [Sun, 14 Aug 2005 17:53:20 +0000 (17:53 +0000)] 
Split the sqlite3_complete() API out into a separate source file so that
in static links where it is not used it will not take up space in the
resulting binary. (CVS 2594)

FossilOrigin-Name: 62b87751dea56c565bcc2aca88a2edda7dfc2a57

19 years agoDeclare local-use functions as static. Ticket #1363. (CVS 2593)
drh [Sun, 14 Aug 2005 01:34:19 +0000 (01:34 +0000)] 
Declare local-use functions as static.  Ticket #1363. (CVS 2593)

FossilOrigin-Name: 94efd7908880c7d99c08ebc9a3437cfbefc42f7e

19 years agoThe case_sensitive_like pragma added.
drh [Sun, 14 Aug 2005 01:20:37 +0000 (01:20 +0000)] 
The case_sensitive_like pragma added.
Test cases added for the LIKE optimization. (CVS 2592)

FossilOrigin-Name: 72ee21c05e618b6f46f5460f8c85779c72fe32d7

19 years agoProvide grave accent quoting of identifiers for MySQL compatibility.
drh [Sat, 13 Aug 2005 18:15:42 +0000 (18:15 +0000)] 
Provide grave accent quoting of identifiers for MySQL compatibility.
Ticket #1337. (CVS 2591)

FossilOrigin-Name: 6b7a4e97528a4e179e0bbae69469cb1a3d1f794b

19 years agoGive the same access permissions to journal files as is given to databases. (CVS...
drh [Sat, 13 Aug 2005 17:17:01 +0000 (17:17 +0000)] 
Give the same access permissions to journal files as is given to databases. (CVS 2590)

FossilOrigin-Name: 7961ec0ccbc99d890689013b9602635941f308a6

19 years agoDisable an overzealous optimization the omitted sorting on a join if the first
drh [Sat, 13 Aug 2005 16:13:04 +0000 (16:13 +0000)] 
Disable an overzealous optimization the omitted sorting on a join if the first
table gave a unique result.  The sort can only be omitted if all tables in
the join are unique.  Ticket #1358. (CVS 2589)

FossilOrigin-Name: 4f07661279fb11a06b3ddffeda672f077c0d306a

19 years agoFix a comment in printf. (CVS 2588)
drh [Sat, 13 Aug 2005 13:40:42 +0000 (13:40 +0000)] 
Fix a comment in printf. (CVS 2588)

FossilOrigin-Name: 1054685f15095ef147d9e9a32bd56b0eaaf9fa54

19 years agoAdditional cleanup and optimization of the printf function. (CVS 2587)
drh [Sat, 13 Aug 2005 13:39:02 +0000 (13:39 +0000)] 
Additional cleanup and optimization of the printf function. (CVS 2587)

FossilOrigin-Name: 240bb049001b0d1419d72b6ef909236e12bd5949

19 years agoAdd the "!" flag to the "%g" mprintf conversion parameter to force a
drh [Sat, 13 Aug 2005 12:59:14 +0000 (12:59 +0000)] 
Add the "!" flag to the "%g" mprintf conversion parameter to force a
decimal point.  This prevents floating point values from appearing as
integers.  Use this flag when converting floating point to text.
Ticket #1362. (CVS 2586)

FossilOrigin-Name: 4b98dace6b90abf4a6fe1cd51e6392fd213358c4

19 years agoMake the round() function work correctly on numbers with very large exponents.
drh [Sat, 13 Aug 2005 03:07:47 +0000 (03:07 +0000)] 
Make the round() function work correctly on numbers with very large exponents.
Ticket #1340. (CVS 2585)

FossilOrigin-Name: 4f47c3c884e38b810450b6127ab33c7b86e6743c

19 years agoFix a memory leak that occurs when a CREATE TABLE that contains a
drh [Sat, 13 Aug 2005 00:56:27 +0000 (00:56 +0000)] 
Fix a memory leak that occurs when a CREATE TABLE that contains a
DEFAULT VALUE fails due to a name conflict.  Tickets #1356 and #1357. (CVS 2584)

FossilOrigin-Name: 25cfe9390dda79bb2a7740b3d7380f517a4e8d1b

19 years ago3rd argument to sqlite3Error() should always be a format string, never
drh [Fri, 12 Aug 2005 23:20:53 +0000 (23:20 +0000)] 
3rd argument to sqlite3Error() should always be a format string, never
user-supplied error message text.  Ticket #1354. (CVS 2583)

FossilOrigin-Name: d6146a542aacd10d349d432fe343cc17cc3b3ab5

19 years agoImproved error message when a #NNN parameter appears on user input.
drh [Fri, 12 Aug 2005 22:58:53 +0000 (22:58 +0000)] 
Improved error message when a #NNN parameter appears on user input.
Additional coverage testing. (CVS 2582)

FossilOrigin-Name: 3c00f5982ae61dfcd26c33ccdb81736628dbfce5

19 years agoOptimize LIKE and GLOB operators in the WHERE clause. Code passes all
drh [Fri, 12 Aug 2005 22:56:09 +0000 (22:56 +0000)] 
Optimize LIKE and GLOB operators in the WHERE clause.  Code passes all
regression tests but still needs additional tests. (CVS 2581)

FossilOrigin-Name: 3edbe8d6217fd1180883e6b9f1e5b9011a39f80d

19 years agoImprove the error message associated with SQLITE_FULL. Ticket #1353.
drh [Thu, 11 Aug 2005 02:10:18 +0000 (02:10 +0000)] 
Improve the error message associated with SQLITE_FULL.  Ticket #1353.
Also remove error messages for obsolete error codes SQLITE_INTERNAL,
SQLITE_NOTFOUND, and SQLITE_TOOBIG. (CVS 2580)

FossilOrigin-Name: fa7403c7d9948cc4a6c6ed00a614e3d6a3682e78