Commit Graph

2711 Commits

Author SHA1 Message Date
drh
ed2df7fb68 Avoid unnecessary strlen() calls in the OP_String opcode. (CVS 2768)
FossilOrigin-Name: 2e195e96bcbad104da09ebe6cef617e0e9ef1884
2005-11-16 04:34:32 +00:00
drh
a0943e6666 Fix a bug in UTF-16 handling introduced by the previous check-in. (CVS 2767)
FossilOrigin-Name: 25fa16a2e1f324790f4b293df5d7142575034428
2005-11-15 02:14:00 +00:00
drh
8a51256c0c Create separate affinities for INTEGER and REAL. (CVS 2766)
FossilOrigin-Name: ce06c123d0c5663dbaf263c2e0aaf5d9cdeb2ccd
2005-11-14 22:29:05 +00:00
drh
a8f1914b72 Fix documentation typo. (CVS 2765)
FossilOrigin-Name: c9b413ea22d1da926621670b903c7a683921eef0
2005-11-14 11:51:45 +00:00
drh
fd405314d3 About 0.5KiB of additional compression in the parser tables. (CVS 2764)
FossilOrigin-Name: f39974ebd81f274dc4cf6cf94e6e87ee7b4a0814
2005-11-06 04:06:59 +00:00
drh
152410fade Work around a bug in MSVC++. Ticket #1513. (CVS 2763)
FossilOrigin-Name: 6331860e7754be6e0d2a484d66427947c0781dd6
2005-11-05 15:11:22 +00:00
drh
8a9f38feb2 Remove a C++-ism that slipped into the code during the recent CHECK
enhancements.  Ticket #1513. (CVS 2762)

FossilOrigin-Name: e66289b52f56c8242aa264a9365c834cd820e988
2005-11-05 15:07:55 +00:00
drh
ada354db0e Improved table compression in lemon reduces the overall library size
by about 1.5KiB. (CVS 2761)

FossilOrigin-Name: 86ac11476962727d2d40b62ce87d689c01969537
2005-11-05 15:03:59 +00:00
drh
c9ac5caa45 VACUUM works even on an empty database. Ticket #1512. (CVS 2760)
FossilOrigin-Name: 1b6bf4188e8ebf55cf1972b7081f6d31bf525555
2005-11-04 22:03:30 +00:00
drh
c01be744bc 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
2005-11-03 14:29:55 +00:00
drh
4284fb0778 Prohibit parameters in CHECK constraint expressions. (CVS 2758)
FossilOrigin-Name: bb94ef64b227839a0ef4156985e2f5a061a78e2c
2005-11-03 12:33:28 +00:00
drh
0cd2d4c9a1 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
2005-11-03 02:15:02 +00:00
drh
06f6541e2f Disallow subqueries in CHECK constraints. (CVS 2756)
FossilOrigin-Name: db27afc4cdc5b51c1fa0e83dbd6d4a4a69c5b642
2005-11-03 02:03:13 +00:00
drh
6275b88b9e CHECK constraints that evaluate to NULL pass. (CVS 2755)
FossilOrigin-Name: 55b314a22c69fbe129b024e953f3230b67eaaa87
2005-11-03 01:22:30 +00:00
drh
ffe07b2dc1 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
2005-11-03 00:41:17 +00:00
drh
8df447f0e6 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
2005-11-01 15:48:24 +00:00
drh
b127612933 Fix the shift operators so that they work with 64-bit quantities. (CVS 2752)
FossilOrigin-Name: 0d3357b5f65887f7db03db2ae021f28f480f90e4
2005-10-29 15:48:30 +00:00
drh
eef8b55832 Report an error if the input SQL contains an unterminated string.
Ticket #1497. (CVS 2751)

FossilOrigin-Name: c9c476dd836c49255eabc6cce83064974c079ce3
2005-10-23 11:29:40 +00:00
drh
d9cb6ac02f Changes to prevent various compiler warnings. (CVS 2750)
FossilOrigin-Name: e261b8b09a529a3e67dc27c3b83b660bcb32e195
2005-10-20 07:28:17 +00:00
drh
b37df7b928 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
2005-10-13 02:09:49 +00:00
drh
54414bb449 Make the default TEMP_STORE=1 (TEMP tables stored on disk) in the configure
script. (CVS 2748)

FossilOrigin-Name: 9753af53494a14f7300f92f3d94e4ceb55619529
2005-10-10 00:05:50 +00:00
drh
ec7429ae27 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
2005-10-06 16:53:14 +00:00
drh
23cc57f6a3 Check-in (2744) as incomplete and broke pragma integrity_check. This
completes the change and fixes the problem. (CVS 2746)

FossilOrigin-Name: 4862eaafd875eb1069076864c7cad600a76620c7
2005-10-06 13:59:26 +00:00
drh
eb3d389ca9 Make the SQLite logo on the website a hyperlink to the home page.
Ticket #1471. (CVS 2745)

FossilOrigin-Name: 9709f0f6bcb2a1ed07e678b73cb518488b8ff333
2005-10-05 22:31:49 +00:00
drh
b59005e5a3 Make sure pragma integrity_check does not report "ok" after first finding
a bunch of errors. (CVS 2744)

