drh
a67367e7d1
Fix a problem with the lock_status pragma and the UTF-16 encoding. (CVS 2710)
...
FossilOrigin-Name: 1a737b457c59286d7d5c3a98391dec17dbc82d09
2005-09-17 16:36:55 +00:00
drh
4928570812
Changes to make corruption errors easier to track down. (CVS 2709)
...
FossilOrigin-Name: c07330000b9427a77f412918078beffa18de2c36
2005-09-17 15:20:26 +00:00
drh
bfcb8909c6
Update the webpage description of 3.2.6 changes to talk about ticket #1432 . (CVS 2708)
...
FossilOrigin-Name: 0e23c28b25aced292cb068bc9a202cb627ba38ec
2005-09-17 15:17:40 +00:00
drh
36da52425b
Bug fix in the ORDER BY optimizer. Ticket #1435 . (CVS 2707)
...
FossilOrigin-Name: 553b7ba8f8ae4cb865494f2d301690149d7edb9f
2005-09-17 13:29:23 +00:00
drh
f5b1138bae
Make sure dependencies on the right-hand side of IN operators are checked
...
correctly. Ticket #1433 . (CVS 2706)
FossilOrigin-Name: 21740794ab81924442f358a6adbbe6d5590cf58d
2005-09-17 13:07:13 +00:00
drh
4190d4b53e
Updates to the FAQ. (CVS 2705)
...
FossilOrigin-Name: 0eaf430d9538ece1a3d1300db91f269577a5e028
2005-09-17 02:34:04 +00:00
drh
267cb326e9
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
2005-09-16 17:16:52 +00:00
drh
50f2f43cba
Do not journal the file locking page when doing a database copy as
...
part of a VACUUM. Ticket #1432 . (CVS 2703)
FossilOrigin-Name: 248f77972bb1be3325708ea143fd87bb7ce914a7
2005-09-16 11:32:18 +00:00
danielk1977
15f411dbdd
Prevent the sqlite3_pagecount() function from ever returning the pending-byte
...
page. (CVS 2702)
FossilOrigin-Name: 35a8893537ae5faed6ee49270ac9c01a6010993f
2005-09-16 10:18:45 +00:00
danielk1977
2349c3d151
Move the definition of sqlite3_pending_byte from test2.c to os_common.h. (CVS 2701)
...
FossilOrigin-Name: bedf702f539636fa3b65fd0d6797b087481b4613
2005-09-16 10:13:41 +00:00
danielk1977
fd5f5b65b4
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
2005-09-16 09:52:29 +00:00
drh
a2833a0cf6
Documentation changes in preparation for the release of 3.2.6. (CVS 2698)
...
FossilOrigin-Name: 243f455c7c4e5c0c56406c197fa78088bc3659ca
2005-09-16 02:55:13 +00:00
drh
688c9f0622
Undo check-in (2694). (CVS 2697)
...
FossilOrigin-Name: 6017b1962517eb206183042bbb718925d9819063
2005-09-16 02:48:01 +00:00
drh
53f733c7ae
Fix a whole host of newly discovered memory leaks the occur after a
...
failure of realloc(). (CVS 2696)
FossilOrigin-Name: 4686d649756a0aa301ade901ac49c89a976c5402
2005-09-16 02:38:09 +00:00
drh
b38ad9991c
Fix a memory leak: a failure to deallocate the P3 parameter on a call
...
to sqlite3VdbeChangeP3. (CVS 2695)
FossilOrigin-Name: 714254cbc12564d44548707043fdcdffb17e4fde
2005-09-16 00:27:01 +00:00
drh
6e4fc2ca2b
The table_info pragma now gives the order of columns in the primary key. (CVS 2694)
...
FossilOrigin-Name: 9b60f48de7fbca96c6e26266a8fb9eed8bc378f2
2005-09-15 21:24:51 +00:00
drh
289ab0760b
Correct the sense of a test for SQLITE_DEBUG on the resent NDEBUG change.
...
Ticket #1425 (CVS 2693)
FossilOrigin-Name: 81fdffdff6fd107c361b1ee69649455143bf3921
2005-09-13 16:12:47 +00:00
drh
111cf34f7a
Updates to the documentation on the TCL bindings. (CVS 2692)
...
FossilOrigin-Name: 94aa2d32459e1cee2df21fcc7df76c73dab903cd
2005-09-13 07:00:05 +00:00
drh
b27795c183
Fix a comment typo in the previous check-in. (CVS 2691)
...
FossilOrigin-Name: 49c952807dabd80bfeb46caf55856aaab988226c
2005-09-13 00:02:16 +00:00
drh
4b529d97ff
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
2005-09-13 00:00:00 +00:00
drh
9d4673a9ea
Bug fix in the new COUNT(DISTINCT) logic. Ticket #1420 . (CVS 2689)
...
FossilOrigin-Name: 37116550d33d8e3bdc15cd9998b9d2b97dec312b
2005-09-12 23:03:16 +00:00
drh
c99130fd82
COUNT(DISTINCT x) is now fully functional, though it could benefit from
...
additional testing. (CVS 2688)
FossilOrigin-Name: 2f397bd8142ec5e8f7238127012d14fdb558d918
2005-09-11 11:56:27 +00:00
drh
00b950d71e
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
2005-09-11 02:03:03 +00:00
drh
0c35667b02
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
2005-09-10 22:40:53 +00:00
drh
ecc9242f6f
Add the experimental EXPLAIN QUERY PLAN diagnostic capability. (CVS 2685)
...
FossilOrigin-Name: 986efb7b12643800805ad4b1f1e90e30fcf6d38a
2005-09-10 16:46:12 +00:00
drh
d891967052
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
2005-09-10 15:35:06 +00:00
drh
3dec223ca0
Use of the CROSS keyword in a join prevents table reordering. Ticket #1414 . (CVS 2683)
...
FossilOrigin-Name: 415b8b24629aa12756d8285c094b5f85d8a8e532
2005-09-10 15:28:09 +00:00
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