]> git.ipfire.org Git - thirdparty/sqlite.git/log
thirdparty/sqlite.git
19 years agoRestructure the OS interface yet again. This time make the OsFile object
drh [Wed, 30 Nov 2005 03:20:31 +0000 (03:20 +0000)] 
Restructure the OS interface yet again.  This time make the OsFile object
a virtual base class which is subclassed for unix, windows, and the crash
test simulator.  Add the new file "os.c" for common os layer code.  Move
all OS-specific routines into the sqlite3Os structure. (CVS 2795)

FossilOrigin-Name: bd8740d1aecba69e1b5d64d43db07e8ad8841f07

19 years agoThe crash test works now, at least on unix. Untested on windows. But it never
drh [Tue, 29 Nov 2005 19:56:32 +0000 (19:56 +0000)] 
The crash test works now, at least on unix.  Untested on windows. But it never
worked on windows before so if it still does not there is no big loss.  I am
still troubled by the current design of the OS overloading mechanism.  Expect
to see more changes. (CVS 2794)

FossilOrigin-Name: fa1d7ecfcc648fbe9fc6d92e080cf937bdc9c439

19 years agoMake the build work on windows again. Ticket #1544. (CVS 2793)
drh [Tue, 29 Nov 2005 19:50:24 +0000 (19:50 +0000)] 
Make the build work on windows again.  Ticket #1544. (CVS 2793)

FossilOrigin-Name: 59bdca2552b2e5c09d5ca2b7a02ee34460139d7b

19 years agoThe crash tests now compile, at least. But they get wrong results. The
drh [Tue, 29 Nov 2005 18:37:15 +0000 (18:37 +0000)] 
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

19 years agoMake the OsFile structure opaque with its internal structure known only to
drh [Tue, 29 Nov 2005 03:13:21 +0000 (03:13 +0000)] 
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

19 years agoReplace a call to sprintf() with sqlite3MPrintf() since on some embedded
drh [Mon, 28 Nov 2005 12:36:35 +0000 (12:36 +0000)] 
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

19 years agoDisable the OR-clause optimization if it does not result in an index being
drh [Sat, 26 Nov 2005 14:24:40 +0000 (14:24 +0000)] 
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

19 years agoMake sure left joins still work even when the OR clause optimization fires.
drh [Sat, 26 Nov 2005 14:08:07 +0000 (14:08 +0000)] 
Make sure left joins still work even when the OR clause optimization fires.
Ticket #1537. (CVS 2788)

FossilOrigin-Name: cbbeb9de0019a0b81318158711590078fcb7e98a

19 years agoRemove some vestiges of the old OS_TEST driver. (CVS 2787)
drh [Sat, 26 Nov 2005 03:51:18 +0000 (03:51 +0000)] 
Remove some vestiges of the old OS_TEST driver. (CVS 2787)

FossilOrigin-Name: 008f676f20c690255e5cb8ae01df47c5094ac240

19 years agoAdd an OS method for making copies of file descriptors. This fixes the
drh [Sat, 26 Nov 2005 03:43:23 +0000 (03:43 +0000)] 
Add an OS method for making copies of file descriptors.  This fixes the
crash tests. (CVS 2786)

FossilOrigin-Name: 57a674fc71512f11393b8eb595961ec9465ba4e1

19 years agoModify the OS layer so that I/O routines are called through a virtual function
drh [Sat, 26 Nov 2005 00:25:00 +0000 (00:25 +0000)] 
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

19 years agoEnsure a low system limit on the number of open files does not cause manydb.test...
danielk1977 [Fri, 25 Nov 2005 10:55:57 +0000 (10:55 +0000)] 
Ensure a low system limit on the number of open files does not cause manydb.test to fail. (CVS 2784)

FossilOrigin-Name: dba2cc0d0e0c648c1a4798bc72913e3b19acba6e

19 years agoAdd the compilation option SQLITE_DISABLE_DIRSYNC (CVS 2783)
danielk1977 [Fri, 25 Nov 2005 10:38:22 +0000 (10:38 +0000)] 
Add the compilation option SQLITE_DISABLE_DIRSYNC (CVS 2783)

FossilOrigin-Name: f9f5ecbb79f03ba8e7d6a036a562252319e82abc

19 years agoAdd the compilation option SQLITE_DISABLE_DIRSYNC (CVS 2782)
danielk1977 [Fri, 25 Nov 2005 10:38:22 +0000 (10:38 +0000)] 
Add the compilation option SQLITE_DISABLE_DIRSYNC (CVS 2782)

FossilOrigin-Name: f1298bb103aad46c737741d89d33c4c2904aec68

