drh
a2eebaa43b
Make the build work on windows again. Ticket #1544 . (CVS 2793)
...
FossilOrigin-Name: 59bdca2552b2e5c09d5ca2b7a02ee34460139d7b
2005-11-29 19:50:24 +00:00
drh
1a23593dc0
The crash tests now compile, at least. But they get wrong results. The
...
problem is fundamental and suggests I need to completely rethink how the
new OS backend should work. (CVS 2792)
FossilOrigin-Name: 966bc68e1bf4e0cc88407871c162ee3014160415
2005-11-29 18:37:15 +00:00
drh
9cbe635219
Make the OsFile structure opaque with its internal structure known only to
...
the appropriate os_*.c implementation. Omit the os_unix.h and os_win.h
include files. The crash tests are broken by this patch. (CVS 2791)
FossilOrigin-Name: 058f31753871b16b40fe4048e3adcee411e0f87d
2005-11-29 03:13:21 +00:00
drh
9267bdcecd
Replace a call to sprintf() with sqlite3MPrintf() since on some embedded
...
platforms, sprintf() is busted. Need to go through and do similar replacements
elsewhere in the code. (CVS 2790)
FossilOrigin-Name: 1b4f2d89bbe833359cefcea580783fd92aa7b8ab
2005-11-28 12:36:35 +00:00
drh
9a5f7474e3
Disable the OR-clause optimization if it does not result in an index being
...
used that would not have been used otherwise. In other words, do not
convert OR clauses into an IN statement if it does not help the optimizer. (CVS 2789)
FossilOrigin-Name: 7e7cfce0f8ed2a6e04747736a2c68484f447cdfb
2005-11-26 14:24:40 +00:00
drh
54a167d1fe
Make sure left joins still work even when the OR clause optimization fires.
...
Ticket #1537 . (CVS 2788)
FossilOrigin-Name: cbbeb9de0019a0b81318158711590078fcb7e98a
2005-11-26 14:08:07 +00:00
drh
d86959f588
Remove some vestiges of the old OS_TEST driver. (CVS 2787)
...
FossilOrigin-Name: 008f676f20c690255e5cb8ae01df47c5094ac240
2005-11-26 03:51:18 +00:00
drh
18839217da
Add an OS method for making copies of file descriptors. This fixes the
...
crash tests. (CVS 2786)
FossilOrigin-Name: 57a674fc71512f11393b8eb595961ec9465ba4e1
2005-11-26 03:43:23 +00:00
drh
9c06c95309
Modify the OS layer so that I/O routines are called through a virtual function
...
table. The os_test.c module has been replaced by test6.c. The crash tests
are busted now and need to be fixed. (CVS 2785)
FossilOrigin-Name: 1f69aec285dd8e26bd739d5e44bb50fe03a9682a
2005-11-26 00:25:00 +00:00
danielk1977
aa2289f89c
Ensure a low system limit on the number of open files does not cause manydb.test to fail. (CVS 2784)
...
FossilOrigin-Name: dba2cc0d0e0c648c1a4798bc72913e3b19acba6e
2005-11-25 10:55:57 +00:00
danielk1977
4af65bb160
Add the compilation option SQLITE_DISABLE_DIRSYNC (CVS 2783)
...
FossilOrigin-Name: f9f5ecbb79f03ba8e7d6a036a562252319e82abc
2005-11-25 10:38:22 +00:00
danielk1977
d7c03f7485
Add the compilation option SQLITE_DISABLE_DIRSYNC (CVS 2782)
...
FossilOrigin-Name: f1298bb103aad46c737741d89d33c4c2904aec68
2005-11-25 10:38:22 +00:00
danielk1977
26c5d79f60
If SQLITE_DISABLE_LFS is defined, omit the bigfile tests. (CVS 2781)
...
FossilOrigin-Name: f882a516da18f45dbb668078d0d8240d930e1180
2005-11-25 09:01:23 +00:00
danielk1977
0964b23a99
Check the return code of full_fsync() when used to sync a directory fd. (CVS 2780)
...
FossilOrigin-Name: 84aae3b0ae7381710ff0bc9881cbde3559bb580b
2005-11-25 08:47:57 +00:00
drh
94c1f6f731
Preserve 64-bit last insert rowids across triggers. (CVS 2779)
...
FossilOrigin-Name: 4dd7cfaa587fd5f76a0b60db0f02d5f57f801564
2005-11-25 02:43:50 +00:00
drh
91636d58c0
The --enable-cross-thread-connect configuration option or the
...
-DSQLITE_ALLOW_XTHREAD_CONNECT compile-time option permits database
connections to be moved across threads. This will cause latch-ups
and failures on some linux systems such as RedHat-9. Do not use these
options if you want a portable build. (CVS 2778)
FossilOrigin-Name: 84aa4d58001ed943295f21f429c58c3c99b771d8
2005-11-24 23:14:00 +00:00
drh
22465ced29
Make sure sqliteInt.h is included before any system includes.
...
This is required for QNX. Ticket #1478 . (CVS 2777)
FossilOrigin-Name: ab76453553bea7c2371b35e7643a98967bb04582
2005-11-24 22:33:05 +00:00
drh
fa3b19ef3d
Reduce the number of distinct token symbols in the parser so that the parser
...
can store tokens in a single byte and thus be smaller in size. (CVS 2776)
FossilOrigin-Name: 2dfc9863919c9eb1fd1064ab2817d752dd7f9293
2005-11-24 22:22:29 +00:00
drh
31beae983e
Comment changes. No changes to code. (CVS 2775)
...
FossilOrigin-Name: 786e23b2959c6103bfc0b45535afc49f22bc8a67
2005-11-24 14:34:36 +00:00
drh
3a4a2d40e1
Fix a comment in btree.c. No code changes. (CVS 2774)
...
FossilOrigin-Name: 0d8bd133a7530fb56ecb742472865f5a72a0ea5e
2005-11-24 14:24:28 +00:00
drh
3eda040be9
Fix incorrect type conversions when copying from a table into itself.
...
Ticket #1536 . (CVS 2773)
FossilOrigin-Name: a2e55a3828d74d78b0b76f956a537a0d906f3191
2005-11-24 13:15:32 +00:00
drh
32daab6cb0
Less verbose output when EXPLAIN QUERY PLAN identifies use of the primary key. (CVS 2772)
...
FossilOrigin-Name: 5045f09933f57e4ae897969710b19d09b7af6022
2005-11-21 12:48:24 +00:00
drh
36d649303f
The EXPLAIN QUERY PLAN now identifies when tables use the integer primary key. (CVS 2771)
...
FossilOrigin-Name: 80721e2c9033abb2e9eed32892c4e486c293e1fa
2005-11-21 12:46:27 +00:00
drh
4efc083f57
Fix a problem with the sorting of literals in a compound query. Ticket #1501 . (CVS 2770)
...
FossilOrigin-Name: b3882b434a1ef7d8d636c7c5917b9e8f0d2952fb
2005-11-16 13:47:50 +00:00
drh
7e56e71125
Do not allow aggregate functions in a WHERE clause. Ticket #1514 . (CVS 2769)
...
FossilOrigin-Name: bb866ed880c33ec9ce6ded8ebdbb459fedf9c257
2005-11-16 12:53:15 +00:00
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
drh
a15cdcc4f4
Download page reports sizes in MiB and KiB instead of just bytes. (CVS 2718)
...
FossilOrigin-Name: e985f02d20d50b0451bfd35a7343e0386336dd71
2005-09-17 19:28:45 +00:00
drh
ee2b437f0a
Update to the download page on the website. (CVS 2717)
...
FossilOrigin-Name: 91bc0d0032d5305671da0ebfc6e697b9b882f1ad
2005-09-17 19:14:40 +00:00
drh
8cb1895c74
Version 3.2.6 (CVS 2716)
...
FossilOrigin-Name: 1cdfe66714c2374b1d93bc62f37873111e090e44
2005-09-17 18:49:49 +00:00
drh
5c959118f1
The sqlite3ReallocOrFree routine should set its pointer to NULL when it fails. (CVS 2715)
...
FossilOrigin-Name: 0e85af44faca4b625e6ab7cb21a300867298c539
2005-09-17 18:34:11 +00:00
drh
e3000ae84c
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
2005-09-17 18:02:36 +00:00
drh
ac1733d409
Fix a memory leak that occurs after malloc fails. (CVS 2713)
...
FossilOrigin-Name: 85b931bf72dac88187e4531053a06abe25d6f462
2005-09-17 17:58:22 +00:00
drh
0aadf33312
Fix the crash.test script to accomodate recent changes. (CVS 2712)
...
FossilOrigin-Name: d594608ff37bbf1d6866adb337aa2fbcd517eada
2005-09-17 17:05:19 +00:00
drh
432a93ba73
Fix a bug in the lock2 test script introduced by check-in (2709) (CVS 2711)
...
FossilOrigin-Name: c3bf17436bc1e264b4dbe255876a990a5a2b8b0c
2005-09-17 16:48:18 +00:00
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
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
drh
ba336867c4
Make sqlite3Malloc always return NULL when the number of bytes to allocate
...
is 0. (CVS 2532)
FossilOrigin-Name: 657d74ebc1d91c99e8ac6cd68fdac3864ebd8d71
2005-06-29 15:33:00 +00:00
drh
54f080e82c
Update SQL syntax documentation to describe the new CAST expressions. (CVS 2531)
...
FossilOrigin-Name: d5392866bfd6e06c6d072f649356050b82273a23
2005-06-26 20:00:46 +00:00
drh
d1e4733d07
Tcl interface uses Tcl_Objs to implement user-defined functions, thus allowing
...
BLOB values to be transferred correctly. Ticket #1304 . (CVS 2530)
FossilOrigin-Name: 514aaab3f99637ebb8b6e352f4e29738102579b4
2005-06-26 17:55:33 +00:00
drh
8a15132904
Documentation fixes. Ticket #1306 . (CVS 2529)
...
FossilOrigin-Name: 3dcdb7942ea9a9e5d708a198ba5183103d5075d9
2005-06-25 19:42:37 +00:00
drh
df0bddaef3
The TCL interface binds variables as BLOB only if they have a bytearray
...
representation but no text representation. Ticket #1287 . (CVS 2528)
FossilOrigin-Name: 8c99dca60aebee0ec5de9ed11350de864bc76584
2005-06-25 19:31:48 +00:00
drh
487e262f44
Remove the blob(), text() and numeric() functions added in (2524) and
...
replace them with the standard CAST operator.
Ticket #1287 . (CVS 2527)
FossilOrigin-Name: 17631785f9ee8ab280c82677eb53886912e085bc
2005-06-25 18:42:14 +00:00
drh
7f057c9166
NULL values in a row of a unique index cause the row to be distinct.
...
Ticket #1301 . More testing and optimization needs to be done on this
before closing the ticket. (CVS 2526)
FossilOrigin-Name: 06a71b162b032fc5b56d18919a784d4ee94dde7c
2005-06-24 03:53:06 +00:00
drh
2f47149691
Make sure the String8 opcode always has a non-null P3 argument in
...
the foreign_key_list pragma. Ticket #1297 . (CVS 2525)
FossilOrigin-Name: bcf62dc7a1e8e7a3180138cf9b8944eb8fbd5490
2005-06-23 03:15:07 +00:00
drh
5708d2deac
Add built-in functions numeric(), text(), and blob() that coerce types.
...
Ticket #1287 . (CVS 2524)
FossilOrigin-Name: affb0fa2e8c5ff497838ba3c2994cdb1f6f50c68
2005-06-22 10:53:59 +00:00
drh
288d37f1b4
Allow parameters to be introduced by characters ':', '$' and '#'. This
...
is an experimental change. (CVS 2523)
FossilOrigin-Name: f3427a139c3bd4faf9134ec6290b3eb829c0a19f
2005-06-22 08:48:06 +00:00
drh
edef8fcd73
Fix a bug in an assert found while investigating ticket #1287 but otherwise
...
unrelated to that problem. (CVS 2522)
FossilOrigin-Name: 60f752ed1817e6710c13c2ce393c3bf51dae76ad
2005-06-22 02:36:37 +00:00
drh
13aebc66f2
Change the documentation to explain that a database handle can only be
...
used in the same thread in which it was created. Ticket #1272 . (CVS 2521)
FossilOrigin-Name: 59c95731f70ed9b9e135584f62d0a2b0f1a3bb96
2005-06-16 19:48:39 +00:00
drh
cf5f58fa3e
Fix the THREADSAFE macro in Makefile.in. We really need to rework the
...
whole autoconf build system.... (CVS 2520)
FossilOrigin-Name: 98a4de76e0593ef1d1d3e8b785d420cd554a08e8
2005-06-16 18:47:38 +00:00
drh
bf8f1b3460
Change to Makefile.in to fix a problem with the Borland linker.
...
Ticket #1291 . (CVS 2519)
FossilOrigin-Name: bc25397735c1485e3533507bed507250ea07534a
2005-06-16 16:51:15 +00:00
drh
6eb8577cae
Fix to the "make doc" makefile target. Ticket #1289 . (CVS 2518)
...
FossilOrigin-Name: 4713b1e1040f2e0645fa593638e392df44b5bfc1
2005-06-15 18:07:39 +00:00
drh
2b4b5962c4
Changes to the unix OS layer aimed at finding and fixing tickets
...
#1272 and #1285 . (CVS 2517)
FossilOrigin-Name: 006dda3119f025d703da4e0215c378206e20cfd0
2005-06-15 17:47:55 +00:00
drh
8d904f058b
Fix an NDEBUG versus SQLITE_DEBUG confusion issue. (CVS 2516)
...
FossilOrigin-Name: 833c016023e9e17c226fdd722dcb10bc51ab6f9e
2005-06-14 17:47:58 +00:00
drh
556b2a2322
Provide the SQLITE_FILE_HEADER command-line option for changing the text
...
that appears at the beginning of databases. (CVS 2515)
FossilOrigin-Name: 3d7ee5b92d7e30f90cb7a8b3efd649b36480b61b
2005-06-14 16:04:05 +00:00
drh
3f73708ce4
Fix a bug in the default busy handler for systems that lack usleep().
...
Ticket #1284 . (CVS 2514)
FossilOrigin-Name: a42cb81d1173532537aed4e71091d4cd3f3a88a0
2005-06-14 02:24:31 +00:00
drh
78776ecdb1
Do not record existance the sqlite_sequence table until it is actually
...
created. Ticket #1283 . (CVS 2513)
FossilOrigin-Name: 95256d953c179372dcc5ead6c407672c8161a8c1
2005-06-14 02:12:46 +00:00
drh
7c3d49c275
Fix documentation typo. Ticket #1282 . (CVS 2512)
...
FossilOrigin-Name: ce6b62fa46bc67085801c48d6a28944d4d373ba9
2005-06-13 00:47:59 +00:00
drh
4fd81a51fa
Version 3.2.2 (CVS 2511)
...
FossilOrigin-Name: 0e190e9d9137e9d29fc53ce6f1136047d578bb55
2005-06-12 23:17:23 +00:00
drh
3d334bcb1f
Update the EXPORT definitions list to include the latest additions to the API. (CVS 2510)
...
FossilOrigin-Name: 44e54b132e03d86e52055dc0a2815b653ec179e8
2005-06-12 23:16:20 +00:00
drh
e44d483818
Updates in preparation for the release of version 3.2.2. (CVS 2509)
...
FossilOrigin-Name: e9602c4a9d2b62a9b3a86b94f47971c56ee6733e
2005-06-12 22:23:40 +00:00
drh
65efb65e46
Fix documentation typos. (CVS 2508)
...
FossilOrigin-Name: 41049062cdefdc111398589daff464a9a13600aa
2005-06-12 22:12:39 +00:00
drh
51942bc3c3
Documentation updates (ticket #1279 ). Add the sqlite3_db_handle API.
...
(ticket #1275 ). (CVS 2507)
FossilOrigin-Name: 21d44fa5e7163dc658f7147885518d90218347f7
2005-06-12 22:01:42 +00:00
drh
f0863fe568
Update older opcode names to be more meaningful in light of the latest
...
code design. (CVS 2506)
FossilOrigin-Name: 36f2da1f8d8d434f861ecad55c9d86549751c954
2005-06-12 21:35:51 +00:00
drh
4a9f241c37
Elminiate a VM opcode that was no longer needed. (CVS 2505)
...
FossilOrigin-Name: 97b348a5ad2f090ba7a75467b97c6dfb575df09c
2005-06-12 12:01:19 +00:00
drh
0ccebe7e2d
Changes to support linking without a parser and without a disk I/O interface. (CVS 2504)
...
FossilOrigin-Name: 62a7353d4af4886b1561832e8b36e8e788b38834
2005-06-07 22:22:50 +00:00
drh
80f93bf41f
In the documentation, amplify the fact that encodings cannot be changed
...
on a database that already exists. Ticket #1277 . (CVS 2503)
FossilOrigin-Name: 4704f3a19af73261ec03c0192c74a0416aeba794
2005-06-07 20:07:24 +00:00
danielk1977
db0441b155
Remove SSE vacuum hook. (CVS 2502)
...
FossilOrigin-Name: 59960a59151ae6c711dee404e60e12d4edaa3dda
2005-06-07 09:21:07 +00:00
danielk1977
cbe21be330
Add "#ifndef OMIT_DISKIO" condition around sqlite3_opentemp_count variable
...
in test interface code. (CVS 2501)
FossilOrigin-Name: f2ce662e81cea4983f335606ed18a74b97d35609
2005-06-07 07:58:48 +00:00
drh
af6df11f8a
Add tests to make sure statement journals are only opened when necessary. (CVS 2500)
...
FossilOrigin-Name: 914d6e6549446a6ddf25e5da57d2fe9446750625
2005-06-07 02:12:30 +00:00
drh
3844990cfc
Do not open a statement journal unless absolutely necessary. (CVS 2499)
...
FossilOrigin-Name: 989573a53b58c1e959ad276119298ba2ea7448e6
2005-06-07 01:43:41 +00:00
drh
ed8a3bb108
Reference count Table structures so that they are not deallocated too soon.
...
Ticket #1210 . (CVS 2498)
FossilOrigin-Name: e73d25c7419d580c47925494621df26d2fb9f27e
2005-06-06 21:19:56 +00:00
drh
473d179d8a
Return SQLITE_MISUSE when passing a NULL pointer into sqlite3_bind routines.
...
Ticket #1219 . (CVS 2497)
FossilOrigin-Name: 12c32f139bae3cb7ca520451bfc15f9f7d94833d
2005-06-06 17:54:55 +00:00
drh
ba0232a0df
Any non-zero value is considered TRUE in a WHERE clause. Ticket #1211 . (CVS 2496)
...
FossilOrigin-Name: 0f7af623791d8d2ed35c3978ab12316912d9b6f8
2005-06-06 17:27:19 +00:00
drh
873fac0cae
Avoid ambiguous column name errors when the column name is in the USING clause
...
of a join. Ticket #743 . (CVS 2495)
FossilOrigin-Name: 6a51bdeeff8312fa54fa2b1200f823428f35d605
2005-06-06 17:11:46 +00:00
drh
355ef36114
Naming the join columns in the result set of a natural join does not result
...
in an "ambiguous column name" error. Ticket #1217 . (CVS 2494)
FossilOrigin-Name: 265fb6079c0a4b7a93f063939436db494ff1d56c
2005-06-06 16:59:24 +00:00
drh
d70dc52d79
Honor the full_column_names pragma on * results. Ticket #1263 . (CVS 2493)
...
FossilOrigin-Name: 0d57f851ae4f483985710db149c8f541e45cdb86
2005-06-06 16:34:33 +00:00
drh
7c3d64f151
Do not allow parameters in VIEW definitions. Ticket #1270 . (CVS 2492)
...
FossilOrigin-Name: 0d46289f02aad526f462a3ceceb1bca1b9f6a543
2005-06-06 15:32:08 +00:00
drh
41f5852eea
Handle failures of getcwd() without segfaulting. Ticket #1274 . (CVS 2490)
...
FossilOrigin-Name: c1691004d6d81b683a4ca5b1723c0de8b9b4e376
2005-06-06 15:06:39 +00:00
drh
defc997230
Fix a bug in the malloc2 tests introduced by checkin (2473). (CVS 2489)
...
FossilOrigin-Name: fafaa18eea1e7142e1094b5f6d544d20c9df7c0f
2005-06-06 14:45:42 +00:00
danielk1977
a38b4134e7
Omit a couple of test cases if the library is compiled without subqueries. (CVS 2488)
...
FossilOrigin-Name: 6bc372978364a1a4bfa14732a818a6bba613b1e3
2005-05-29 14:23:12 +00:00
danielk1977
44ee5bf795
Minor changes to help build and test SSE. (CVS 2487)
...
FossilOrigin-Name: 3ac4a212bd70abb94d24830c73f7121df51125c7
2005-05-27 09:41:12 +00:00
drh
3e1d8e6356
Add an experimental sqlite3_get_autocommit() API used to test whether or not
...
changes are committed automatically. (CVS 2486)
FossilOrigin-Name: 4a7f1275857602e3841ccb2d43a5c4d3d3e87bff
2005-05-26 16:23:34 +00:00
danielk1977
105afed6a0
Add a -cleanup option to Tcl test proc do_ioerr_test. (CVS 2485)
...
FossilOrigin-Name: b0a898c05a2285c87d7da4d47dd697c58a0d4d58
2005-05-26 15:20:53 +00:00
danielk1977
5c2d9155de
If SSE is enabled, set the P1 field of OP_AggInit instructions to the
...
number of arguments that will be passed to the aggregate function. (CVS 2484)
FossilOrigin-Name: 7f67b9f0f398583651d226fabf2fafd2635d772a
2005-05-26 14:41:47 +00:00
danielk1977
1f723bd904
Fix minor problems with the SSE hooks. (CVS 2483)
...
FossilOrigin-Name: 3516ca29da5f28adc1fd4da42ca5551d154b6320
2005-05-26 12:37:29 +00:00
danielk1977
4dade03788
Rearrange code so that SSE can invoke the collation factory. (CVS 2482)
...
FossilOrigin-Name: ea061d2ed3b25908fcfcb88e35ba612e5832a217
2005-05-25 10:45:10 +00:00
danielk1977
fa256a3306
Split main.c into two files to make building without the parser easier. (CVS 2481)
...
FossilOrigin-Name: d50915fafbde6859a5c2c3fc5cc9b99553b54e21
2005-05-25 04:11:56 +00:00
drh
97903fef77
Remove the config.h file from the build. Ticket #1224 . (CVS 2480)
...
FossilOrigin-Name: 3e64f1ab417f371e9875915303b898c5b45f0807
2005-05-24 20:19:57 +00:00
danielk1977
fd9a0a45a7
Move a few things around to make building without the parser easier. (CVS 2479)
...
FossilOrigin-Name: 5fadb464eb77b4b998d8555f83401769960ea904
2005-05-24 12:01:00 +00:00
drh
b71090fdfb
The REGEXP operator is recognized. It tries to invoke a function named
...
regexp() which does not exist in the native build. But users who want to
can add an appropriate regexp() function using sqlite3_create_function(). (CVS 2478)
FossilOrigin-Name: 42a626ace126f730f33ecb6c41ac5679d6766a31
2005-05-23 17:26:51 +00:00
drh
15ccce1c0d
Make sure that the use of a double-quoted string literal does not trick
...
the optimizer into using a correlated subquery when a static
subquery would suffice. (CVS 2477)
FossilOrigin-Name: ef4059e3afa1a61a9e59df00cdfedc57d8df9fec
2005-05-23 15:06:39 +00:00
danielk1977
0bb8f36d05
Retain the error string if an error is generated by SSE during a VACUUM. (CVS 2476)
...
FossilOrigin-Name: f7b76d02e003faf0310b87949d3cb0f38062853f
2005-05-23 13:00:57 +00:00
danielk1977
7e900abf0a
Add pFetch variable (used by SSE) to sqlite3 structure. (CVS 2475)
...
FossilOrigin-Name: 2a8ac869671b627d4d01655bbce7a781bc74af44
2005-05-23 04:51:01 +00:00
drh
eb43e5c7b7
The cache_size pragma should not reset the synchronous pragma. Ticket #1260 . (CVS 2474)
...
FossilOrigin-Name: 2db2b32f269062b006ae5c4a302d116cdab8f9ec
2005-05-22 20:30:39 +00:00
drh
132d8d6ab9
Never user a pointer to standard library routines malloc() and free().
...
This rule is to
work around limitations of MSVC and the _fastcall calling convention.
Ticket #1256 . (CVS 2473)
FossilOrigin-Name: a39c446726099e4915a1ad72c019d3c2cfe065bb
2005-05-22 20:12:37 +00:00
drh
edc1cc5b3e
Fix a memory leak. Ticket #1259 . (CVS 2472)
...
FossilOrigin-Name: 254ac2213e695ead065ba3807d5d285046212fe1
2005-05-22 19:21:51 +00:00
danielk1977
fd9e1f3179
Add hook to register SSE user-functions. (CVS 2471)
...
FossilOrigin-Name: 20bd303e8c6f7e69ba82ce1dc3041ea4e02d55cf
2005-05-22 10:44:34 +00:00
danielk1977
3a3f38e090
Allow schema objects beginning with sqlite_ to be created if the
...
SQLITE_WriteSchema flag is set. (CVS 2470)
FossilOrigin-Name: afc8ce42b6c321463f6451727d0f85c490c8e9ae
2005-05-22 06:49:56 +00:00
drh
3c68582188
Speed improvements as described by tickets #1257 and #1258 . These changes
...
help some but are nowhere near the 23% claimed in the tickets. (CVS 2469)
FossilOrigin-Name: 3fa177c54a8589dcfa0bfad0ca124cb73b363f18
2005-05-21 18:32:18 +00:00
drh
fcd35c7b8c
More structure rearrangements for additional size reductions. Ticket #1253 . (CVS 2468)
...
FossilOrigin-Name: 6b6e525b294a5bbf8a5e56a2f60aa096865aedbd
2005-05-21 02:48:08 +00:00
drh
6d156e464d
Reorder structure fields to reduce code footprint. Ticket #1253 . Need
...
to do more of this. (CVS 2467)
FossilOrigin-Name: 27025613bc2970b0c23e08fbe5251103794ab6cb
2005-05-20 20:11:20 +00:00
drh
1c7880e501
Do not allow the pagesize of :memory: databases to be changed. Silently
...
ignore PRAGMA page_size=N requests for :memory: databases.
Ticket #1144 and #1252 . (CVS 2466)
FossilOrigin-Name: f29a1d882623d8ff14f35a302aef63a16388bcb3
2005-05-20 20:01:55 +00:00
drh
e590fbde7c
Comment changes in vdbeapi.c (CVS 2465)
...
FossilOrigin-Name: ab7805fb2fb29abc1311e23a93ba03883db7b30e
2005-05-20 19:36:01 +00:00
danielk1977
562e8d3c3b
Fix memory leaks in Tcl user function interface. (CVS 2464)
...
FossilOrigin-Name: f5d9a8061a6d650f207669b121243abb8dd28be2
2005-05-20 09:40:55 +00:00
danielk1977
1f55c05660
Always use a more specific type (P3_FUNCDEF) instead of P3_POINTER as the
...
P3 type of a vdbe instruction. (CVS 2463)
FossilOrigin-Name: 79a41674be2c0a1990598428d8b1e9d09d3ea389
2005-05-19 08:42:59 +00:00
drh
dd9f8b45ef
Fix an array index that is out of bounds. Ticket #1251 . (CVS 2462)
...
FossilOrigin-Name: bcf87e4d1681d6c2856e716aae0135c2b14989d8
2005-05-19 01:26:14 +00:00
drh
8e855770de
Provide a compile-time parameter to set the default file creation permissions
...
under Unix. Ticket #1247 . (CVS 2461)
FossilOrigin-Name: bfa55bec3233eed899606c309773f441857605ae
2005-05-17 11:25:31 +00:00
drh
c43e8be80c
Fix an uninitialized variable. Ticket #1244 . (CVS 2460)
...
FossilOrigin-Name: 582cb77d72031f78b560f67222a0e6ce5e3ca3f2
2005-05-16 22:37:54 +00:00
danielk1977
5205b40393
Modify documentation to explain default value of "pragma synchronous".
...
No code changes. (CVS 2459)
FossilOrigin-Name: 453014421e9a739b47d4c28b0342454e4c686199
2005-05-16 02:13:17 +00:00
drh
29f214bdaa
Change to the lemon parser suggested by Geert Janssen. Appears to have no
...
impact on SQLite. (CVS 2458)
FossilOrigin-Name: 6fda60083f258a4943c859d768ea7142de831594
2005-05-11 14:28:14 +00:00
drh
6601e9e898
Fix a typo in the CREATE TABLE documentation. (CVS 2457)
...
FossilOrigin-Name: 748771a8ad7f175e49f253d0c1ace3fc55814418
2005-05-10 16:11:41 +00:00
drh
68cb6192c1
Timing fix in the default busy handler. (CVS 2456)
...
FossilOrigin-Name: 76090ed84c73a9b9c7099e2986390ca8967128f4
2005-05-06 22:05:56 +00:00
drh
8d97f1f141
Patch to fix an alignment problem on sparc. Ticket #1234 . (CVS 2455)
...
FossilOrigin-Name: 240cce10d4b9d595a267e392ce322472b10f286d
2005-05-05 18:14:13 +00:00
drh
0405a34d11
Fix a datatype in trigger6.test that changed due to the previous check-in. (CVS 2454)
...
FossilOrigin-Name: c2af7d2c947bcec507087cc3a1e5b21e6322e4cd
2005-05-05 11:04:50 +00:00
drh
c7f269d551
In the TCL interface, user-defined functions preserve the datatype returned
...
by the Tcl procedure. (CVS 2453)
FossilOrigin-Name: 99dcba1fb1fdaa2b8bc85046b00c14f6af596e8f
2005-05-05 10:30:29 +00:00
drh
c96d8530ca
Make sure all data structures have 8-byte alignment - necessary for the
...
sparc architecture and helpful on other 64-bit platforms. Ticket #1232 .
Also update some comments in build.c. (CVS 2452)
FossilOrigin-Name: d9418851cebc1605d8d62aad7987c0d61a905e81
2005-05-03 12:30:33 +00:00
drh
07d183da90
Remove the psAligned value from the BTree structure - the pageSize is now
...
always aligned to an 8-byte boundary. Add comments on a confusing bit
of code. Ticket #1231 . (CVS 2451)
FossilOrigin-Name: 535523e1be692adc940d256a7b3d23c62a4cc947
2005-05-01 22:52:42 +00:00
drh
7e62779a58
Prevent a segfault described by ticket #1229 . (CVS 2450)
...
FossilOrigin-Name: 0667eae9a97059125a77bd90452d19dc17c30a12
2005-04-29 02:10:00 +00:00
drh
89dec819d2
Add hooks for the SSE extension. (CVS 2449)
...
FossilOrigin-Name: 90f4cf2ad57309dbd20954fc7fd60859bc44bcf4
2005-04-28 19:03:37 +00:00
drh
2e66f0b972
Enhancements to allow for extensions. (CVS 2448)
...
FossilOrigin-Name: 6863703abcb2bf31d65792d4de9ae20aba2eadb5
2005-04-28 17:18:48 +00:00
drh
ee570fa498
Fix an array index bug in the default busy callback handler.
...
Ticket #1198 . (CVS 2447)
FossilOrigin-Name: 3cc14b7606681d04eb56003a0996322e3b3bdc73
2005-04-28 12:06:05 +00:00
drh
f8db1bc03b
Remove some vestigal code. Add the experimental sqlite3_transfer_bindings()
...
API. (CVS 2446)
FossilOrigin-Name: 88b39436f00d645cdb6333a7413c698c42227d3f
2005-04-22 02:38:37 +00:00
drh
b47d45ccbf
Correctly store large integers. Ticket #1212 . (CVS 2445)
...
FossilOrigin-Name: 00e20690bb8cc6522c9c48f36f0c3336ae007827
2005-04-15 12:04:34 +00:00
kwel
c7e22ee254
Added tests to exercise delete, insert, and update triggers on views (tkt #1169 ) (CVS 2444)
...
FossilOrigin-Name: 6cd19ddcba5fbea1be04b44699c911294618e948
2005-04-08 19:48:27 +00:00
kwel
d536273abf
Fixed stack growth in update trigger on views (tkt #1169 ) (CVS 2443)
...
FossilOrigin-Name: 99fcd5561b539010b7e76cad7815bb2350541f00
2005-04-08 16:08:36 +00:00
kwel
ae87f0ed25
Fixed stack growth in delete trigger on views (tkt #1169 ) (CVS 2442)
...
FossilOrigin-Name: 1a757ba13292577d01bd7b66811bcfd6748b9f7e
2005-04-08 16:07:47 +00:00
danielk1977
55c45f2e1e
Apply Tcl 'nullvalue' patch from Stefan Finzel. (CVS 2441)
...
FossilOrigin-Name: 9906ae37b9be684b615a1190cf8798513baa799a
2005-04-03 23:54:43 +00:00
drh
2b70fb90e1
Documentation updates. (CVS 2440)
...
FossilOrigin-Name: 7e6f688d468099a6e62e405086c9172459d43e3f
2005-04-01 16:29:12 +00:00
drh
495c09a49a
Make the ORDER BY clause return equal elements in the same order they were
...
seen (a stable sort). It was returning them in exactly the reverse order. (CVS 2439)
FossilOrigin-Name: e8391491a68018406e30c2a699a4cab9e0de092c
2005-04-01 10:47:40 +00:00
drh
9a7e60865d
Add a "const" declaration to a constant. Fix a typo in a comment. (CVS 2438)
...
FossilOrigin-Name: 67aaa269068ea6b6f784979c09b3deb091928563
2005-03-31 22:26:19 +00:00
drh
4fb90f2bff
Update comments and documentation to give the true maximum page size as 32K,
...
not 64K as was previously (and erroneously) reported. Ticket #1194 . (CVS 2437)
FossilOrigin-Name: 58dd436b6572d38ea67960b8d08a0ca4359602f0
2005-03-31 21:02:45 +00:00
drh
f4f8fd51e4
Make sure integer primary keys larger than 2^31 are handled
...
properly. Ticket #1188 . (CVS 2436)
FossilOrigin-Name: 1d04c2ab299430959b8a193d4679cbc4c0be31a4
2005-03-31 18:40:04 +00:00
drh
3ced14a616
Fix a memory leak in the TCL bindings. (CVS 2435)
...
FossilOrigin-Name: c31ea6332f53d361be864554b83662d3fc0d52f7
2005-03-31 18:26:20 +00:00
danielk1977
3eb8db90ba
Fix a problem with threads and the global database list in main.c. (CVS 2434)
...
FossilOrigin-Name: 4aa05d2251b0cf6323ea695330de9ccf7e071bed
2005-03-29 23:34:58 +00:00
drh
60625c4c84
Version 3.2.1 (CVS 2433)
...
FossilOrigin-Name: 844f01af726f5e478a4ef32f39be9f20360a0d96
2005-03-29 13:37:46 +00:00
drh
d2d62b31ce
Change the date of the 3.2.1 release. (CVS 2432)
...
FossilOrigin-Name: afa42e2fa4487e4671ee481df09659a447f9c2a8
2005-03-29 13:19:01 +00:00
drh
faf60c7a0d
Fix minor display bugs in sqlite3_analyzer. (CVS 2431)
...
FossilOrigin-Name: d89aaba5b0fe6b2787531cadd7806ab5a3fdeb98
2005-03-29 13:18:16 +00:00
drh
19642e5d65
Fix a C++-ism in the code. (CVS 2430)
...
FossilOrigin-Name: 312587acf9e94e1d12390a9a0206c9464815e8d7
2005-03-29 13:17:45 +00:00
danielk1977
7a5147c5c9
Change 'stack' to the more descriptive 'no-push' in vdbe.c. (CVS 2429)
...
FossilOrigin-Name: 7e54d3c7289c091d449844d21b923e553f1d1f5f
2005-03-29 13:07:00 +00:00
danielk1977
bc04f8529d
Reduce the space allocated for the runtime virtual machine stack. (CVS 2428)
...
FossilOrigin-Name: 7d6818da33a87076d1faf35ffc15a3aada0533b3
2005-03-29 08:26:13 +00:00
danielk1977
53c0f7480b
Add the SQLITE_OMIT_TEMPDB compile time macro. (CVS 2427)
...
FossilOrigin-Name: c41d55443c2dd532147962b87f542fb7d37075fd
2005-03-29 03:10:59 +00:00
danielk1977
50f059b871
Fix segfault due to exception handler being run with uninitialised variable. (CVS 2426)
...
FossilOrigin-Name: 78df3d040443414ae5b440eeabc0c8c205ab311d
2005-03-29 02:54:03 +00:00
drh
88b01a13c6
Fix another memory leak in the pager. (CVS 2425)
...
FossilOrigin-Name: 4ca11ca015d798655170593c1b76d312185d6ed2
2005-03-28 18:04:27 +00:00
drh
6cdc5d0269
Increment version number and update documentation in preparation for
...
version 3.2.1. (CVS 2424)
FossilOrigin-Name: b0409b93108096a81245170887d60d076d639c60
2005-03-28 16:56:09 +00:00
drh
92fd9d285f
Changes to alter3.test to allow it to work with a codec. (CVS 2423)
...
FossilOrigin-Name: 9e856bab2bbb77004b049827b4a275aa6c48096b
2005-03-28 16:50:22 +00:00
danielk1977
634f298c89
Modifications to reduce memory consumption. (CVS 2422)
...
FossilOrigin-Name: 0fd5ce4eefdc429ce0493f15d0dba9e8a3a0b0e2
2005-03-28 08:44:07 +00:00
drh
dd5b2fa5f2
Fix some memory leaks that occur after a malloc failure. (CVS 2421)
...
FossilOrigin-Name: bcb5d72ef146b1019c72220701d385c7b0b5d0bd
2005-03-28 03:39:55 +00:00
danielk1977
f0b5792bdc
Use SQL function substr() correctly from ALTER TABLE code. Ticket #1182 . (CVS 2420)
...
FossilOrigin-Name: ccb9f4022b3ccb1cc2ab001628fd38becfbf8efe
2005-03-28 00:07:16 +00:00
danielk1977
b3a2cced6b
Correctly allocate new columns array in ALTER TABLE .. ADD COLUMN. Ticket #1183 . (CVS 2419)
...
FossilOrigin-Name: 3c86e63389b286a49106d8d7009cc63e3914d40f
2005-03-27 01:56:30 +00:00
drh
d960d0641e
Fix a typo in vdbeInt.h. This was potentially a serious mistake, but we got
...
lucky and it is benign. (CVS 2418)
FossilOrigin-Name: f0d64dc8aa65b25af551e6e5f07746bd77c8112a
2005-03-23 01:48:47 +00:00
drh
1d5de64d20
Fix typo in the formatchng.html document. (CVS 2417)
...
FossilOrigin-Name: 35ace66f3ebefd4cd1455c923199511ab3b72bb6
2005-03-23 01:05:14 +00:00
drh
3ee003d8f7
Version 3.2.0 (CVS 2415)
...
FossilOrigin-Name: debf40e8ffa35406685ec027ced1f147ef0487df
2005-03-21 19:51:30 +00:00
drh
3d07343c84
Documentation changes prior to the release of version 3.2.0. (CVS 2416)
...
FossilOrigin-Name: cc5a2c8e5d2ddb87f3bce6efaf3e62d7fa00d9ca
2005-03-21 19:48:00 +00:00
danielk1977
6b456a2b46
Add function to recover from a malloc() failure. (CVS 2414)
...
FossilOrigin-Name: 1f9d10d7965c95d1e35f64cf4c3f128adabd41f2
2005-03-21 04:04:02 +00:00
danielk1977
e94ddc9e43
Assorted fixes to the handling of various malloc() failures. (CVS 2413)
...
FossilOrigin-Name: e7844a01c248e8d9204ea9214bec84c81dc07f32
2005-03-21 03:53:38 +00:00
drh
7a8245b525
Update docs to say that the default_synchronous pragma has been removed.
...
Ticket #1049 . (CVS 2412)
FossilOrigin-Name: 21012bba176035ff69f860936794a6c2a8eac9df
2005-03-21 01:31:36 +00:00
drh
6062d8f5f2
fix typo in CREATE VIEW documentation. Ticket #1135 . (CVS 2411)
...
FossilOrigin-Name: 38897a509a98188a06c49c01a71ddf8835c7b607
2005-03-21 01:24:02 +00:00
drh
38fba69135
Fix an infinite loop in the code generator for INSERT. Ticket #1140 . (CVS 2410)
...
FossilOrigin-Name: 876d09d9145775956913e975c29e81d7553839ac
2005-03-21 01:20:58 +00:00
drh
6841f162c6
README file updated to suggest running "make install". Ticket #1168 . (CVS 2409)
...
FossilOrigin-Name: b48784cf65420da5ccdf779504e3c0b5c0f2471d
2005-03-21 00:47:18 +00:00
drh
4cb29b4cfc
Allow the character "T" between date and time in ISO-8601 date/time formats.
...
Ticket #1170 . (CVS 2408)
FossilOrigin-Name: 2bf88daa57b01216c7bbe67972f479ee12be1193
2005-03-21 00:43:44 +00:00
drh
09bf0e8d5e
Improved support for cygwin. Ticket #1165 . (CVS 2407)
...
FossilOrigin-Name: fcb5cee440ab49e39b62b177cbb04ab0b061a477
2005-03-21 00:36:08 +00:00
drh
47fb54da2e
Fix a formatting error in the syntax documentation. Ticket #1145 . (CVS 2406)
...
FossilOrigin-Name: 59892be6a4c344cb6654f76e4b3b9db96d52f132
2005-03-21 00:28:24 +00:00
drh
ab34b8f65a
Fix for ticket #1167 (CVS 2405)
...
FossilOrigin-Name: d9aa0aa9ae2ca0dec976ba2ae4cd7047132be45b
2005-03-20 23:18:57 +00:00
drh
8aa60cb746
Do not attempt to read the journal file on windows because manditory locking
...
on windows will not allow it. Ticket #1166 . (CVS 2404)
FossilOrigin-Name: 1865e0d81c827cc879dde96c6a9f42e740b6a560
2005-03-20 22:54:56 +00:00
drh
9636284e32
More changes for ticket #1171 after additional analysis. (CVS 2403)
...
FossilOrigin-Name: 0471d6b86fd67c22da832beb280b31305c5aa812
2005-03-20 22:47:56 +00:00
drh
41712ef171
Tentative fix for ticket #1171 . More research and testing needed. (CVS 2402)
...
FossilOrigin-Name: f0a39cee78472b93cce5304fc255285ddea7d2bf
2005-03-20 19:10:12 +00:00
drh
c2cb4c10c8
More documentation updates. (CVS 2401)
...
FossilOrigin-Name: f065b6102db838d48f1a1a9ed68b2a09cd440cf8
2005-03-19 15:10:45 +00:00
drh
47b4b29b12
Preparations for the release of version 3.2.0. (CVS 2400)
...
FossilOrigin-Name: 90a00e90663749e5d1f8e28709dfbe981f8afc8b
2005-03-19 14:45:48 +00:00
drh
255d448726
Fix typos in documentation. (CVS 2399)
...
FossilOrigin-Name: aee888ca58a7d059ff3ccb26bf0924550d54ab1c
2005-03-19 03:41:57 +00:00
drh
ddba9e54e7
Updates to comments and documentation. No changes to code. (CVS 2398)
...
FossilOrigin-Name: e53c77268cd16802bd8c6fc4c6cd5280dc12f9c1
2005-03-19 01:41:21 +00:00
drh
e29b915e9b
Remove unused code from util.c. Enhance the trace output in os_unix.c. (CVS 2397)
...
FossilOrigin-Name: f2f31919fdd181c79b86f849d46c60f1ed7a0db1
2005-03-18 14:03:15 +00:00
drh
072192dffa
Fixed a typo in alter3.test. (CVS 2396)
...
FossilOrigin-Name: 698be25d3e8f0eb2b5a4c6c7d20343b3c8a06134
2005-03-17 12:33:14 +00:00
danielk1977
37b69a0130
Don't run the tests in alter3.test if SQLITE_OMIT_ALTERTABLE is defined. (CVS 2395)
...
FossilOrigin-Name: 800fb3bf06f73af53af57f5b172c85406af374ad
2005-03-17 07:00:55 +00:00
danielk1977
c4a41b12f4
Update to keyword list for ALTER TABLE ... ADD COLUMN command. (CVS 2394)
...
FossilOrigin-Name: 173e26961faec434cd4e4abc1dcb238ab9a942b8
2005-03-17 05:06:28 +00:00
danielk1977
19a8e7e882
Add the ALTER TABLE ... ADD COLUMN command. (CVS 2393)
...
FossilOrigin-Name: 94185dd4f7e2e941c74a521488d1212a75927218
2005-03-17 05:03:38 +00:00
drh
44dcbda393
Version 3.1.6 (CVS 2392)
...
FossilOrigin-Name: 6a3f4e4be6f294f756ed882f220f579252735f3f
2005-03-17 04:01:24 +00:00
drh
4ff55083e5
Strengthen an assert() in vdbe.c. (CVS 2391)
...
FossilOrigin-Name: 3f45cf3516be9919fe2c0673d6f445fa83d42126
2005-03-17 03:52:47 +00:00
drh
fb189328de
Preparing for the release of 3.1.6. (CVS 2390)
...
FossilOrigin-Name: 45cbf27e8079754941225e87867711504bf3d60c
2005-03-17 03:33:16 +00:00
drh
cb9882a753
Fix a bug in the calculation of the table record header size.
...
Ticket #1163 . (CVS 2389)
FossilOrigin-Name: bf82a04ff7c24a38d45721b3fae69d88d6e83149
2005-03-17 03:15:40 +00:00
danielk1977
d5d565235b
Fix some memory leaks that can occur if a memory allocation fails. (CVS 2388)
...
FossilOrigin-Name: 9a358fc33d726d0b5782bf65b50f61f2bd096d56
2005-03-16 12:15:20 +00:00
drh
165ffe9708
When creating a new database, delete any preexisting journal that might be
...
left over from a prior database with the same name. Ticket #1152 . (CVS 2387)
FossilOrigin-Name: 856e2ec9688affbfe496cf184f460b18408e3dc0
2005-03-15 17:09:30 +00:00
drh
ae8b3615ee
Allow the database name in a DETACH statement to be quoted.
...
Ticket #1151 . (CVS 2386)
FossilOrigin-Name: 24e887735256499e58dabe90463524d9e6eb08ce
2005-03-15 02:04:12 +00:00
drh
b8ef32c3e8
Be more aggressive about using the busy handler. Ticket #1159 . (CVS 2385)
...
FossilOrigin-Name: 644c6398e52481e5dda87671e1c196b26b1e4990
2005-03-14 02:01:49 +00:00
drh
556927f944
Fix typo in documentation. (CVS 2384)
...
FossilOrigin-Name: 78012246fc1c1fe844d192cfff69a736e388ce7a
2005-03-12 18:03:58 +00:00
drh
9179fd93ff
Documentation updates. Added the "distinctive features" page. (CVS 2383)
...
FossilOrigin-Name: 33a0191638a4d6b33422f62487bfb9a0089d3cff
2005-03-12 15:55:10 +00:00
drh
f580380463
Version 3.1.5 (CVS 2382)
...
FossilOrigin-Name: b1792ae51666f27bc47cf986937a3caacdd3a9f7
2005-03-11 18:06:53 +00:00
drh
9c2ba47eac
Disable GNU readline in the build of the command-line shell for linux since
...
some systems (ex: SuSE) do not support it. (CVS 2381)
FossilOrigin-Name: baddb06450e6948334faef4afa7cbfba40a2aa0f
2005-03-11 18:06:40 +00:00
drh
70e15d6cbb
Updates to the homepage prior to 3.1.5. (CVS 2380)
...
FossilOrigin-Name: c78611f620587d392b978d4218e3b464ccc74730
2005-03-11 17:55:32 +00:00
drh
f30cc9496a
Fix bugs discovered in 3.1.4. F_FULLFSYNC not F_FULLSYNC. And a bug in
...
"make doc". Also typos in the documentation. (CVS 2379)
FossilOrigin-Name: 3c57a4571fc8463ce9de1cbe5be45538bf2f0de9
2005-03-11 17:52:34 +00:00
drh
05501af78b
Version 3.1.4 (CVS 2378)
...
FossilOrigin-Name: 3d070a9b4d680d952464b53b51e82b95982bbfca
2005-03-11 04:53:17 +00:00
drh
748f763f7a
Fixes so that the FULLSYNC changes will build on windows. They do not have
...
any effect, but neither do they cause errors. (CVS 2377)
FossilOrigin-Name: ace3e30de1cde2e8990d8429b730ca5b68acd714
2005-03-11 04:41:39 +00:00
drh
4835fc5c9b
Increase the version number to 3.1.4. (CVS 2376)
...
FossilOrigin-Name: e438b65cf9606f5564b28857ba9625665d57f1f6
2005-03-11 04:40:23 +00:00
drh
a8f9361f1d
Documentation updates for version 3.1.4. (CVS 2375)
...
FossilOrigin-Name: a7261f1590367932db23f5c8d6d785887df1e8dd
2005-03-11 04:39:58 +00:00
drh
6575a222d5
Another case of returning SQLITE_CORRUPT when a corrupt database file
...
is detected. (CVS 2374)
FossilOrigin-Name: 8710192797b5b22f29b2af90198d03664665bd83
2005-03-10 17:06:34 +00:00
drh
75ea0289cc
Fix a problem with crashtest caused by the F_FULLSYNC change. (CVS 2373)
...
FossilOrigin-Name: f11c6e745200525056ae7cf97b4bdf1c7f1db588
2005-03-10 14:32:24 +00:00
drh
b851b2c938
Disable F_FULLSYNC if the sychronous pragma is not set to FULL. (CVS 2372)
...
FossilOrigin-Name: 58b8733b96165126ee8514f2ce0f88d249792847
2005-03-10 14:11:12 +00:00
drh
cca76c2f7e
Disable the use of ./crashtest in builds that include a codec. (CVS 2371)
...
FossilOrigin-Name: 7e4af62238bf8fa3d3cbc79e2c8951e621a0c0b4
2005-03-10 12:58:21 +00:00
drh
fec8066734
Disable the alter2 tests if there is a codec compiled into the library. (CVS 2370)
...
FossilOrigin-Name: 06a48da67b142e92624cdfd46947bd4ccc6842b7
2005-03-10 12:52:47 +00:00
drh
33fa535dca
Fix a #ifdef in util.c. (CVS 2369)
...
FossilOrigin-Name: f426c625c4c3de626b5f5f8b5a6343a7ec3b16e9
2005-03-10 12:35:45 +00:00
danielk1977
5fd057af68
Fix a file corruption bug in CREATE INDEX in auto-vacuum databases. (CVS 2368)
...
FossilOrigin-Name: 64c4c717d35c8fce9b4be073196c507f6d471188
2005-03-09 13:09:43 +00:00
danielk1977
aee18ef8e2
Support for a future ALTER TABLE command to add columns with default values. (CVS 2367)
...
FossilOrigin-Name: 9d5abc1ddf6da37563c12d5a0401b89bb4e51c59
2005-03-09 12:26:50 +00:00
drh
97ba4c94fc
Print an error message and quit if the regression tests are run as root.
...
Ticket #1153 . (CVS 2366)
FossilOrigin-Name: 9b96078763949a2723482328e7b90c939ba8d2d8
2005-03-02 05:18:57 +00:00
drh
d61c443e6a
Fix the header comment on experimental.c. (CVS 2365)
...
FossilOrigin-Name: 0c4d2b11c922b41d0e03bfbd885dfdf52ce7ccab
2005-03-02 05:18:29 +00:00
drh
737b6e83a1
Version 3.1.3.1 (not an official release) (CVS 2364)
...
FossilOrigin-Name: 957333a7b203373e89030766f693e691f049c66a
2005-02-28 01:52:56 +00:00
drh
de4fb7b050
Bump the version number to 3.1.3.1. (CVS 2363)
...
FossilOrigin-Name: 1ca8bbf749988fd3c88b25c08255c2096f833808
2005-02-28 01:42:23 +00:00
drh
bf21627b6f
Add the SQLITE_OMIT_FLAG_PRAGMAS compile-time option. (CVS 2362)
...
FossilOrigin-Name: c167e9054249361d1f464d3840a5c277e6ed44ab
2005-02-26 18:10:44 +00:00
drh
ccae6026e6
Fix an assertion fault that can occur while autovacuuming a corrupt database
...
file. Add the SQLITE_OMIT_COMPLETE compile-time parameter. (CVS 2361)
FossilOrigin-Name: bb0e7e3857a06347b08d93553ac603e737322262
2005-02-26 17:31:26 +00:00
drh
7530873132
Revised man page from Bill Bumgarner. (CVS 2360)
...
FossilOrigin-Name: 5c99bea5a480edc7b15ae80be952b212e730d452
2005-02-24 04:51:51 +00:00
drh
51e75cafb0
Remove strcasecmp from shell.c. Tickets #1108 , #1122 . (CVS 2359)
...
FossilOrigin-Name: 4ae1a9fc2c484e59ef1e58972aa25772cede1187
2005-02-23 12:35:41 +00:00
drh
29088eb6c9
The script that cross-compiles the windows DLLs now exports the symbols
...
Tclsqlite_Init and Sqlite_Init used to initialize the TCL extension.
Ticket #1137 . (CVS 2358)
FossilOrigin-Name: f18704777407d84f5ba23333e8d4bcdcb09b4a70
2005-02-23 00:26:12 +00:00
danielk1977
3fdf826699
Fix bug reported on the mailing list for WHERE clauses like (rowid<'2'). (CVS 2357)
...
FossilOrigin-Name: b323f0f2832ac5d225d880db6f56314d2f766a25
2005-02-22 09:47:18 +00:00
drh
dcc2b9882b
Version 3.1.3 (CVS 2356)
...
FossilOrigin-Name: 36dbf5e929ede7768e8b63219e54548384a8fab5
2005-02-20 02:25:57 +00:00
drh
30375de10e
Prepare for the release of 3.1.3. (CVS 2355)
...
FossilOrigin-Name: 5b66631fd4820e721fd506b233ca9259360139be
2005-02-19 13:46:25 +00:00
drh
30963453c5
Rework parts of the pragma documentation. Ticket #1081 . (CVS 2354)
...
FossilOrigin-Name: 25141d9e213005940c4e57deca408e09c3e615d1
2005-02-19 13:05:47 +00:00
drh
0ab5fcccc7
Add documentation on the EXISTS expression. Ticket #1082 . (CVS 2353)
...
FossilOrigin-Name: 76cacb4a39d2dd79a27624a8bd1ff65eeedd4ac8
2005-02-19 12:44:15 +00:00
drh
e1b4f0374c
Remove duplicate word from documentation. Ticket #1103 . (CVS 2352)
...
FossilOrigin-Name: c1fc0a8aa96d2bd615f815b2477b801bda9e9c50
2005-02-19 12:32:57 +00:00
danielk1977
36963fdca8
Support for a future file format that includes 'short' records. (CVS 2351)
...
FossilOrigin-Name: 173aeb256e2c09098a4392874f8623e8a760d951
2005-02-19 08:18:05 +00:00
danielk1977
25d39a83ac
Fix typos in documentation for pragma short_column_names. Ticket #1130 . (CVS 2350)
...
FossilOrigin-Name: fac56fa1e06e15ffd738cb9b780d422a73a743ae
2005-02-18 01:15:23 +00:00
drh
75f86a4b0b
Compile-time option to limit the size of AUTOINCREMENT rowids to 32-bits. (CVS 2349)
...
FossilOrigin-Name: c5366deaf5beca9c99558c0f375ba73f817acd92
2005-02-17 00:03:06 +00:00
danielk1977
46dd62bc69
Clarify that columns are indexed from 0 when using sqlite3_column_XXX() APIs. No code changes. (CVS 2348)
...
FossilOrigin-Name: d5eb25d8d0d444ab98b26f7f1ac763919e692806
2005-02-16 23:43:33 +00:00
drh
b797783d68
Change to configure.ac contributed by a reader. (CVS 2346)
...
FossilOrigin-Name: 0cd3bf02d25933286085708308ff963c50c8d33d
2005-02-16 03:45:51 +00:00
drh
dc30dd3158
Patch the command-line error message printing for lemon. Ticket #1120 . (CVS 2345)
...
FossilOrigin-Name: 97c7aaf1870a86955f0f3a0cbe06187e3c3ccc90
2005-02-16 03:35:15 +00:00
drh
0f68fd1bd9
Get vacuum working on database that used to have autoincrement tables but
...
where all such tables have been dropped. Ticket #1121 . (CVS 2344)
FossilOrigin-Name: 8f7c639da0f862fa2dd2f55eb7e4d453cd321540
2005-02-16 03:27:04 +00:00
drh
1f01ec1b7a
Move the special built-in SQL functions used by ALTER TABLE out of func.c
...
and into alter.c. (CVS 2343)
FossilOrigin-Name: dbd11a0c581b447bb2f220a1a185d9fd36933ee3
2005-02-15 21:36:18 +00:00
drh
d0e4a6c11d
Split the logic for the ALTER TABLE command off into a separate source
...
code file. (CVS 2342)
FossilOrigin-Name: 90d6573c2631fac92b9e572e9e21698ae2480c9d
2005-02-15 20:47:57 +00:00
drh
057cd3a0aa
Btree checks the autovacuum flag after locking the database file. (CVS 2341)
...
FossilOrigin-Name: 6610188f09d08c65c46a140685b403aa74f71a19
2005-02-15 16:23:02 +00:00