drh
f307a4aaf8
Enhanced disk-full tests. (CVS 2682)
...
FossilOrigin-Name: 0288fa5d25886f6fbef0be782f12285d62bebd68
2005-09-09 10:46:19 +00:00
drh
e08b814d72
Detect errors returned by SetFilePointer on windows. (CVS 2681)
...
FossilOrigin-Name: bc8c33f94ce069f7bcfc32a59d5c40e034e023b5
2005-09-09 10:17:33 +00:00
drh
fd35797469
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
2005-09-09 01:33:19 +00:00
drh
b4746b9e33
Defend against disk I/O errors that happen during an sqlite3OsSeek(). (CVS 2679)
...
FossilOrigin-Name: 461e3a0a27ff083b0bae10c9880e3b41bb85ee31
2005-09-09 01:32:06 +00:00
drh
c2bd913a40
SUM returns NULL when it has no inputs. Ticket #1413 . (CVS 2678)
...
FossilOrigin-Name: 6281859425d39c11d82875301fefafad1f08416d
2005-09-08 20:37:43 +00:00
drh
3f219f46fc
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
2005-09-08 19:45:57 +00:00
drh
825c662e66
Remove a C++ism that snuck in on one of the reason changes. (CVS 2676)
...
FossilOrigin-Name: 48f6a331efea419fe948cd366f9c60ae41edddfd
2005-09-08 19:01:05 +00:00
drh
4f26bb62a8
Remove a few unused variables detected by Borland C. Ticket #1412 . (CVS 2675)
...
FossilOrigin-Name: cdfe372a958fb446485913e860d52b87fffd34e4
2005-09-08 14:17:20 +00:00
drh
97571957a1
Aggregates with GROUP BY can sometimes return no result rows. (CVS 2674)
...
FossilOrigin-Name: 0c3e368d4766685b94a44f2c514e2dea806c297c
2005-09-08 12:57:28 +00:00
drh
eb796a7c8f
While doing a transaction comment, use fdatasync() instead of fsync() in
...
cases there the file size is unchanged. (CVS 2673)
FossilOrigin-Name: 3c555a87493128620ac967faf7c63c2a58856e9e
2005-09-08 12:38:41 +00:00
drh
f80bcd73af
Fix another test to account for SUM() returning integer rather than float. (CVS 2672)
...
FossilOrigin-Name: bc723235e65eb4da7d2e4b18653f1173374cb407
2005-09-08 12:37:28 +00:00
drh
2af6742d86
Fix typos in documentation. Ticket #1239 . (CVS 2671)
...
FossilOrigin-Name: 73fbb8d9689fecec18c36814e4358e691bcd647e
2005-09-08 11:04:57 +00:00
drh
3224b32b00
Fix a comment in sqlite.h. Ticket #1321 . (CVS 2670)
...
FossilOrigin-Name: ed4e9e751be2b982af9561aba20c8e1367828b81
2005-09-08 10:58:51 +00:00
drh
3d1d95e625
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
2005-09-08 10:37:01 +00:00
drh
d49c16ee9b
Changes to comments only in sqliteInt.h. No changes to code. (CVS 2668)
...
FossilOrigin-Name: cc2a61650ea0d4b2ef67e144424327362999526d
2005-09-08 02:00:25 +00:00
drh
9d2985c7b4
Optimizations and refinements. Improvements to test coverage. (CVS 2667)
...
FossilOrigin-Name: 7283f7c29db4f622380b6a5cb745a4dc0c8e6a25
2005-09-08 01:58:42 +00:00
drh
5360ad34b1
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
2005-09-08 00:13:27 +00:00
drh
d1c301e804
More bug fixes. All of the "quick" tests pass. The full test suite still
...
shows problems. (CVS 2665)
FossilOrigin-Name: a1b6d910cdbb53f12366402d9585dce2aad3ba3d
2005-09-07 23:05:21 +00:00
drh
5774b80629
More bug fixes. But there are still tests that fail. (CVS 2664)
...
FossilOrigin-Name: 7e85a162d0ecf0acdbffcacc62b60d97fe123881
2005-09-07 22:48:16 +00:00
drh
a10a34b88f
Bug fixes in aggregate processing. Fewer tests fail. (CVS 2663)
...
FossilOrigin-Name: c3ac58592f5e6305640868cdf42c129f1a25255d
2005-09-07 22:09:48 +00:00
drh
13449892ef
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
2005-09-07 21:22:45 +00:00
drh
79158e1865
Changes to reduce the amount of stack space required. (CVS 2661)
...
FossilOrigin-Name: b86bd70f301205d6ca66475a425e157b976107e2
2005-09-06 21:40:45 +00:00
drh
abfcea25ea
Cleanup the processing of MEM_Agg elements. (CVS 2660)
...
FossilOrigin-Name: 7ecf3654aa9a275a4cf0c3ec5f63a8c1e0a11fc9
2005-09-06 20:36:48 +00:00
drh
1ec43c9a5a
Fix ANALYZE so that it works even if the empty_result_callbacks pragma is
...
enabled. Ticket #1409 . (CVS 2659)
FossilOrigin-Name: bfdaef1224d741deefe211e1e607bac4c80f2d89
2005-09-06 10:26:47 +00:00
drh
b726ee6d1c
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
2005-09-05 20:35:25 +00:00
drh
d81bd4e209
Fix bugs introduced by checkin (2656) and do some modest code enhancements. (CVS 2657)
...
FossilOrigin-Name: 7b56763a8b514834198d2392639d6d726b17d901
2005-09-05 20:06:49 +00:00
drh
c092998715
Use the unicode API to win32 where available.
...
Tickets #1407 , #1396 , #1331 , #1243 , #1206 (CVS 2656)
FossilOrigin-Name: 3ec58c673ae4cf0695ea0c287cc9bcbdcdb1a200
2005-09-05 19:08:29 +00:00
drh
a21c8495f9
Fix over-aggressive optimization of ORDER BY as reported on the mailing list. (CVS 2655)
...
FossilOrigin-Name: efbb4bc83cd86b6a26d58c5818c58c2e3edaab18
2005-09-01 17:47:51 +00:00
drh
4db38a7092
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
2005-09-01 12:16:28 +00:00
drh
0342b1f542
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
2005-09-01 03:07:44 +00:00
drh
dece1a8464
{quote: KeyInfo} generation moved to a common subroutine. (CVS 2652)
...
FossilOrigin-Name: a25801df06e218e70570a6b9eae71603d590fe3a
2005-08-31 18:20:00 +00:00
drh
6242b9511d
Updates to the query optimizer overview document. (CVS 2651)
...
FossilOrigin-Name: b1dceef0508ffe20ab2ff8fa5e5b5a44f4f224aa
2005-08-31 13:48:34 +00:00
drh
37108e112a
Explicit typecasts to silence nuisance compiler warnings. Ticket #1398 . (CVS 2650)
...
FossilOrigin-Name: 90712ea7273597214d6c77a01e41f84146d201c8
2005-08-31 13:13:31 +00:00
drh
a91965b38a
Refinements to the optimizer overview and integration into the website. (CVS 2649)
...
FossilOrigin-Name: ccd12e9e790e271cb1dbbae1c13e9cb980eaf11d
2005-08-31 03:13:12 +00:00
drh
b64d5ee42c
Update the FAQ to include an entry about binary versus decimal numbers. (CVS 2648)
...
FossilOrigin-Name: 0bbe73fccfe52700c2ae1122388764e81a78bc22
2005-08-31 02:46:21 +00:00
drh
f6ac657f27
Adding the first cut of the optimizer overview document. (CVS 2647)
...
FossilOrigin-Name: 4c8d0a4c26e44088ffb9f21aa7641a5ebd0058be
2005-08-31 01:49:59 +00:00
drh
8897f6fa3f
Adjust the makefile for new optimizer documentation. (CVS 2646)
...
FossilOrigin-Name: 14668c85b87f7c9b83efd592ddc693522c764969
2005-08-30 22:44:29 +00:00
drh
3e60cdc3c0
Initial work on documentation describing the optimizer. (CVS 2645)
...
FossilOrigin-Name: 5cebd7ba3ccbdd0f4c8fe77091992f52d3a4b24c
2005-08-30 22:44:05 +00:00
drh
0a8640d4f2
The CSV output mode does not sign-extend bytes where the high-order bit is set.
...
Ticket #1397 . (CVS 2644)
FossilOrigin-Name: 528df777e5d76077d8766f04ee222fd64d9373a6
2005-08-30 20:12:02 +00:00
drh
63782855ee
Fix printf.c so that it handles 10.0 correctly. (CVS 2643)
...
FossilOrigin-Name: 0f7a53f78d9dd5c426be834f2d50a6fe4e860141
2005-08-30 19:30:59 +00:00
drh
5d9a4af9af
Minor code enhancements. (CVS 2642)
...
FossilOrigin-Name: 4ab994a87ee844f453d693555abd61b51bb44a0e
2005-08-30 00:54:01 +00:00
drh
220b10285b
Update the home page to brag about 150KiB code footprint when optional
...
features are omitted. (CVS 2641)
FossilOrigin-Name: 0e1ac1284c0547af0bb0eb4ff320b9f5ae9c248d
2005-08-30 00:10:45 +00:00
drh
01b4171e57
Make the shell aware of SQLITE_OMIT_MEMORYDB. Ticket #1395 . (CVS 2640)
...
FossilOrigin-Name: 71a71cef5b3c97744322ceceb48ac3055512c987
2005-08-29 23:06:23 +00:00
drh
19e2d37f1d
Increase resolution of time-of-day on unix. Add an experimental
...
sqlite3_profile() API. (CVS 2639)
FossilOrigin-Name: ed2ca0873fa89d6cfd123541d5d1c6b92c72b6ab
2005-08-29 23:00:03 +00:00
drh
b46b57745d
Initialize a local variable to avoid a nuisance compiler warning.
...
Ticket #1394 . (CVS 2638)
FossilOrigin-Name: 9b914901a18f8ea39c39a51509c0b3b862c13d6a
2005-08-29 16:40:52 +00:00
drh
d64fe2f374
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
2005-08-28 17:00:23 +00:00
drh
bfd6b03554
Improvements to the formatting and layout of the code in the previous checkin. (CVS 2636)
...
FossilOrigin-Name: 73b430de0c0f3cd230861fc1a53691818f17de0d
2005-08-28 01:38:44 +00:00
drh
de941c605e
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
2005-08-28 01:34:21 +00:00
drh
9b4b45d5cf
Version 3.2.5 (CVS 2634)
...
FossilOrigin-Name: b2415a749ca5352e5bb4ad08df0c947ec8b02d18
2005-08-27 17:23:00 +00:00
drh
0b9693556d
Change the wording of the news line for release 3.2.5. (CVS 2633)
...
FossilOrigin-Name: 70db46d3efa4c7da4b99f7385afff03f778ab9c4
2005-08-27 17:22:11 +00:00
drh
c5ee956611
Get the date right. Today is the 27th, not the 25th or the 28th. (CVS 2632)
...
FossilOrigin-Name: 905b9d6c5e624f35272bf49df0d88ceea2bb73e8
2005-08-27 17:19:33 +00:00
drh
f9dc42d870
Increase the version number and update web pages for the next release. (CVS 2631)
...
FossilOrigin-Name: e6039e909a3fe807e1499fa99265ffe6c5c2008e
2005-08-27 17:06:15 +00:00
drh
2c8997b9a5
Disable synchronous writes to the master journal when PRAGMA synchronous=OFF
...
for all database files. Ticket #1375 . (CVS 2630)
FossilOrigin-Name: 644b96aa23de7e828280d35785db840a4fa9413d
2005-08-27 16:36:48 +00:00
drh
9cc5abd769
Fix comment in vdbeapi.c. Remove unused structure definition from func.c. (CVS 2629)
...
FossilOrigin-Name: 51a381345db45967567dd0a18905d352bf1081e0
2005-08-27 13:16:32 +00:00
drh
ff8a0983d2
Remove the words "statically linked" from the description of the shell on
...
the download page. Ticket #1391 . (CVS 2628)
FossilOrigin-Name: ecb9604457d5ab6bcd81b582cc4dd85a8f371b86
2005-08-27 13:11:20 +00:00
drh
77207ab7c6
Remove GNUmake extensions from the makefile. Ticket #1390 . (CVS 2627)
...
FossilOrigin-Name: d0691fed4344869830ea9ec2390bc1e7c1679844
2005-08-27 09:07:14 +00:00
drh
6e4b7cd4ef
Do not change fields of stale sqlite3 handles. Ticket #1384 . (CVS 2626)
...
FossilOrigin-Name: 7e05b7ca0ce72b1c6125196f4b21bbb676bc488c
2005-08-27 01:51:44 +00:00
drh
e69cc5b742
Widen the opcode column of explain output in the shell. (CVS 2625)
...
FossilOrigin-Name: dd3b00aa0bf3b847b0b2f20f6df60d4e3a2d81df
2005-08-27 01:50:53 +00:00
drh
87abf5c033
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
2005-08-25 12:45:04 +00:00
drh
65d415cb72
Fix the --enable-threadsafe option to the configure script. Ticket #1378 . (CVS 2623)
...
FossilOrigin-Name: 76ec0b3d3a6cc82965e4f993375780b954c53dd1
2005-08-24 18:04:51 +00:00
drh
0f77f5dc0b
Additional defense against the rowid-fifo overflow problem. (CVS 2622)
...
FossilOrigin-Name: 881dcf5fb16997830ff347d2eb2610784b415f25
2005-08-24 17:07:37 +00:00
drh
978468d488
Remove a stray C++ style comment causing problems for some compilers. (CVS 2621)
...
FossilOrigin-Name: aa7dd3f2c72335fe7778c021e4b6bbbc4ec322df
2005-08-24 16:54:05 +00:00
drh
3ca84ba0a0
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
2005-08-24 16:13:51 +00:00
drh
3268f2b10c
Version 3.2.4 (CVS 2619)
...
FossilOrigin-Name: 8cef2c1ae728970a38d794f9903115da5d0fcd55
2005-08-24 11:14:46 +00:00
drh
96c52a9b48
Increase the version number and update the change log prior to release. (CVS 2618)
...
FossilOrigin-Name: 139a28d231875e72538fd6842168c458441ad1d0
2005-08-24 11:07:19 +00:00
drh
9eb2028fbc
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
2005-08-24 03:52:18 +00:00
drh
7681618c18
Allow floating point literals to being or end with a decimal point.
...
Ticket #1371 . (CVS 2616)
FossilOrigin-Name: a715e7001247e84e0982335570593f0802774635
2005-08-23 11:31:26 +00:00
drh
6c8c6cec1f
Handle empty blob constants correctly. Ticket #1373 . (CVS 2615)
...
FossilOrigin-Name: 5cada745ac9bf18a65d21705a398b2bb8bd1aaa2
2005-08-23 11:17:58 +00:00
drh
75757853a0
Fix another documentation typo. (CVS 2614)
...
FossilOrigin-Name: 55f4b14e1958ff3d2b0c99749f0c01192bafbf37
2005-08-23 11:03:02 +00:00
drh
8c154875b1
Fix typos in syntax documentation. Ticket #1374 and a report on the mailing
...
list. (CVS 2613)
FossilOrigin-Name: 990d1f3a5b13cadc2930334c4bd7007e3645e75b
2005-08-23 11:00:39 +00:00
drh
ff1bc76916
Update the download page of the website to handle TEA builds and starkits. (CVS 2612)
...
FossilOrigin-Name: 1fab599b6f89534152c53b820b5e6ee1ba30c059
2005-08-22 02:10:46 +00:00
drh
ad81e87054
Clean up possible locking problem in multithreaded applications that take
...
a malloc failure. (CVS 2611)
FossilOrigin-Name: 545e702a23c7a6b09e10441d4137efe5a9618a84
2005-08-21 21:45:01 +00:00
drh
03e7954732
Version 3.2.3 (CVS 2610)
...
FossilOrigin-Name: f620319b440dab9f8a0ad9ada3e6ee5560d5c623
2005-08-21 18:54:48 +00:00
drh
7a22af6a60
Increase the version number and adjust documentation prior to the next release. (CVS 2609)
...
FossilOrigin-Name: b15ed7db4d5186d8b22c0b51cd44c4d9d7001318
2005-08-21 18:40:20 +00:00
drh
788581d78a
Disable malloc tests when not compiled with SQLITE_DEBUG. (CVS 2608)
...
FossilOrigin-Name: f372682fa375c22213da0e4cd8413eab3c6ac85b
2005-08-21 18:21:50 +00:00
drh
130b9f4040
Do not create an error message if there is no error. (CVS 2607)
...
FossilOrigin-Name: 3aa47c5587819a5fc3e2cb53a7fbc79ba65f0c3b
2005-08-21 17:48:46 +00:00
drh
992f2d781d
Do not overwrite small files (less than 1024 bytes) that are not databases.
...
Ticket #1370 . (CVS 2606)
FossilOrigin-Name: 7f4302686e55f22b281d98a8a3b89300f4ce4eb6
2005-08-21 16:54:25 +00:00
drh
f0bce09cdd
More test coverage improvements. (CVS 2605)
...
FossilOrigin-Name: e559e810a51427def6928763ae0d6f7347366d04
2005-08-20 13:47:41 +00:00
drh
85c23c61e2
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
2005-08-20 03:03:04 +00:00
drh
0bbaa1ba9a
Increase test coverage of alter.c to 100%. Fix bugs found in the process. (CVS 2603)
...
FossilOrigin-Name: b550d04d43a92f33a01438ae03df14678db3cdee
2005-08-19 19:14:12 +00:00
drh
f14fd03899
Additional tests for better coverage. (CVS 2602)
...
FossilOrigin-Name: 4281a838f2f531af24b008d2834e8318798472c5
2005-08-19 03:03:51 +00:00
drh
5eba8c09df
Increased test coverage on trigger.c and printf.c. (CVS 2601)
...
FossilOrigin-Name: 842a80bd8f18d6fd046604f9a057bcd738234f1f
2005-08-19 02:26:27 +00:00
drh
fc23314a0b
More test coverage enhancements. (CVS 2600)
...
FossilOrigin-Name: 0b6cd5acc0ede3367623f40ccfaa96116e686824
2005-08-19 01:07:15 +00:00
drh
8b3d990b71
Bring testing coverage of the analyze.c file up to 100%. Bugs found and
...
fixed in the process. (CVS 2599)
FossilOrigin-Name: 2fe0ac4fa4d5911e266979021fa7e413d96c558d
2005-08-19 00:14:42 +00:00
drh
91124b3545
Comment fixes. No changes to the underlying code. (CVS 2598)
...
FossilOrigin-Name: b865e243ee772f009dbf466d69525f2cdef78c0e
2005-08-18 18:15:05 +00:00
drh
731c96b412
Fix typo in documentation. (CVS 2597)
...
FossilOrigin-Name: 32efcd24612908516fb5bc58ab3fe4790586a220
2005-08-16 14:44:48 +00:00
drh
ce604012ac
Null-terminate the strings array passed to Tcl_GetIndexFromObj. Bug
...
reported on the mailing list. (CVS 2596)
FossilOrigin-Name: 3a7918a66bf98368c2520f94e505a21a1df3383c
2005-08-16 11:11:34 +00:00
drh
c182d16302
General code cleanup resulting in smaller footprint. (CVS 2595)
...
FossilOrigin-Name: 98338abf9e8cfbf8efa81cff0e40ea37e34fd9b2
2005-08-14 20:47:16 +00:00
drh
a2b902d66d
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
2005-08-14 17:53:20 +00:00
drh
9abc9c6aff
Declare local-use functions as static. Ticket #1363 . (CVS 2593)
...
FossilOrigin-Name: 94efd7908880c7d99c08ebc9a3437cfbefc42f7e
2005-08-14 01:34:19 +00:00
drh
55ef4d9758
The case_sensitive_like pragma added.
...
Test cases added for the LIKE optimization. (CVS 2592)
FossilOrigin-Name: 72ee21c05e618b6f46f5460f8c85779c72fe32d7
2005-08-14 01:20:37 +00:00
drh
3d94662a06
Provide grave accent quoting of identifiers for MySQL compatibility.
...
Ticket #1337 . (CVS 2591)
FossilOrigin-Name: 6b7a4e97528a4e179e0bbae69469cb1a3d1f794b
2005-08-13 18:15:42 +00:00
drh
d645967aaa
Give the same access permissions to journal files as is given to databases. (CVS 2590)
...
FossilOrigin-Name: 7961ec0ccbc99d890689013b9602635941f308a6
2005-08-13 17:17:01 +00:00
drh
8718f52624
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
2005-08-13 16:13:04 +00:00
drh
531fe87834
Fix a comment in printf. (CVS 2588)
...
FossilOrigin-Name: 1054685f15095ef147d9e9a32bd56b0eaaf9fa54
2005-08-13 13:40:42 +00:00
drh
3e9aeec03f
Additional cleanup and optimization of the printf function. (CVS 2587)
...
FossilOrigin-Name: 240bb049001b0d1419d72b6ef909236e12bd5949
2005-08-13 13:39:02 +00:00
drh
557cc60f4d
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
2005-08-13 12:59:14 +00:00
drh
592ac8cb6c
Make the round() function work correctly on numbers with very large exponents.
...
Ticket #1340 . (CVS 2585)
FossilOrigin-Name: 4f47c3c884e38b810450b6127ab33c7b86e6743c
2005-08-13 03:07:47 +00:00
drh
42b9d7c561
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
2005-08-13 00:56:27 +00:00
drh
2501eb1df6
3rd argument to sqlite3Error() should always be a format string, never
...
user-supplied error message text. Ticket #1354 . (CVS 2583)
FossilOrigin-Name: d6146a542aacd10d349d432fe343cc17cc3b3ab5
2005-08-12 23:20:53 +00:00
drh
bb7ac00bf0
Improved error message when a #NNN parameter appears on user input.
...
Additional coverage testing. (CVS 2582)
FossilOrigin-Name: 3c00f5982ae61dfcd26c33ccdb81736628dbfce5
2005-08-12 22:58:53 +00:00
drh
d2687b7731
Optimize LIKE and GLOB operators in the WHERE clause. Code passes all
...
regression tests but still needs additional tests. (CVS 2581)
FossilOrigin-Name: 3edbe8d6217fd1180883e6b9f1e5b9011a39f80d
2005-08-12 22:56:09 +00:00
drh
2db0bbc24b
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
2005-08-11 02:10:18 +00:00
drh
4dcbdbff40
Add 2005 open source award badge and news announcement. (CVS 2579)
...
FossilOrigin-Name: 8e007f8c06748c5f02068c1f244bc8e3026e16fd
2005-08-11 01:25:22 +00:00
drh
1cd7f83ef5
Make sure the .import command strips newlines off the end of the last
...
field in each line imported. Ticket #1348 (CVS 2578)
FossilOrigin-Name: 73fafd2148b8cd0f92747fca03e3df5778e1070f
2005-08-05 18:50:51 +00:00
drh
7018030d06
Comment out the use of memory high-water marks when not compiling with
...
SQLITE_MEMDEBUG. (CVS 2577)
FossilOrigin-Name: fb7a258fd35fdf81772b9d47711d30a30dfa4564
2005-08-02 21:42:16 +00:00
drh
45b1ee44a4
Minor refactoring of the new optimizer code. (CVS 2576)
...
FossilOrigin-Name: 868322f7b7176486dfb4b54d99cf6662b79e639d
2005-08-02 17:48:22 +00:00
drh
586e4b2f30
Update the documentation for the new transaction method on the TCL interface. (CVS 2575)
...
FossilOrigin-Name: 3dc823a0ac12f640a3c54fe1eb7be878d2738529
2005-08-02 17:38:19 +00:00
drh
b5555e7e34
Tests and bug fixes on the new transaction method in the TCL interface. (CVS 2574)
...
FossilOrigin-Name: 68dd0ed5e312ecd5e98ee0fa1c21b70ff330f711
2005-08-02 17:15:14 +00:00
drh
09d0debf3b
Fix a bug in the btree balancer. ticket #1346 . (CVS 2573)
...
FossilOrigin-Name: 3af69a49289f52f321ccd365e92d22b820c3139e
2005-08-02 17:13:09 +00:00
drh
3d21423c65
Add the "transaction" coommand to the TCL interface. Untested. (CVS 2572)
...
FossilOrigin-Name: a5ce6c58c3bfc0e1c9953fe4ad4991ac56a4fb87
2005-08-02 12:21:08 +00:00
drh
943af3cda1
Fix problems caused by over-agressive optimization of ORDER BY in joins.
...
Lots more testing needed. (CVS 2571)
FossilOrigin-Name: 1a4e526d46280970b43505a5c8a4090767c63043
2005-07-29 19:43:58 +00:00
drh
2ce99ecf8b
Fix authentication so that it works with AS aliases. Ticket #1338 . (CVS 2570)
...
FossilOrigin-Name: cc7ae73ed01f0b89e31dd8de48b913bbd83887b8
2005-07-29 15:36:14 +00:00
drh
6c30be8e51
Optimizer now converts OR-connected WHERE-clause terms into an IN operator so
...
that they can be used with indices. There are known problems with the
ORDER BY optimization in this and in several prior check-ins. This
check-in is not recommended for production use. (CVS 2569)
FossilOrigin-Name: d23c8bf81e508722e92ff1b9c8bc98dc026a31f2
2005-07-29 15:10:17 +00:00
drh
ed37800693
The BETWEEN operator in a WHERE clause is now able to use indices. (CVS 2568)
...
FossilOrigin-Name: cdf8c9584b945212e065e044df801c207aedb675
2005-07-28 23:12:08 +00:00
drh
a611040eea
Test cases and tuning of the new optimizer code. (CVS 2567)
...
FossilOrigin-Name: 4b02703dec71aa78e5f8d8cab5b950966a4c6abc
2005-07-28 20:51:19 +00:00
drh
3adc9cedb0
The new optimizer now passes all regression tests. (CVS 2566)
...
FossilOrigin-Name: a21212843359fb9fdbd60799ae50ad3566f4399a
2005-07-28 16:51:51 +00:00
drh
28c4cf42da
More work on the new optimizer. Fewer tests fail now. (CVS 2565)
...
FossilOrigin-Name: ee3a08e353f563c36e904479393fcb56f96ee975
2005-07-27 20:41:43 +00:00
drh
51147baa6d
A new optimizer that breaks a lot of tests. But none of them critically, I
...
think. Nevertheless, there is a lot of work ahead to stabilize the code. (CVS 2564)
FossilOrigin-Name: 86ce56ccea8297b1fba2b9ee53b5f1a3f228662f
2005-07-23 22:59:55 +00:00
drh
17a18f2f36
Store the total number of rows as part of the ANALYZE statistics. (CVS 2563)
...
FossilOrigin-Name: 868279c78e056d27b2d1bea81127fe689b2ce478
2005-07-23 14:52:12 +00:00
drh
497e446d76
The results of ANALYZE are now loaded into internal data structures where
...
they can be used. But they are not actually used yet. (CVS 2562)
FossilOrigin-Name: 1996bacfb97180965304e2a6d6784b6ecbbf8575
2005-07-23 03:18:40 +00:00
drh
e6e049694d
Full-coverage testing and documentation for the ANALYZE command. The
...
results of analysis are still not loaded or used, however. (CVS 2561)
FossilOrigin-Name: bd7583a5d63412785a9c5de54d25b509da241605
2005-07-23 02:17:03 +00:00
drh
ff2d5ea408
First code for the ANALYZE command. Mostly untested. The analysis is
...
not loaded into the symbol tables and is not used by the optimizer. (CVS 2560)
FossilOrigin-Name: a4886b114d2ccb3841d3d219f6b97f67745b13c2
2005-07-23 00:41:48 +00:00
drh
d00ada9a00
Clarify the meaning of the TEMP keyword on CREATE TABLE. (CVS 2559)
...
FossilOrigin-Name: 1a573619f558d1d67775d17aabb9d704f82ad1a8
2005-07-22 23:56:49 +00:00
drh
ed90e26313
Correct the documentation to show that sqlite3_column_text() returns
...
a NULL pointer (not an empty string) when the column value is NULL.
The same goes for sqlite3_column_blob(). Ticket #1334 . (CVS 2558)
FossilOrigin-Name: fd1e013a14710ed2ecabddedc0d110562cfdbfc2
2005-07-22 22:53:15 +00:00
drh
e23399fc9c
Begin adding code to support multiple IN constraints on the same index. (CVS 2557)
...
FossilOrigin-Name: 103f8ccb9013689a480766ebffbf570d4aa8bac5
2005-07-22 00:31:39 +00:00
drh
29dda4ae65
Split the OP_Integer opcode into OP_Integer and OP_Int64. This allows
...
comments to be added to OP_Integer. Cleanup in the optimizer. Allow
terms of the FROM clause to be reordered automatically. (CVS 2556)
FossilOrigin-Name: e2f822ac82d0a5a59de0b63cce65d4fd6c178ff1
2005-07-21 18:23:20 +00:00
drh
7ec764a29e
Add comments to test cases. Improvements to the query plan test variable. (CVS 2555)
...
FossilOrigin-Name: ef3a157f469d72cbd2f713f997598ddf47f340d2
2005-07-21 03:48:20 +00:00
drh
fe05af87f8
In where.c, split out the code that selects an index into a separate
...
subroutine. (CVS 2554)
FossilOrigin-Name: c30cbba9ead1b4d07f225b1e8a65d5d5230ea45d
2005-07-21 03:14:59 +00:00
drh
013972052e
Extra memory usage instrumentation added. (CVS 2553)
...
FossilOrigin-Name: ac669f56c0759a7e3eaa6f0018c8fb9d614e7d69
2005-07-20 14:31:53 +00:00
drh
e8b9727835
More refactoring in where.c. (CVS 2552)
...
FossilOrigin-Name: a35bd50af8961133adc66e40c38402e81a02bb56
2005-07-19 22:22:12 +00:00
drh
0fcef5e110
Refactoring of the query optimizer in advance of adding better optimization. (CVS 2551)
...
FossilOrigin-Name: 57c6bd3760163c174be4a2ece58f414e82b55938
2005-07-19 17:38:22 +00:00
drh
0aa74edd72
Allow an unlimited number of terms in the WHERE clause. The old limit was 100. (CVS 2550)
...
FossilOrigin-Name: ca69f36832d57775e73ac5cdbe0a32d7b759432b
2005-07-16 13:33:20 +00:00
drh
9042f395cc
Fix bugs in the new query plan instrumention logic. (CVS 2549)
...
FossilOrigin-Name: 578490c91331a386f84652db0b3bfd74c82046e1
2005-07-15 23:24:23 +00:00
drh
84bfda41db
Add test instrumentation that will be needed during the development of
...
forthcoming optimizer enhancements. (CVS 2548)
FossilOrigin-Name: dfd5fd77b0764853f847eeee3c1fe047d60fee7e
2005-07-15 13:05:21 +00:00
drh
4cfb644e5f
Add remark in the changelog that mentions 64-bit alignment fixes in 3.2.2. (CVS 2547)
...
FossilOrigin-Name: ead583cfad7c6ea84c3685d89f40104f4d33bc81
2005-07-09 23:11:22 +00:00
drh
c0f2a01926
Fix a comment error. No changes to code. Ticket #1320 . (CVS 2546)
...
FossilOrigin-Name: e050af70adcdac8f9c9d8cffd1658f7fb2ebd362
2005-07-09 02:39:40 +00:00
drh
e866fcb923
Use the internal sqlite3_snprintf function instead of sprintf to avoid
...
cross-platform incompatibilities. Ticket #1316 . (CVS 2545)
FossilOrigin-Name: 431999da7bf0079e0d514483b3bfd9f8471cba7d
2005-07-09 02:38:06 +00:00
drh
df3816974c
Patch to Makefile.in so that it works with OS X. Ticket #1292 . (CVS 2544)
...
FossilOrigin-Name: 0dfabca641371690027634213632c914ad6f2b8b
2005-07-09 02:23:24 +00:00
drh
a4afb65cb7
Make sure there is only one busy counter. Ticket #1315 . (CVS 2543)
...
FossilOrigin-Name: af2a0ba4a38abf208db1ff6f018cf756de2afd5b
2005-07-09 02:16:02 +00:00
drh
57dbd7b324
Allow the IN operator to take a list of arbitrary expressions on its
...
right-hand side. The expressions no longer need to be constant. The
current implementation seems to work but needs more testing and optimization. (CVS 2542)
FossilOrigin-Name: ba56478dd8bc2135749966ff55831fd497883781
2005-07-08 18:25:26 +00:00
drh
9170dd7e1c
Change the name of the OpenTemp opcode to OpenVirtual which is more
...
descriptive of what it does. (CVS 2541)
FossilOrigin-Name: 3bb9ce5f20d0a6bc19df31df9b8e82044c3e6004
2005-07-08 17:13:46 +00:00
drh
392e597c8a
Add the EP_OptOnly flag on expressions for WHERE clause
...
terms that are added by the optimizer but should not be coded. (CVS 2540)
FossilOrigin-Name: f4a66ed04dfd8714746b766b4859682ea18e328f
2005-07-08 14:14:22 +00:00
drh
70031fa396
Add the SQLITE_CASE_SENSITIVE_LIKE compile-time option. (CVS 2539)
...
FossilOrigin-Name: b72bff81f9937378417a0af0610d8558279b67a7
2005-07-08 13:53:21 +00:00
drh
a01f79df49
Replace OP_List with OP_Fifo. This is the first step toward allowing
...
recursive delete triggers and later foreign keys with cascading deletes. (CVS 2538)
FossilOrigin-Name: 94c120bb782fed53142317d1755e70c858930486
2005-07-08 13:07:59 +00:00
drh
9f18e8a0c4
Add infrastructure for the ANALYZE command. Does not yet actually
...
do anything. (CVS 2537)
FossilOrigin-Name: 05b6ac9a76fd5765c50e81588f8e71c59fe35ce4
2005-07-08 12:13:04 +00:00
drh
26d0e2a6da
Fix a quoting problem in the configure script. (CVS 2536)
...
FossilOrigin-Name: b34647a2ebec6f915f9914034e9370459873215e
2005-07-06 13:51:27 +00:00
drh
7bac700686
Fix typos in comments. No changes to code. (CVS 2535)
...
FossilOrigin-Name: d3b03495a46e79a9d82525a61bad99eef9469ad1
2005-07-01 11:38:44 +00:00
drh
eb55bd2fe9
Allow the DEFAULT value of a column to be obtained by calling a
...
function that has constant arguments, such as julianday('now'). (CVS 2534)
FossilOrigin-Name: d273766ef2442eb87971b07f9ecf5682c88298ee
2005-06-30 17:04:21 +00:00
drh
67ce73b466
Check for zero-byte allocations in sqlite3MallocRaw. (CVS 2533)
...
FossilOrigin-Name: 78cb8a9a17a29bb8d9ffb6298b25cc43f9cbfed9
2005-06-29 17:24:23 +00:00