FossilOrigin-Name: efec04dedfff8b92527b42e59cc32b4f69031021
2005-10-05 11:41:48 +00:00
drh
cc43cabcb0 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
2005-10-05 11:35:09 +00:00
drh
29bc461550 Changes to support TEA on cygwin. (CVS 2742)
FossilOrigin-Name: e80fecc986f1fe93e127398b081054766c5383cf
2005-10-05 10:40:15 +00:00
drh
f2f23916ec 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
2005-10-05 10:29:36 +00:00
drh
ff55c3585c Add the SQLITE_OMIT_GET_TABLE compile-time flag. (CVS 2740)
FossilOrigin-Name: 6d4bc8f83b228b3804fffcb17ac57e1f754fa9cd
2005-10-05 02:13:40 +00:00
drh
af6edf5534 Automatically check for the fdatasync() function and replace it with fsync()
if not found. (CVS 2739)

FossilOrigin-Name: 385a08afefaf552db221ae8bd30ecc7e7c07ee5b
2005-10-04 18:38:49 +00:00
drh
762e584e2c 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
2005-10-03 15:11:08 +00:00
drh
abec0bee03 Make sure the default storage for virtual tables is the disk not memory
while running conflict.test.  Ticket #1453. (CVS 2737)

FossilOrigin-Name: 6d780ca6cfbea10d29a4a1b5226efb269606e21a
2005-09-25 01:13:09 +00:00
drh
b842b1a61f Version 3.2.7 (CVS 2736)
FossilOrigin-Name: bd141a7c12c779d15d81acc8f919c37b9a4aa40b
2005-09-24 15:25:01 +00:00
drh
8dc5a288c6 Perparations for version 3.2.7. (CVS 2735)
FossilOrigin-Name: 70937d5cfa10eda66d926d378f30f9961a7822bf
2005-09-24 15:10:59 +00:00
drh
74217cc079 Add the SQLite console source code in the contrib section of the source tree. (CVS 2734)
FossilOrigin-Name: 079c6348f944ad708214f5f335065373d9ae509a
2005-09-24 11:01:11 +00:00
drh
8e647b8191 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
2005-09-23 21:11:53 +00:00
drh
c035e6e4ab 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
2005-09-22 15:45:04 +00:00
drh
de29e3e9be Add VM code comments on the group-by processing. Extra group-by test case. (CVS 2731)
FossilOrigin-Name: 655e75ac7d96b05c118226c5b70443da2df319ec
2005-09-20 18:13:23 +00:00
drh
d654be803f Code cleanup and simplification. Three new Mem opcodes added.
The sqlite3VdbeJumpHere function added. (CVS 2730)

FossilOrigin-Name: 2471957feee57538e5e1e50a704a337f0927d10e
2005-09-20 17:42:23 +00:00
drh
4f68623875 Cleanup the implementation and the documentation of the new 0x200 P1 flag
on the VDBE comparison operands. (CVS 2729)

FossilOrigin-Name: f22d0f64a0b9100e16746fb800efa508d286e40e
2005-09-20 13:55:18 +00:00
drh
e313382e3e NULLs compare equal to each other when computing GROUP BY categories. (CVS 2728)
FossilOrigin-Name: d9b0c9705379a8b3a28a83bb29fc1cd688fe184e
2005-09-20 13:11:59 +00:00
drh
b6fb62d9b4 Update comments in where.c. No code changes. (CVS 2727)
FossilOrigin-Name: bb84d27eda64479d65b13fbbcaeef6a00da4d103
2005-09-20 08:47:20 +00:00
drh
e1547a2f1c Documentation updates. (CVS 2726)
FossilOrigin-Name: 6ec8883c366532948e619830ff7d9f63b79fc08b
2005-09-20 01:36:30 +00:00
drh
22d6a53a77 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
2005-09-19 21:05:48 +00:00
drh
eb8cbaeb18 Set the default maximum page size to 32768, not 8192. (CVS 2724)
FossilOrigin-Name: b32e9ec2480f9da2c2ea705ed3c88ca77b77cf2a
2005-09-19 19:05:21 +00:00
drh
4b14b4d720 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
2005-09-19 17:35:53 +00:00
drh
a7aa59e097 Fix uninitialized value on a UNION ALL select with an ORDER BY clause. (CVS 2722)
FossilOrigin-Name: 92126a216101d30e16390bf063d52d7182fbc763
2005-09-19 15:37:06 +00:00
drh
549c8b68c7 The sqlite3_query_plan debugging variable now only appears with SQLITE_TEST=1. (CVS 2721)
FossilOrigin-Name: 41e226d2ff5c0021fd07388da13f6d750fac508b
2005-09-19 13:15:23 +00:00
drh
bbdc2b94fc Work around limitations of MSVC++ 6. Tickets #1429, #1437, and #1440. (CVS 2720)
FossilOrigin-Name: b2d1803c25b0b823c9cbe27989bacb730b18b45b
2005-09-19 12:53:18 +00:00
drh
48083cee4c Change some debugging #defines in order to get SSE working again after
recent upgrades. (CVS 2719)

FossilOrigin-Name: 86eb7d8363559c94bfcd7e48ff6270025ecacb7b
2005-09-19 12:37:27 +00:00