]>
git.ipfire.org Git - thirdparty/sqlite.git/log
drh [Mon, 21 Nov 2005 12:46:27 +0000 (12:46 +0000)]
The EXPLAIN QUERY PLAN now identifies when tables use the integer primary key. (CVS 2771)
FossilOrigin-Name:
80721e2c9033abb2e9eed32892c4e486c293e1fa
drh [Wed, 16 Nov 2005 13:47:50 +0000 (13:47 +0000)]
Fix a problem with the sorting of literals in a compound query. Ticket #1501. (CVS 2770)
FossilOrigin-Name:
b3882b434a1ef7d8d636c7c5917b9e8f0d2952fb
drh [Wed, 16 Nov 2005 12:53:15 +0000 (12:53 +0000)]
Do not allow aggregate functions in a WHERE clause. Ticket #1514. (CVS 2769)
FossilOrigin-Name:
bb866ed880c33ec9ce6ded8ebdbb459fedf9c257
drh [Wed, 16 Nov 2005 04:34:32 +0000 (04:34 +0000)]
Avoid unnecessary strlen() calls in the OP_String opcode. (CVS 2768)
FossilOrigin-Name:
2e195e96bcbad104da09ebe6cef617e0e9ef1884
drh [Tue, 15 Nov 2005 02:14:00 +0000 (02:14 +0000)]
Fix a bug in UTF-16 handling introduced by the previous check-in. (CVS 2767)
FossilOrigin-Name:
25fa16a2e1f324790f4b293df5d7142575034428
drh [Mon, 14 Nov 2005 22:29:05 +0000 (22:29 +0000)]
Create separate affinities for INTEGER and REAL. (CVS 2766)
FossilOrigin-Name:
ce06c123d0c5663dbaf263c2e0aaf5d9cdeb2ccd
drh [Mon, 14 Nov 2005 11:51:45 +0000 (11:51 +0000)]
Fix documentation typo. (CVS 2765)
FossilOrigin-Name:
c9b413ea22d1da926621670b903c7a683921eef0
drh [Sun, 6 Nov 2005 04:06:59 +0000 (04:06 +0000)]
About 0.5KiB of additional compression in the parser tables. (CVS 2764)
FossilOrigin-Name:
f39974ebd81f274dc4cf6cf94e6e87ee7b4a0814
drh [Sat, 5 Nov 2005 15:11:22 +0000 (15:11 +0000)]
Work around a bug in MSVC++. Ticket #1513. (CVS 2763)
FossilOrigin-Name:
6331860e7754be6e0d2a484d66427947c0781dd6
drh [Sat, 5 Nov 2005 15:07:55 +0000 (15:07 +0000)]
Remove a C++-ism that slipped into the code during the recent CHECK
enhancements. Ticket #1513. (CVS 2762)
FossilOrigin-Name:
e66289b52f56c8242aa264a9365c834cd820e988
drh [Sat, 5 Nov 2005 15:03:59 +0000 (15:03 +0000)]
Improved table compression in lemon reduces the overall library size
by about 1.5KiB. (CVS 2761)
FossilOrigin-Name:
86ac11476962727d2d40b62ce87d689c01969537
drh [Fri, 4 Nov 2005 22:03:30 +0000 (22:03 +0000)]
VACUUM works even on an empty database. Ticket #1512. (CVS 2760)
FossilOrigin-Name:
1b6bf4188e8ebf55cf1972b7081f6d31bf525555
drh [Thu, 3 Nov 2005 14:29:55 +0000 (14:29 +0000)]
sqlite3_column_int() and similar routines return 0 or 0.0 on an
out-of-memory condition, not some mysterious error code. (CVS 2759)
FossilOrigin-Name:
7780f5e9d504926f11bd0662c03c88c76fb1d416
drh [Thu, 3 Nov 2005 12:33:28 +0000 (12:33 +0000)]
Prohibit parameters in CHECK constraint expressions. (CVS 2758)
FossilOrigin-Name:
bb94ef64b227839a0ef4156985e2f5a061a78e2c
drh [Thu, 3 Nov 2005 02:15:02 +0000 (02:15 +0000)]
Add the ignore_check_constraints pragma. VACUUM works even on a database
that contains table entries that violate check constraints. (CVS 2757)
FossilOrigin-Name:
be83bfee0211396a0038ffb125897199bea9a73f
drh [Thu, 3 Nov 2005 02:03:13 +0000 (02:03 +0000)]
Disallow subqueries in CHECK constraints. (CVS 2756)
FossilOrigin-Name:
db27afc4cdc5b51c1fa0e83dbd6d4a4a69c5b642
drh [Thu, 3 Nov 2005 01:22:30 +0000 (01:22 +0000)]
CHECK constraints that evaluate to NULL pass. (CVS 2755)
FossilOrigin-Name:
55b314a22c69fbe129b024e953f3230b67eaaa87
drh [Thu, 3 Nov 2005 00:41:17 +0000 (00:41 +0000)]
First cut at supporting CHECK constraints. Everything appears to work,
but much more testing is needed as well as documentation. (CVS 2754)
FossilOrigin-Name:
2313d912baeca0fd516d524f16708953de483729
drh [Tue, 1 Nov 2005 15:48:24 +0000 (15:48 +0000)]
Omit the SQLITE_AFF_INTEGER type affinity. All numeric values are now
of type real, though an integer representation is still sometimes used
internally for efficiency. (CVS 2753)
FossilOrigin-Name:
e0d6f61c7de2c03b8fd17ef37cf1a0add36ee618
drh [Sat, 29 Oct 2005 15:48:30 +0000 (15:48 +0000)]
Fix the shift operators so that they work with 64-bit quantities. (CVS 2752)
FossilOrigin-Name:
0d3357b5f65887f7db03db2ae021f28f480f90e4
drh [Sun, 23 Oct 2005 11:29:40 +0000 (11:29 +0000)]
Report an error if the input SQL contains an unterminated string.
Ticket #1497. (CVS 2751)
FossilOrigin-Name:
c9c476dd836c49255eabc6cce83064974c079ce3
drh [Thu, 20 Oct 2005 07:28:17 +0000 (07:28 +0000)]
Changes to prevent various compiler warnings. (CVS 2750)
FossilOrigin-Name:
e261b8b09a529a3e67dc27c3b83b660bcb32e195
drh [Thu, 13 Oct 2005 02:09:49 +0000 (02:09 +0000)]
Attempt to fix the SQLite core so that no floating point operations are used
anywhere if SQLITE_OMIT_FLOATING_POINT is defined at compile-time. This
is useful to people who use SQLite on embedded processors that lack
floating point support. (CVS 2749)
FossilOrigin-Name:
a0bdb584680ce6400d9e8c57db9d91197cc7b776
drh [Mon, 10 Oct 2005 00:05:50 +0000 (00:05 +0000)]
Make the default TEMP_STORE=1 (TEMP tables stored on disk) in the configure
script. (CVS 2748)
FossilOrigin-Name:
9753af53494a14f7300f92f3d94e4ceb55619529
drh [Thu, 6 Oct 2005 16:53:14 +0000 (16:53 +0000)]
More efficient handling of the LIMIT clause. Scalar subqueries and EXISTS
on compound SELECT statements now working properly. Ticket #1473. (CVS 2747)
FossilOrigin-Name:
edca8913ca012fc0c17343a27f819de95147b1bd
drh [Thu, 6 Oct 2005 13:59:26 +0000 (13:59 +0000)]
Check-in (2744) as incomplete and broke pragma integrity_check. This
completes the change and fixes the problem. (CVS 2746)
FossilOrigin-Name:
4862eaafd875eb1069076864c7cad600a76620c7
drh [Wed, 5 Oct 2005 22:31:49 +0000 (22:31 +0000)]
Make the SQLite logo on the website a hyperlink to the home page.
Ticket #1471. (CVS 2745)
FossilOrigin-Name:
9709f0f6bcb2a1ed07e678b73cb518488b8ff333
drh [Wed, 5 Oct 2005 11:41:48 +0000 (11:41 +0000)]
Make sure pragma integrity_check does not report "ok" after first finding
a bunch of errors. (CVS 2744)
FossilOrigin-Name:
efec04dedfff8b92527b42e59cc32b4f69031021
drh [Wed, 5 Oct 2005 11:35:09 +0000 (11:35 +0000)]
Fix an assert or memory leak that occurs when trying to EXPLAIN a statement
other than a SELECT that outputs results. Examples of such statements
include PRAGMA integrity_check or INSERT/DELETE/UPDATE with PRAGMA
count_changes=ON. (CVS 2743)
FossilOrigin-Name:
533a85eee2370aafe204ff3eed50eb7fc0149e83
drh [Wed, 5 Oct 2005 10:40:15 +0000 (10:40 +0000)]
Changes to support TEA on cygwin. (CVS 2742)
FossilOrigin-Name:
e80fecc986f1fe93e127398b081054766c5383cf
drh [Wed, 5 Oct 2005 10:29:36 +0000 (10:29 +0000)]
Another attempt to get fdatasync to be ignored on non-conforming posix systems.
Now a system has to opt-in for fdatasync instead of opt-out.
Ticket #1467. (CVS 2741)
FossilOrigin-Name:
115340d4e85f1bbbab657edbb504284343d86e2c
drh [Wed, 5 Oct 2005 02:13:40 +0000 (02:13 +0000)]
Add the SQLITE_OMIT_GET_TABLE compile-time flag. (CVS 2740)
FossilOrigin-Name:
6d4bc8f83b228b3804fffcb17ac57e1f754fa9cd
drh [Tue, 4 Oct 2005 18:38:49 +0000 (18:38 +0000)]
Automatically check for the fdatasync() function and replace it with fsync()
if not found. (CVS 2739)
FossilOrigin-Name:
385a08afefaf552db221ae8bd30ecc7e7c07ee5b
drh [Mon, 3 Oct 2005 15:11:08 +0000 (15:11 +0000)]
The hash tables deallocate when empty in order to avoid nuisanse complaints
from valgrind. Added tests to verify no hash table memory leaks in os_unix.c. (CVS 2738)
FossilOrigin-Name:
080eadca582a49a069a76ed113ec15e9bce2955a
drh [Sun, 25 Sep 2005 01:13:09 +0000 (01:13 +0000)]
Make sure the default storage for virtual tables is the disk not memory
while running conflict.test. Ticket #1453. (CVS 2737)
FossilOrigin-Name:
6d780ca6cfbea10d29a4a1b5226efb269606e21a
drh [Sat, 24 Sep 2005 15:25:01 +0000 (15:25 +0000)]
Version 3.2.7 (CVS 2736)
FossilOrigin-Name:
bd141a7c12c779d15d81acc8f919c37b9a4aa40b
drh [Sat, 24 Sep 2005 15:10:59 +0000 (15:10 +0000)]
Perparations for version 3.2.7. (CVS 2735)
FossilOrigin-Name:
70937d5cfa10eda66d926d378f30f9961a7822bf
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
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
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
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
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
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
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
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
drh [Tue, 20 Sep 2005 01:36:30 +0000 (01:36 +0000)]
Documentation updates. (CVS 2726)
FossilOrigin-Name:
6ec8883c366532948e619830ff7d9f63b79fc08b
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
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
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
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
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
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
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
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
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
drh [Sat, 17 Sep 2005 18:49:49 +0000 (18:49 +0000)]
Version 3.2.6 (CVS 2716)
FossilOrigin-Name:
1cdfe66714c2374b1d93bc62f37873111e090e44
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
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
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
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
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
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
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
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
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
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
drh [Sat, 17 Sep 2005 02:34:04 +0000 (02:34 +0000)]
Updates to the FAQ. (CVS 2705)
FossilOrigin-Name:
0eaf430d9538ece1a3d1300db91f269577a5e028
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
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
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
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
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
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
drh [Fri, 16 Sep 2005 02:48:01 +0000 (02:48 +0000)]
Undo check-in (2694). (CVS 2697)
FossilOrigin-Name:
6017b1962517eb206183042bbb718925d9819063
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
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
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
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
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
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
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
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
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
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
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
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
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
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
drh [Fri, 9 Sep 2005 10:46:19 +0000 (10:46 +0000)]
Enhanced disk-full tests. (CVS 2682)
FossilOrigin-Name:
0288fa5d25886f6fbef0be782f12285d62bebd68
drh [Fri, 9 Sep 2005 10:17:33 +0000 (10:17 +0000)]
Detect errors returned by SetFilePointer on windows. (CVS 2681)
FossilOrigin-Name:
bc8c33f94ce069f7bcfc32a59d5c40e034e023b5
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
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
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
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
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
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
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
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
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
drh [Thu, 8 Sep 2005 11:04:57 +0000 (11:04 +0000)]
Fix typos in documentation. Ticket #1239. (CVS 2671)
FossilOrigin-Name:
73fbb8d9689fecec18c36814e4358e691bcd647e