19 years agoIf SQLITE_DISABLE_LFS is defined, omit the bigfile tests. (CVS 2781)
danielk1977 [Fri, 25 Nov 2005 09:01:23 +0000 (09:01 +0000)] 
If SQLITE_DISABLE_LFS is defined, omit the bigfile tests. (CVS 2781)

FossilOrigin-Name: f882a516da18f45dbb668078d0d8240d930e1180

19 years agoCheck the return code of full_fsync() when used to sync a directory fd. (CVS 2780)
danielk1977 [Fri, 25 Nov 2005 08:47:57 +0000 (08:47 +0000)] 
Check the return code of full_fsync() when used to sync a directory fd. (CVS 2780)

FossilOrigin-Name: 84aae3b0ae7381710ff0bc9881cbde3559bb580b

19 years agoPreserve 64-bit last insert rowids across triggers. (CVS 2779)
drh [Fri, 25 Nov 2005 02:43:50 +0000 (02:43 +0000)] 
Preserve 64-bit last insert rowids across triggers. (CVS 2779)

FossilOrigin-Name: 4dd7cfaa587fd5f76a0b60db0f02d5f57f801564

19 years agoThe --enable-cross-thread-connect configuration option or the
drh [Thu, 24 Nov 2005 23:14:00 +0000 (23:14 +0000)] 
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

19 years agoMake sure sqliteInt.h is included before any system includes.
drh [Thu, 24 Nov 2005 22:33:05 +0000 (22:33 +0000)] 
Make sure sqliteInt.h is included before any system includes.
This is required for QNX.  Ticket #1478. (CVS 2777)

FossilOrigin-Name: ab76453553bea7c2371b35e7643a98967bb04582

19 years agoReduce the number of distinct token symbols in the parser so that the parser
drh [Thu, 24 Nov 2005 22:22:29 +0000 (22:22 +0000)] 
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

19 years agoComment changes. No changes to code. (CVS 2775)
drh [Thu, 24 Nov 2005 14:34:36 +0000 (14:34 +0000)] 
Comment changes.  No changes to code. (CVS 2775)

FossilOrigin-Name: 786e23b2959c6103bfc0b45535afc49f22bc8a67

19 years agoFix a comment in btree.c. No code changes. (CVS 2774)
drh [Thu, 24 Nov 2005 14:24:28 +0000 (14:24 +0000)] 
Fix a comment in btree.c.  No code changes. (CVS 2774)

FossilOrigin-Name: 0d8bd133a7530fb56ecb742472865f5a72a0ea5e

19 years agoFix incorrect type conversions when copying from a table into itself.
drh [Thu, 24 Nov 2005 13:15:32 +0000 (13:15 +0000)] 
Fix incorrect type conversions when copying from a table into itself.
Ticket #1536. (CVS 2773)

FossilOrigin-Name: a2e55a3828d74d78b0b76f956a537a0d906f3191

19 years agoLess verbose output when EXPLAIN QUERY PLAN identifies use of the primary key. (CVS...
drh [Mon, 21 Nov 2005 12:48:24 +0000 (12:48 +0000)] 
Less verbose output when EXPLAIN QUERY PLAN identifies use of the primary key. (CVS 2772)

FossilOrigin-Name: 5045f09933f57e4ae897969710b19d09b7af6022

19 years agoThe EXPLAIN QUERY PLAN now identifies when tables use the integer primary key. (CVS...
drh [Mon, 21 Nov 2005 12:46:27 +0000 (12:46 +0000)] 
The EXPLAIN QUERY PLAN now identifies when tables use the integer primary key. (CVS 2771)

FossilOrigin-Name: 80721e2c9033abb2e9eed32892c4e486c293e1fa

19 years agoFix a problem with the sorting of literals in a compound query. Ticket #1501. (CVS...
drh [Wed, 16 Nov 2005 13:47:50 +0000 (13:47 +0000)] 
Fix a problem with the sorting of literals in a compound query. Ticket #1501. (CVS 2770)

FossilOrigin-Name: b3882b434a1ef7d8d636c7c5917b9e8f0d2952fb

19 years agoDo not allow aggregate functions in a WHERE clause. Ticket #1514. (CVS 2769)
drh [Wed, 16 Nov 2005 12:53:15 +0000 (12:53 +0000)] 
Do not allow aggregate functions in a WHERE clause.  Ticket #1514. (CVS 2769)

FossilOrigin-Name: bb866ed880c33ec9ce6ded8ebdbb459fedf9c257

19 years agoAvoid unnecessary strlen() calls in the OP_String opcode. (CVS 2768)
drh [Wed, 16 Nov 2005 04:34:32 +0000 (04:34 +0000)] 
Avoid unnecessary strlen() calls in the OP_String opcode. (CVS 2768)

FossilOrigin-Name: 2e195e96bcbad104da09ebe6cef617e0e9ef1884

19 years agoFix a bug in UTF-16 handling introduced by the previous check-in. (CVS 2767)
drh [Tue, 15 Nov 2005 02:14:00 +0000 (02:14 +0000)] 
Fix a bug in UTF-16 handling introduced by the previous check-in. (CVS 2767)

FossilOrigin-Name: 25fa16a2e1f324790f4b293df5d7142575034428

19 years agoCreate separate affinities for INTEGER and REAL. (CVS 2766)
drh [Mon, 14 Nov 2005 22:29:05 +0000 (22:29 +0000)] 
Create separate affinities for INTEGER and REAL. (CVS 2766)

FossilOrigin-Name: ce06c123d0c5663dbaf263c2e0aaf5d9cdeb2ccd

19 years agoFix documentation typo. (CVS 2765)
drh [Mon, 14 Nov 2005 11:51:45 +0000 (11:51 +0000)] 
Fix documentation typo. (CVS 2765)

FossilOrigin-Name: c9b413ea22d1da926621670b903c7a683921eef0

19 years agoAbout 0.5KiB of additional compression in the parser tables. (CVS 2764)
drh [Sun, 6 Nov 2005 04:06:59 +0000 (04:06 +0000)] 
About 0.5KiB of additional compression in the parser tables. (CVS 2764)

FossilOrigin-Name: f39974ebd81f274dc4cf6cf94e6e87ee7b4a0814

19 years agoWork around a bug in MSVC++. Ticket #1513. (CVS 2763)
drh [Sat, 5 Nov 2005 15:11:22 +0000 (15:11 +0000)] 
Work around a bug in MSVC++.  Ticket #1513. (CVS 2763)

FossilOrigin-Name: 6331860e7754be6e0d2a484d66427947c0781dd6

19 years agoRemove a C++-ism that slipped into the code during the recent CHECK
drh [Sat, 5 Nov 2005 15:07:55 +0000 (15:07 +0000)] 
Remove a C++-ism that slipped into the code during the recent CHECK
enhancements.  Ticket #1513. (CVS 2762)

FossilOrigin-Name: e66289b52f56c8242aa264a9365c834cd820e988

19 years agoImproved table compression in lemon reduces the overall library size
drh [Sat, 5 Nov 2005 15:03:59 +0000 (15:03 +0000)] 
Improved table compression in lemon reduces the overall library size
by about 1.5KiB. (CVS 2761)

FossilOrigin-Name: 86ac11476962727d2d40b62ce87d689c01969537

19 years agoVACUUM works even on an empty database. Ticket #1512. (CVS 2760)
drh [Fri, 4 Nov 2005 22:03:30 +0000 (22:03 +0000)] 
VACUUM works even on an empty database.  Ticket #1512. (CVS 2760)

FossilOrigin-Name: 1b6bf4188e8ebf55cf1972b7081f6d31bf525555

19 years agosqlite3_column_int() and similar routines return 0 or 0.0 on an
drh [Thu, 3 Nov 2005 14:29:55 +0000 (14:29 +0000)] 
sqlite3_column_int() and similar routines return 0 or 0.0 on an
out-of-memory condition, not some mysterious error code. (CVS 2759)

FossilOrigin-Name: 7780f5e9d504926f11bd0662c03c88c76fb1d416

19 years agoProhibit parameters in CHECK constraint expressions. (CVS 2758)
drh [Thu, 3 Nov 2005 12:33:28 +0000 (12:33 +0000)] 
Prohibit parameters in CHECK constraint expressions. (CVS 2758)

FossilOrigin-Name: bb94ef64b227839a0ef4156985e2f5a061a78e2c

19 years agoAdd the ignore_check_constraints pragma. VACUUM works even on a database
drh [Thu, 3 Nov 2005 02:15:02 +0000 (02:15 +0000)] 
Add the ignore_check_constraints pragma.  VACUUM works even on a database
that contains table entries that violate check constraints. (CVS 2757)

FossilOrigin-Name: be83bfee0211396a0038ffb125897199bea9a73f

19 years agoDisallow subqueries in CHECK constraints. (CVS 2756)
drh [Thu, 3 Nov 2005 02:03:13 +0000 (02:03 +0000)] 
Disallow subqueries in CHECK constraints. (CVS 2756)

FossilOrigin-Name: db27afc4cdc5b51c1fa0e83dbd6d4a4a69c5b642

19 years agoCHECK constraints that evaluate to NULL pass. (CVS 2755)
drh [Thu, 3 Nov 2005 01:22:30 +0000 (01:22 +0000)] 
CHECK constraints that evaluate to NULL pass. (CVS 2755)

FossilOrigin-Name: 55b314a22c69fbe129b024e953f3230b67eaaa87

19 years agoFirst cut at supporting CHECK constraints. Everything appears to work,
drh [Thu, 3 Nov 2005 00:41:17 +0000 (00:41 +0000)] 
First cut at supporting CHECK constraints.  Everything appears to work,
but much more testing is needed as well as documentation. (CVS 2754)

FossilOrigin-Name: 2313d912baeca0fd516d524f16708953de483729

19 years agoOmit the SQLITE_AFF_INTEGER type affinity. All numeric values are now
drh [Tue, 1 Nov 2005 15:48:24 +0000 (15:48 +0000)] 
Omit the SQLITE_AFF_INTEGER type affinity.  All numeric values are now
of type real, though an integer representation is still sometimes used
internally for efficiency. (CVS 2753)

FossilOrigin-Name: e0d6f61c7de2c03b8fd17ef37cf1a0add36ee618

19 years agoFix the shift operators so that they work with 64-bit quantities. (CVS 2752)
drh [Sat, 29 Oct 2005 15:48:30 +0000 (15:48 +0000)] 
Fix the shift operators so that they work with 64-bit quantities. (CVS 2752)

FossilOrigin-Name: 0d3357b5f65887f7db03db2ae021f28f480f90e4

19 years agoReport an error if the input SQL contains an unterminated string.
drh [Sun, 23 Oct 2005 11:29:40 +0000 (11:29 +0000)] 
Report an error if the input SQL contains an unterminated string.
Ticket #1497. (CVS 2751)

FossilOrigin-Name: c9c476dd836c49255eabc6cce83064974c079ce3

19 years agoChanges to prevent various compiler warnings. (CVS 2750)
drh [Thu, 20 Oct 2005 07:28:17 +0000 (07:28 +0000)] 
Changes to prevent various compiler warnings. (CVS 2750)

FossilOrigin-Name: e261b8b09a529a3e67dc27c3b83b660bcb32e195

19 years agoAttempt to fix the SQLite core so that no floating point operations are used
drh [Thu, 13 Oct 2005 02:09:49 +0000 (02:09 +0000)] 
Attempt to fix the SQLite core so that no floating point operations are used
anywhere if SQLITE_OMIT_FLOATING_POINT is defined at compile-time.  This
is useful to people who use SQLite on embedded processors that lack
floating point support. (CVS 2749)

FossilOrigin-Name: a0bdb584680ce6400d9e8c57db9d91197cc7b776

19 years agoMake the default TEMP_STORE=1 (TEMP tables stored on disk) in the configure
drh [Mon, 10 Oct 2005 00:05:50 +0000 (00:05 +0000)] 
Make the default TEMP_STORE=1 (TEMP tables stored on disk) in the configure
script. (CVS 2748)

FossilOrigin-Name: 9753af53494a14f7300f92f3d94e4ceb55619529

19 years agoMore efficient handling of the LIMIT clause. Scalar subqueries and EXISTS
drh [Thu, 6 Oct 2005 16:53:14 +0000 (16:53 +0000)] 
More efficient handling of the LIMIT clause.  Scalar subqueries and EXISTS
on compound SELECT statements now working properly.  Ticket #1473. (CVS 2747)

FossilOrigin-Name: edca8913ca012fc0c17343a27f819de95147b1bd

19 years agoCheck-in (2744) as incomplete and broke pragma integrity_check. This
drh [Thu, 6 Oct 2005 13:59:26 +0000 (13:59 +0000)] 
Check-in (2744) as incomplete and broke pragma integrity_check.  This
completes the change and fixes the problem. (CVS 2746)

FossilOrigin-Name: 4862eaafd875eb1069076864c7cad600a76620c7

19 years agoMake the SQLite logo on the website a hyperlink to the home page.
drh [Wed, 5 Oct 2005 22:31:49 +0000 (22:31 +0000)] 
Make the SQLite logo on the website a hyperlink to the home page.
Ticket #1471. (CVS 2745)

FossilOrigin-Name: 9709f0f6bcb2a1ed07e678b73cb518488b8ff333

19 years agoMake sure pragma integrity_check does not report "ok" after first finding
drh [Wed, 5 Oct 2005 11:41:48 +0000 (11:41 +0000)] 
Make sure pragma integrity_check does not report "ok" after first finding
a bunch of errors. (CVS 2744)

FossilOrigin-Name: efec04dedfff8b92527b42e59cc32b4f69031021

19 years agoFix an assert or memory leak that occurs when trying to EXPLAIN a statement
drh [Wed, 5 Oct 2005 11:35:09 +0000 (11:35 +0000)] 
Fix an assert or memory leak that occurs when trying to EXPLAIN a statement
other than a SELECT that outputs results.  Examples of such statements
include PRAGMA integrity_check or INSERT/DELETE/UPDATE with PRAGMA
count_changes=ON. (CVS 2743)

FossilOrigin-Name: 533a85eee2370aafe204ff3eed50eb7fc0149e83

19 years agoChanges to support TEA on cygwin. (CVS 2742)
drh [Wed, 5 Oct 2005 10:40:15 +0000 (10:40 +0000)] 
Changes to support TEA on cygwin. (CVS 2742)

FossilOrigin-Name: e80fecc986f1fe93e127398b081054766c5383cf

19 years agoAnother attempt to get fdatasync to be ignored on non-conforming posix systems.
drh [Wed, 5 Oct 2005 10:29:36 +0000 (10:29 +0000)] 
Another attempt to get fdatasync to be ignored on non-conforming posix systems.
Now a system has to opt-in for fdatasync instead of opt-out.
Ticket #1467. (CVS 2741)

FossilOrigin-Name: 115340d4e85f1bbbab657edbb504284343d86e2c

19 years agoAdd the SQLITE_OMIT_GET_TABLE compile-time flag. (CVS 2740)
drh [Wed, 5 Oct 2005 02:13:40 +0000 (02:13 +0000)] 
Add the SQLITE_OMIT_GET_TABLE compile-time flag. (CVS 2740)

FossilOrigin-Name: 6d4bc8f83b228b3804fffcb17ac57e1f754fa9cd

19 years agoAutomatically check for the fdatasync() function and replace it with fsync()
drh [Tue, 4 Oct 2005 18:38:49 +0000 (18:38 +0000)] 
Automatically check for the fdatasync() function and replace it with fsync()
if not found. (CVS 2739)

FossilOrigin-Name: 385a08afefaf552db221ae8bd30ecc7e7c07ee5b

19 years agoThe hash tables deallocate when empty in order to avoid nuisanse complaints
drh [Mon, 3 Oct 2005 15:11:08 +0000 (15:11 +0000)] 
The hash tables deallocate when empty in order to avoid nuisanse complaints
from valgrind.  Added tests to verify no hash table memory leaks in os_unix.c. (CVS 2738)

FossilOrigin-Name: 080eadca582a49a069a76ed113ec15e9bce2955a

19 years agoMake sure the default storage for virtual tables is the disk not memory
drh [Sun, 25 Sep 2005 01:13:09 +0000 (01:13 +0000)] 
Make sure the default storage for virtual tables is the disk not memory
while running conflict.test.  Ticket #1453. (CVS 2737)

FossilOrigin-Name: 6d780ca6cfbea10d29a4a1b5226efb269606e21a

19 years agoVersion 3.2.7 (CVS 2736)
drh [Sat, 24 Sep 2005 15:25:01 +0000 (15:25 +0000)] 
Version 3.2.7 (CVS 2736)

FossilOrigin-Name: bd141a7c12c779d15d81acc8f919c37b9a4aa40b

19 years agoPerparations for version 3.2.7. (CVS 2735)
drh [Sat, 24 Sep 2005 15:10:59 +0000 (15:10 +0000)] 
Perparations for version 3.2.7. (CVS 2735)

FossilOrigin-Name: 70937d5cfa10eda66d926d378f30f9961a7822bf

19 years agoAdd the SQLite console source code in the contrib section of the source tree. (CVS...
drh [Sat, 24 Sep 2005 11:01:11 +0000 (11:01 +0000)] 
Add the SQLite console source code in the contrib section of the source tree. (CVS 2734)

FossilOrigin-Name: 079c6348f944ad708214f5f335065373d9ae509a

19 years agoFix an uninitialized structure member that was causing a malfunction when
drh [Fri, 23 Sep 2005 21:11:53 +0000 (21:11 +0000)] 
Fix an uninitialized structure member that was causing a malfunction when
you used deeply nested and very complex views.  Ticket #1449. (CVS 2733)

FossilOrigin-Name: 352cc9f53b7724621ecbf3a6362f34c31a18cce8

19 years agoOptionally call fdatasync() instead of fsync() only if _POSIX_SYNCHRONIZED_IO
drh [Thu, 22 Sep 2005 15:45:04 +0000 (15:45 +0000)] 
Optionally call fdatasync() instead of fsync() only if _POSIX_SYNCHRONIZED_IO
is positive, which should only be the case on operating systems that
actually support fdatasync(). (CVS 2732)

FossilOrigin-Name: a9b341dccffaf324a64139d6f482599258ef7009

19 years agoAdd VM code comments on the group-by processing. Extra group-by test case. (CVS...
drh [Tue, 20 Sep 2005 18:13:23 +0000 (18:13 +0000)] 
Add VM code comments on the group-by processing.  Extra group-by test case. (CVS 2731)

FossilOrigin-Name: 655e75ac7d96b05c118226c5b70443da2df319ec

19 years agoCode cleanup and simplification. Three new Mem opcodes added.
drh [Tue, 20 Sep 2005 17:42:23 +0000 (17:42 +0000)] 
Code cleanup and simplification.  Three new Mem opcodes added.
The sqlite3VdbeJumpHere function added. (CVS 2730)

FossilOrigin-Name: 2471957feee57538e5e1e50a704a337f0927d10e

19 years agoCleanup the implementation and the documentation of the new 0x200 P1 flag
drh [Tue, 20 Sep 2005 13:55:18 +0000 (13:55 +0000)] 
Cleanup the implementation and the documentation of the new 0x200 P1 flag
on the VDBE comparison operands. (CVS 2729)

FossilOrigin-Name: f22d0f64a0b9100e16746fb800efa508d286e40e

19 years agoNULLs compare equal to each other when computing GROUP BY categories. (CVS 2728)
drh [Tue, 20 Sep 2005 13:11:59 +0000 (13:11 +0000)] 
NULLs compare equal to each other when computing GROUP BY categories. (CVS 2728)

FossilOrigin-Name: d9b0c9705379a8b3a28a83bb29fc1cd688fe184e

19 years agoUpdate comments in where.c. No code changes. (CVS 2727)
drh [Tue, 20 Sep 2005 08:47:20 +0000 (08:47 +0000)] 
Update comments in where.c.  No code changes. (CVS 2727)

FossilOrigin-Name: bb84d27eda64479d65b13fbbcaeef6a00da4d103

19 years agoDocumentation updates. (CVS 2726)
drh [Tue, 20 Sep 2005 01:36:30 +0000 (01:36 +0000)] 
Documentation updates. (CVS 2726)

FossilOrigin-Name: 6ec8883c366532948e619830ff7d9f63b79fc08b

19 years agoON-clause terms in a LEFT JOIN that restrict only the left table, should not
drh [Mon, 19 Sep 2005 21:05:48 +0000 (21:05 +0000)] 
ON-clause terms in a LEFT JOIN that restrict only the left table, should not
really restrict the left table but instead rows that fail to meet the condition
to be joined with NULL rows from the right table. (CVS 2725)

FossilOrigin-Name: ea10f9785e3c5248dafcc297f3a2c5465b6e0dba

19 years agoSet the default maximum page size to 32768, not 8192. (CVS 2724)
drh [Mon, 19 Sep 2005 19:05:21 +0000 (19:05 +0000)] 
Set the default maximum page size to 32768, not 8192. (CVS 2724)

FossilOrigin-Name: b32e9ec2480f9da2c2ea705ed3c88ca77b77cf2a

19 years agoDo not optimize views with an ORDER BY clause if they are used in a UNION ALL
drh [Mon, 19 Sep 2005 17:35:53 +0000 (17:35 +0000)] 
Do not optimize views with an ORDER BY clause if they are used in a UNION ALL
that also has an ORDER BY clause.  Ticket #1444. (CVS 2723)

FossilOrigin-Name: 6cc57fcf15cfa3ce73c78b1cac90f7806e5bae40

19 years agoFix uninitialized value on a UNION ALL select with an ORDER BY clause. (CVS 2722)
drh [Mon, 19 Sep 2005 15:37:06 +0000 (15:37 +0000)] 
Fix uninitialized value on a UNION ALL select with an ORDER BY clause. (CVS 2722)

FossilOrigin-Name: 92126a216101d30e16390bf063d52d7182fbc763

19 years agoThe sqlite3_query_plan debugging variable now only appears with SQLITE_TEST=1. (CVS...
drh [Mon, 19 Sep 2005 13:15:23 +0000 (13:15 +0000)] 
The sqlite3_query_plan debugging variable now only appears with SQLITE_TEST=1. (CVS 2721)

FossilOrigin-Name: 41e226d2ff5c0021fd07388da13f6d750fac508b

19 years agoWork around limitations of MSVC++ 6. Tickets #1429, #1437, and #1440. (CVS 2720)
drh [Mon, 19 Sep 2005 12:53:18 +0000 (12:53 +0000)] 
Work around limitations of MSVC++ 6.  Tickets #1429, #1437, and #1440. (CVS 2720)

FossilOrigin-Name: b2d1803c25b0b823c9cbe27989bacb730b18b45b

19 years agoChange some debugging #defines in order to get SSE working again after
drh [Mon, 19 Sep 2005 12:37:27 +0000 (12:37 +0000)] 
Change some debugging #defines in order to get SSE working again after
recent upgrades. (CVS 2719)

FossilOrigin-Name: 86eb7d8363559c94bfcd7e48ff6270025ecacb7b

19 years agoDownload page reports sizes in MiB and KiB instead of just bytes. (CVS 2718)
drh [Sat, 17 Sep 2005 19:28:45 +0000 (19:28 +0000)] 
Download page reports sizes in MiB and KiB instead of just bytes. (CVS 2718)

FossilOrigin-Name: e985f02d20d50b0451bfd35a7343e0386336dd71

19 years agoUpdate to the download page on the website. (CVS 2717)
drh [Sat, 17 Sep 2005 19:14:40 +0000 (19:14 +0000)] 
Update to the download page on the website. (CVS 2717)

FossilOrigin-Name: 91bc0d0032d5305671da0ebfc6e697b9b882f1ad

19 years agoVersion 3.2.6 (CVS 2716)
drh [Sat, 17 Sep 2005 18:49:49 +0000 (18:49 +0000)] 
Version 3.2.6 (CVS 2716)

FossilOrigin-Name: 1cdfe66714c2374b1d93bc62f37873111e090e44

19 years agoThe sqlite3ReallocOrFree routine should set its pointer to NULL when it fails. (CVS...
drh [Sat, 17 Sep 2005 18:34:11 +0000 (18:34 +0000)] 
The sqlite3ReallocOrFree routine should set its pointer to NULL when it fails. (CVS 2715)

FossilOrigin-Name: 0e85af44faca4b625e6ab7cb21a300867298c539

19 years agoFix up the busy test so that it can be run multiple times in a row without
drh [Sat, 17 Sep 2005 18:02:36 +0000 (18:02 +0000)] 
Fix up the busy test so that it can be run multiple times in a row without
giving false errors on 2nd and subsequent runs. (CVS 2714)

FossilOrigin-Name: 7a7ba73fb5d1d493dc2c8c0d5ed4ee6d895bb339

19 years agoFix a memory leak that occurs after malloc fails. (CVS 2713)
drh [Sat, 17 Sep 2005 17:58:22 +0000 (17:58 +0000)] 
Fix a memory leak that occurs after malloc fails. (CVS 2713)

FossilOrigin-Name: 85b931bf72dac88187e4531053a06abe25d6f462

19 years agoFix the crash.test script to accomodate recent changes. (CVS 2712)
drh [Sat, 17 Sep 2005 17:05:19 +0000 (17:05 +0000)] 
Fix the crash.test script to accomodate recent changes. (CVS 2712)

FossilOrigin-Name: d594608ff37bbf1d6866adb337aa2fbcd517eada

19 years agoFix a bug in the lock2 test script introduced by check-in (2709) (CVS 2711)
drh [Sat, 17 Sep 2005 16:48:18 +0000 (16:48 +0000)] 
Fix a bug in the lock2 test script introduced by check-in (2709) (CVS 2711)

FossilOrigin-Name: c3bf17436bc1e264b4dbe255876a990a5a2b8b0c

19 years agoFix a problem with the lock_status pragma and the UTF-16 encoding. (CVS 2710)
drh [Sat, 17 Sep 2005 16:36:55 +0000 (16:36 +0000)] 
Fix a problem with the lock_status pragma and the UTF-16 encoding. (CVS 2710)

FossilOrigin-Name: 1a737b457c59286d7d5c3a98391dec17dbc82d09

19 years agoChanges to make corruption errors easier to track down. (CVS 2709)
drh [Sat, 17 Sep 2005 15:20:26 +0000 (15:20 +0000)] 
Changes to make corruption errors easier to track down. (CVS 2709)

FossilOrigin-Name: c07330000b9427a77f412918078beffa18de2c36

19 years agoUpdate the webpage description of 3.2.6 changes to talk about ticket #1432. (CVS...
drh [Sat, 17 Sep 2005 15:17:40 +0000 (15:17 +0000)] 
Update the webpage description of 3.2.6 changes to talk about ticket #1432. (CVS 2708)

FossilOrigin-Name: 0e23c28b25aced292cb068bc9a202cb627ba38ec

19 years agoBug fix in the ORDER BY optimizer. Ticket #1435. (CVS 2707)
drh [Sat, 17 Sep 2005 13:29:23 +0000 (13:29 +0000)] 
Bug fix in the ORDER BY optimizer.  Ticket #1435. (CVS 2707)

FossilOrigin-Name: 553b7ba8f8ae4cb865494f2d301690149d7edb9f

19 years agoMake sure dependencies on the right-hand side of IN operators are checked
drh [Sat, 17 Sep 2005 13:07:13 +0000 (13:07 +0000)] 
Make sure dependencies on the right-hand side of IN operators are checked
correctly.  Ticket #1433. (CVS 2706)

FossilOrigin-Name: 21740794ab81924442f358a6adbbe6d5590cf58d

19 years agoUpdates to the FAQ. (CVS 2705)
drh [Sat, 17 Sep 2005 02:34:04 +0000 (02:34 +0000)] 
Updates to the FAQ. (CVS 2705)

FossilOrigin-Name: 0eaf430d9538ece1a3d1300db91f269577a5e028

19 years agoDo not journal the locking page which doing an autovacuum. Similar to the
drh [Fri, 16 Sep 2005 17:16:52 +0000 (17:16 +0000)] 
Do not journal the locking page which doing an autovacuum.  Similar to the
problem of #1432 except that this one occurs on autovacuum instead of vacuum.
An assert() has been added to catch any future incidents of this type. (CVS 2704)

FossilOrigin-Name: 5b6dc12b7d25d999be5d282cd0b06e02e2bda765

19 years agoDo not journal the file locking page when doing a database copy as
drh [Fri, 16 Sep 2005 11:32:18 +0000 (11:32 +0000)] 
Do not journal the file locking page when doing a database copy as
part of a VACUUM.  Ticket #1432. (CVS 2703)

FossilOrigin-Name: 248f77972bb1be3325708ea143fd87bb7ce914a7

19 years agoPrevent the sqlite3_pagecount() function from ever returning the pending-byte
danielk1977 [Fri, 16 Sep 2005 10:18:45 +0000 (10:18 +0000)] 
Prevent the sqlite3_pagecount() function from ever returning the pending-byte
page. (CVS 2702)

FossilOrigin-Name: 35a8893537ae5faed6ee49270ac9c01a6010993f

19 years agoMove the definition of sqlite3_pending_byte from test2.c to os_common.h. (CVS 2701)
danielk1977 [Fri, 16 Sep 2005 10:13:41 +0000 (10:13 +0000)] 
Move the definition of sqlite3_pending_byte from test2.c to os_common.h. (CVS 2701)

FossilOrigin-Name: bedf702f539636fa3b65fd0d6797b087481b4613

19 years agoFix an auto-vacuum problem with the PENDING_BYTE page. Also link the Tcl
danielk1977 [Fri, 16 Sep 2005 09:52:29 +0000 (09:52 +0000)] 
Fix an auto-vacuum problem with the PENDING_BYTE page. Also link the Tcl
variable sqlite_pending_byte to the internal pending-byte location when in test mode. (CVS 2700)

FossilOrigin-Name: 9115e0621d1fdc5a89a0288b87c0a4ce1e4b50c6

19 years agoDocumentation changes in preparation for the release of 3.2.6. (CVS 2698)
drh [Fri, 16 Sep 2005 02:55:13 +0000 (02:55 +0000)] 
Documentation changes in preparation for the release of 3.2.6. (CVS 2698)

FossilOrigin-Name: 243f455c7c4e5c0c56406c197fa78088bc3659ca

19 years agoUndo check-in (2694). (CVS 2697)
drh [Fri, 16 Sep 2005 02:48:01 +0000 (02:48 +0000)] 
Undo check-in (2694). (CVS 2697)

FossilOrigin-Name: 6017b1962517eb206183042bbb718925d9819063

19 years agoFix a whole host of newly discovered memory leaks the occur after a
drh [Fri, 16 Sep 2005 02:38:09 +0000 (02:38 +0000)] 
Fix a whole host of newly discovered memory leaks the occur after a
failure of realloc(). (CVS 2696)

FossilOrigin-Name: 4686d649756a0aa301ade901ac49c89a976c5402

19 years agoFix a memory leak: a failure to deallocate the P3 parameter on a call
drh [Fri, 16 Sep 2005 00:27:01 +0000 (00:27 +0000)] 
Fix a memory leak: a failure to deallocate the P3 parameter on a call
to sqlite3VdbeChangeP3. (CVS 2695)

FossilOrigin-Name: 714254cbc12564d44548707043fdcdffb17e4fde