]> git.ipfire.org Git - thirdparty/sqlite.git/log
thirdparty/sqlite.git
18 years agoMake sure the strftime() date conversions put in leading zeros correctly.
drh [Thu, 29 Mar 2007 17:57:21 +0000 (17:57 +0000)] 
Make sure the strftime() date conversions put in leading zeros correctly.
Ticket #2276. (CVS 3749)

FossilOrigin-Name: e853067ec4db3eedfb4adcdd4172de2c55b9ac58

18 years agoAvoid calling OsDelete() on journal files when they are opened for temporary database...
danielk1977 [Thu, 29 Mar 2007 17:28:14 +0000 (17:28 +0000)] 
Avoid calling OsDelete() on journal files when they are opened for temporary databases. Fix for #2255. (CVS 3748)

FossilOrigin-Name: e746832f5f3e1c58e6f6456866156824d23dd846

18 years agoAdd a couple of test cases to improve coverage testing. (CVS 3747)
danielk1977 [Thu, 29 Mar 2007 17:07:52 +0000 (17:07 +0000)] 
Add a couple of test cases to improve coverage testing. (CVS 3747)

FossilOrigin-Name: 0b22ce3637f87c453084c5bd994b6b19a0b014c0

18 years agoDon't call ctype functions on hi-bit chars. Some platforms raise
shess [Thu, 29 Mar 2007 16:30:38 +0000 (16:30 +0000)] 
Don't call ctype functions on hi-bit chars.  Some platforms raise
assertions when this occurs, and it's almost certainly not the right
thing to do in the first place. (CVS 3746)

FossilOrigin-Name: f6c3abdc6c5e916e5366ba28fb1cd06ca3554303

18 years agoAssume the malloc-failed flag cannot already be set when calling sqlite3_errmsg(16...
danielk1977 [Thu, 29 Mar 2007 15:00:52 +0000 (15:00 +0000)] 
Assume the malloc-failed flag cannot already be set when calling sqlite3_errmsg(16)(). (CVS 3745)

FossilOrigin-Name: 54fa22273d551e00e1abd86992ff7c62ec4e0daf

18 years agoFix a bug in XFER optimization introduced by check-in (3736). (CVS 3744)
drh [Thu, 29 Mar 2007 13:35:35 +0000 (13:35 +0000)] 
Fix a bug in XFER optimization introduced by check-in (3736). (CVS 3744)

FossilOrigin-Name: 3714ac173289e580a0302a5a3beac05823d92c5b

18 years agoExplicitly test some error cases that up until now have not been checked. (CVS 3743)
danielk1977 [Thu, 29 Mar 2007 12:24:16 +0000 (12:24 +0000)] 
Explicitly test some error cases that up until now have not been checked. (CVS 3743)

FossilOrigin-Name: 0b7bd9c315501743e2364ecccefeeba326d5df51

18 years agoExplicitly test some error cases that up until now have not been checked. (CVS 3742)
danielk1977 [Thu, 29 Mar 2007 12:19:11 +0000 (12:19 +0000)] 
Explicitly test some error cases that up until now have not been checked. (CVS 3742)

FossilOrigin-Name: f26b014109b1b20367044c5d3fcb347af73d07aa

18 years agoChange BtreeMoveto so that it can be biased to the right or to the center.
drh [Thu, 29 Mar 2007 05:51:49 +0000 (05:51 +0000)] 
Change BtreeMoveto so that it can be biased to the right or to the center.
Use a right bias when appending and a center bias when searching.  This
gives about a 15% reduction in calls to sqlite3VdbeRecordCompare. (CVS 3741)

FossilOrigin-Name: ad4a6b1a91bcefd8a4c75e8dc99c1153c72c31a3

18 years agoBias the b-tree binary search toward the high end. The common case is to
drh [Thu, 29 Mar 2007 04:43:26 +0000 (04:43 +0000)] 
Bias the b-tree binary search toward the high end.  The common case is to
append data and this heuristic makes append run much faster because there
are fewer comparisons. (CVS 3740)

FossilOrigin-Name: a9877f616b24737152627841fcbd80cc28426f1e

18 years agoGet LEMON working again when YYSTACKDEPTH is greater than zero. (CVS 3739)
drh [Thu, 29 Mar 2007 02:26:45 +0000 (02:26 +0000)] 
Get LEMON working again when YYSTACKDEPTH is greater than zero. (CVS 3739)

FossilOrigin-Name: e72c81dbb309709462e49c4e3e90c3e16ead1265

18 years agoLemon change: compile the resulting parser with -DYYSTACKDEPTH=0 or set
drh [Thu, 29 Mar 2007 01:44:45 +0000 (01:44 +0000)] 
Lemon change: compile the resulting parser with -DYYSTACKDEPTH=0 or set
the "%stack_size" parameter to 0 in the grammar and the parser stack
will be dynamically allocated using realloc() and free().  The default
behavior is to have a finite depth stack. (CVS 3738)

FossilOrigin-Name: 06719b741ab1a2df0371f6d587563cc81eb8880a

18 years agoPatch so the the code compiles with -DSQLITE_OMIT_CHECK=1. (CVS 3737)
drh [Thu, 29 Mar 2007 00:08:24 +0000 (00:08 +0000)] 
Patch so the the code compiles with -DSQLITE_OMIT_CHECK=1. (CVS 3737)

FossilOrigin-Name: 72cea358da4bd38af322f18f2a753171f7decaf8

18 years agoImprovements to the XFER Optimization of the INSERT statement. (CVS 3736)
drh [Wed, 28 Mar 2007 18:04:10 +0000 (18:04 +0000)] 
Improvements to the XFER Optimization of the INSERT statement. (CVS 3736)

FossilOrigin-Name: 53fff7d1f2f829010a2641c7738538b3155da4b2

18 years agoCorrectly handle NULLs in IN operators. Ticket #2273.
drh [Wed, 28 Mar 2007 14:30:06 +0000 (14:30 +0000)] 
Correctly handle NULLs in IN operators.  Ticket #2273.
The changes in where.c and in the WhereLevel.aInLoop structure are
not strictly necessary to fix this problem - they just make the code
easier to read.  Only the change in OP_Next/OP_Prev operator of vdbe.c
is required. (CVS 3735)

FossilOrigin-Name: 26348556d824c032851e409ac510cddb55c200bf

18 years agoUpdate comments in sqlite3.h. No changes to code. (CVS 3734)
drh [Wed, 28 Mar 2007 13:07:40 +0000 (13:07 +0000)] 
Update comments in sqlite3.h.  No changes to code. (CVS 3734)

FossilOrigin-Name: 1c2656fdf6176a7365db4e11f4bbf47721da72b4

18 years agoFix an memory allocation error revealed by malloc3.test. (CVS 3733)
drh [Wed, 28 Mar 2007 01:59:33 +0000 (01:59 +0000)] 
Fix an memory allocation error revealed by malloc3.test. (CVS 3733)

FossilOrigin-Name: 0f7fdb022ca7c94f7d264192e18b6e2bd1e8cff4

18 years agoThe SQLITE_ENABLE_LOAD_EXTENSION macro enables the load_extension() SQL
drh [Tue, 27 Mar 2007 22:24:11 +0000 (22:24 +0000)] 
The SQLITE_ENABLE_LOAD_EXTENSION macro enables the load_extension() SQL
function by default without having to invoke sqlite3_enable_load_extension()
first. (CVS 3732)

FossilOrigin-Name: 113aab2cdf4480683cd5e844b5a48dcc093792ff

18 years agoFix the prototype of the CodecAttach function in attach.c. (CVS 3731)
drh [Tue, 27 Mar 2007 21:47:06 +0000 (21:47 +0000)] 
Fix the prototype of the CodecAttach function in attach.c. (CVS 3731)

FossilOrigin-Name: 902413e81b1ae8bee09987c798622a55ab2a1504

18 years agoRemove a c++ comment in pager.c. (CVS 3730)
danielk1977 [Tue, 27 Mar 2007 17:37:31 +0000 (17:37 +0000)] 
Remove a c++ comment in pager.c. (CVS 3730)

FossilOrigin-Name: e4452e8aede9282feaeeac19d0cdf82b01c3cc19

18 years agoTest handling of IO errors that occur in OsDelete() or OsTruncate() operations. Also...
danielk1977 [Tue, 27 Mar 2007 16:19:51 +0000 (16:19 +0000)] 
Test handling of IO errors that occur in OsDelete() or OsTruncate() operations. Also use an anonymous file for temporary storage during a VACUUM. (CVS 3729)

FossilOrigin-Name: b24a6e7b024c8b9a0b6fd15bd8f247e458781ca2

18 years agoUpdates to the VACUUM documentation. Ticket #2257. (CVS 3728)
drh [Tue, 27 Mar 2007 15:00:30 +0000 (15:00 +0000)] 
Updates to the VACUUM documentation.  Ticket #2257. (CVS 3728)

FossilOrigin-Name: c61c97c978dab7535c94033631f5ad2355c55057

18 years agoThe -DSQLITE_OMIT_ATTACH=1 option now omits both the ATTACH and VACUUM
drh [Tue, 27 Mar 2007 14:44:50 +0000 (14:44 +0000)] 
The -DSQLITE_OMIT_ATTACH=1 option now omits both the ATTACH and VACUUM
commands. Ticket #2268.
 The regression test suite depends on both of these commands
and will not run if compiled with this option. (CVS 3727)

FossilOrigin-Name: cbebfb89603044e48b3a87b79d1eefbbc5b4c8a5

18 years agoFix off-by-one errors in the header comments of btree.c. Ticket #2272. (CVS 3726)
drh [Tue, 27 Mar 2007 14:05:22 +0000 (14:05 +0000)] 
Fix off-by-one errors in the header comments of btree.c.  Ticket #2272. (CVS 3726)

FossilOrigin-Name: a70ea7202d8ffb0321ff8f2e5036731bb1742eb8

18 years agoMore strict aliasing fixes. The single source file library now runs
drh [Tue, 27 Mar 2007 13:36:37 +0000 (13:36 +0000)] 
More strict aliasing fixes.  The single source file library now runs
successfully with -fstrict-alias. (CVS 3725)

FossilOrigin-Name: c8a8a189a82500aab501e9949f5b197c0b80b3a9

18 years agoGet the -DSQLITE_OMIT_XFER_OPT option working. Run speed tests on a full
drh [Tue, 27 Mar 2007 12:04:05 +0000 (12:04 +0000)] 
Get the -DSQLITE_OMIT_XFER_OPT option working.  Run speed tests on a full
regression.  Add the script for generating sqlite3.c. (CVS 3724)

FossilOrigin-Name: 1dd9d0775a8199047de30218af71a31c731fedb1

18 years agoGet the -DSQLITE_OMIT_XFER_OPT option working. Run speed tests on a full
drh [Tue, 27 Mar 2007 12:04:04 +0000 (12:04 +0000)] 
Get the -DSQLITE_OMIT_XFER_OPT option working.  Run speed tests on a full
regression.  Add the script for generating sqlite3.c. (CVS 3723)

FossilOrigin-Name: 42c038518c4ba0ef827a5717d450f95165b3c729

18 years agoModify sources to that they can be combined into a single sqlite3.c source
drh [Mon, 26 Mar 2007 22:05:01 +0000 (22:05 +0000)] 
Modify sources to that they can be combined into a single sqlite3.c source
file.  Eliminate all type-pruned pointer warnings. (CVS 3722)

FossilOrigin-Name: 0b832e218ec12b0eb559e407d80aba6709e2ea85

18 years agoSet the same random seed for the speed tests. (CVS 3721)
drh [Mon, 26 Mar 2007 16:30:15 +0000 (16:30 +0000)] 
Set the same random seed for the speed tests. (CVS 3721)

FossilOrigin-Name: 8fe317054982969ad539cdbf1b996b97d86ec4f2

18 years agoRun some malloc() tests with exclusive-access mode. (CVS 3720)
danielk1977 [Mon, 26 Mar 2007 16:13:58 +0000 (16:13 +0000)] 
Run some malloc() tests with exclusive-access mode. (CVS 3720)

FossilOrigin-Name: 9ebba469023723652c4dbba3d9982a64a1fb144f

18 years agoDiscard the pager-cache when the page-size is changed. (CVS 3719)
danielk1977 [Mon, 26 Mar 2007 15:46:00 +0000 (15:46 +0000)] 
Discard the pager-cache when the page-size is changed. (CVS 3719)

FossilOrigin-Name: e4209f7193d160709b0d8b5cd358df5649a97dc0

18 years agoAvoid unnecessary calls to pager_unwritelock() when in exclusive-access mode.
drh [Mon, 26 Mar 2007 13:48:12 +0000 (13:48 +0000)] 
Avoid unnecessary calls to pager_unwritelock() when in exclusive-access mode.
Add the speed2.test script to the test suite. (CVS 3718)

FossilOrigin-Name: ab53f5086334ea2f6c20c8f9d043baff39fae8d7

18 years agoRun some malloc() tests with exclusive-access mode. (CVS 3717)
danielk1977 [Mon, 26 Mar 2007 12:26:27 +0000 (12:26 +0000)] 
Run some malloc() tests with exclusive-access mode. (CVS 3717)

FossilOrigin-Name: 127454903764daff17390941a002f527ee2ffc87

18 years agoAdd some tests and fixes surrounding exclusive-access mode and the pager change-count...
danielk1977 [Mon, 26 Mar 2007 10:27:18 +0000 (10:27 +0000)] 
Add some tests and fixes surrounding exclusive-access mode and the pager change-counter. (CVS 3716)

FossilOrigin-Name: 72cb2e1a73cd09d32900bb473377f66ff55058fb

18 years agoAdd some documentation for pragma locking_mode. (CVS 3715)
danielk1977 [Mon, 26 Mar 2007 08:41:12 +0000 (08:41 +0000)] 
Add some documentation for pragma locking_mode. (CVS 3715)

FossilOrigin-Name: 394b174e59262a84c530ea73c367d8c389a681b5

18 years agoSome fixes and test cases for exclusive access mode. (CVS 3714)
danielk1977 [Mon, 26 Mar 2007 08:05:12 +0000 (08:05 +0000)] 
Some fixes and test cases for exclusive access mode. (CVS 3714)

FossilOrigin-Name: 899e60707bea0fabab2ff3ac8a3fbb676a539120

18 years agoAdd the sqlite3_prepare_v2 and sqlite3_prepare16_v2 APIs to the loadable
drh [Sun, 25 Mar 2007 19:08:46 +0000 (19:08 +0000)] 
Add the sqlite3_prepare_v2 and sqlite3_prepare16_v2 APIs to the loadable
extension interface. (CVS 3713)

FossilOrigin-Name: f02ba56d5c6bbd57682a6bb57e9f92021dfb066e

18 years agoChanges for exclusive access mode. There are still some bugs. (CVS 3712)
danielk1977 [Sat, 24 Mar 2007 16:45:04 +0000 (16:45 +0000)] 
Changes for exclusive access mode. There are still some bugs. (CVS 3712)

FossilOrigin-Name: b6c700370be29db2b974f9abd719c3e56abf8058

18 years agoDiscard the contents of the pager-cache only when the change-counter indicates that...
danielk1977 [Fri, 23 Mar 2007 18:12:06 +0000 (18:12 +0000)] 
Discard the contents of the pager-cache only when the change-counter indicates that it is stale. (CVS 3711)

FossilOrigin-Name: 07b56965f3227c9f78680728b955395295c4aa49

18 years agoAdd a comment to the OsSectorSize() function. (CVS 3710)
danielk1977 [Fri, 23 Mar 2007 10:08:38 +0000 (10:08 +0000)] 
Add a comment to the OsSectorSize() function. (CVS 3710)

FossilOrigin-Name: 0fd9983a98d8d61654f252f1708a4d7232a96b53

18 years agoIn os_unix.c, make a distinction between pread() and pread64(). Add a new
drh [Thu, 22 Mar 2007 15:22:06 +0000 (15:22 +0000)] 
In os_unix.c, make a distinction between pread() and pread64().  Add a new
compile-time macro USE_PREAD64 to select the latter. (CVS 3709)

FossilOrigin-Name: 177cd92910d01c97eb3133a59fad417edbb1aa92

18 years agoCall sqlite3_free() instead of free() to release a buffer allocated by sqlite3_vmprin...
danielk1977 [Thu, 22 Mar 2007 15:20:00 +0000 (15:20 +0000)] 
Call sqlite3_free() instead of free() to release a buffer allocated by sqlite3_vmprintf() in test_async.c (test suite bug only). (CVS 3708)

FossilOrigin-Name: b078f09bffee5863d595d281f2ecd14e1c9ec727

18 years agoRefactor PLWriter to remove owned buffer. DLCollector (Document List
shess [Thu, 22 Mar 2007 00:14:28 +0000 (00:14 +0000)] 
Refactor PLWriter to remove owned buffer.  DLCollector (Document List
Collector) now handles the case where PLWriter (Position List Writer)
needed a local buffer.  Change to using the associated DLWriter
(Document List Writer) buffer, which reduces the number of memory
copies needed in doclist processing, and brings PLWriter operation in
line with DLWriter operation. (CVS 3707)

FossilOrigin-Name: d04fa3a13a84f49074c673b8ee2fb6541da061b5

18 years agoRefactor PLWriter in preparation for buffered-document change.
shess [Tue, 20 Mar 2007 23:52:37 +0000 (23:52 +0000)] 
Refactor PLWriter in preparation for buffered-document change.
Currently, PLWriter (Position List Writer) creates a locally-owned
DataBuffer to write into.  This is necessary to support doclist
collection during tokenization, where there is no obvious buffer to
write output to, but is not necessary for the other users of PLWriter.
 This change adds a DLCollector (Doc List Collector) structure to
handle the tokenization case.

Also fix a potential memory leak in writeZeroSegment().  In case of
error from leafWriterStep(), the DataBuffer dl was being leaked. (CVS 3706)

FossilOrigin-Name: 1b9918e20767aebc9c1e7523027139e5fbc12688

18 years agoModify the interface to the pager sub-system in preparation for performing IO in...
danielk1977 [Mon, 19 Mar 2007 17:44:26 +0000 (17:44 +0000)] 
Modify the interface to the pager sub-system in preparation for performing IO in blocks based on sector-size, not database page-size. (CVS 3705)

FossilOrigin-Name: 7dc7658887046f066b564a5994578074a99756ba

18 years agoAdd some test cases simulating crashes with various storage medium sector sizes....
danielk1977 [Mon, 19 Mar 2007 15:04:54 +0000 (15:04 +0000)] 
Add some test cases simulating crashes with various storage medium sector sizes. (CVS 3704)

FossilOrigin-Name: c3c5f658cf9c69b6e81e63fbde5dd0a854be9fc7

18 years agoFix some problems with test cases in shared_err.test. Also a real bug causing a segfa...
danielk1977 [Mon, 19 Mar 2007 13:53:37 +0000 (13:53 +0000)] 
Fix some problems with test cases in shared_err.test. Also a real bug causing a segfault after an IO error in pager.c. (CVS 3703)

FossilOrigin-Name: 9f62ef1ec385d9f1a1913439dc4c2d710373f12a

18 years agoFix a comment in btree.c (CVS 3702)
drh [Mon, 19 Mar 2007 11:54:10 +0000 (11:54 +0000)] 
Fix a comment in btree.c (CVS 3702)

FossilOrigin-Name: 05700c11a9e5177a437d2240e72fb61ea47b973b

18 years agoChanges to support medium sector sizes larger than the database page size. (CVS 3701)
danielk1977 [Mon, 19 Mar 2007 11:25:20 +0000 (11:25 +0000)] 
Changes to support medium sector sizes larger than the database page size. (CVS 3701)

FossilOrigin-Name: 3a3e8eb25d8e04cfccc5c0513ed04efcc25d3dbf

18 years agoAdd new OS file method to return the sector-size of the underlying storage: sqlite3Os...
danielk1977 [Mon, 19 Mar 2007 05:54:48 +0000 (05:54 +0000)] 
Add new OS file method to return the sector-size of the underlying storage: sqlite3OsSectorSize() (CVS 3700)

FossilOrigin-Name: 5752d84d374205e011d49b0221d6237967fe0743

18 years agoAdd documentation of the REPLACE, TRIM, LTRIM, and RTRIM functions. (CVS 3699)
drh [Sat, 17 Mar 2007 18:22:58 +0000 (18:22 +0000)] 
Add documentation of the REPLACE, TRIM, LTRIM, and RTRIM functions. (CVS 3699)

FossilOrigin-Name: d42c9636205a1a649cffcaeabff2b9b32016db31

18 years agoAdded TRIM, LTRIM, and RTRIM functions. (CVS 3698)
drh [Sat, 17 Mar 2007 17:52:42 +0000 (17:52 +0000)] 
Added TRIM, LTRIM, and RTRIM functions. (CVS 3698)

FossilOrigin-Name: 6fe13eeade4fc7099fbda1e6520640927c08debc

18 years agoFirst cut at an implementation of the REPLACE() function. We might yet
drh [Sat, 17 Mar 2007 13:27:54 +0000 (13:27 +0000)] 
First cut at an implementation of the REPLACE() function.  We might yet
make this a compile-time option or move it into a separate source file. (CVS 3697)

FossilOrigin-Name: c2fe746ea782f84e850aaf3af7f5536b027a19a1

18 years agoAdd crash2.test, for robustness testing with variable disk block size. (CVS 3696)
danielk1977 [Sat, 17 Mar 2007 10:28:04 +0000 (10:28 +0000)] 
Add crash2.test, for robustness testing with variable disk block size. (CVS 3696)

FossilOrigin-Name: b0f8203dbbf1036418a2dcc480f352f761826194

18 years agoModifications to crash-test infrastructure. (CVS 3695)
danielk1977 [Sat, 17 Mar 2007 10:26:59 +0000 (10:26 +0000)] 
Modifications to crash-test infrastructure. (CVS 3695)

FossilOrigin-Name: c4be8d9949fc7b5e1bed757423c5195f38069048

18 years agoCombine the two very similar definitions of (crashsql) in the test scripts. (CVS...
danielk1977 [Sat, 17 Mar 2007 07:22:42 +0000 (07:22 +0000)] 
Combine the two very similar definitions of (crashsql) in the test scripts. (CVS 3694)

FossilOrigin-Name: eaf434d5887bf75330e1cea12be810dfe667b62a

18 years agoOut-of-memory cleanup in tokenizers. Handle NULL return from
shess [Fri, 16 Mar 2007 18:30:54 +0000 (18:30 +0000)] 
Out-of-memory cleanup in tokenizers.  Handle NULL return from
malloc/calloc/realloc appropriately, and use sizeof(var) instead of
sizeof(type) to make certain that we don't get a mismatch between
them as the code rots. (CVS 3693)

FossilOrigin-Name: fbc53da8c645935c74e49af2ab2cf447dc72ba4e

18 years agoSave an if(...) clause made redundant by (3691). (CVS 3692)
danielk1977 [Thu, 15 Mar 2007 15:35:28 +0000 (15:35 +0000)] 
Save an if(...) clause made redundant by (3691). (CVS 3692)

FossilOrigin-Name: 8153edf8bea51b9344de1b700482879190f86fb4

18 years agoCheck for multiple calls to sqlite3FailedMalloc(). Ignore the second and subsequent...
danielk1977 [Thu, 15 Mar 2007 15:33:31 +0000 (15:33 +0000)] 
Check for multiple calls to sqlite3FailedMalloc(). Ignore the second and subsequent calls. (CVS 3691)

FossilOrigin-Name: 7180874592ffcaf8e2fe3c3b6b37449654da709b

18 years agoFix the pager so that it handles persistent I/O errors correctly.
drh [Thu, 15 Mar 2007 12:51:16 +0000 (12:51 +0000)] 
Fix the pager so that it handles persistent I/O errors correctly.
Update the testing infrastructure so that it tests for persistent
I/O errors instead of just transient errors. (CVS 3690)

FossilOrigin-Name: ea8507a796c65041f7e720edea89f919fca1a028

18 years agoInfrastructure to make simulated I/O errors persistent instead of
drh [Thu, 15 Mar 2007 12:17:42 +0000 (12:17 +0000)] 
Infrastructure to make simulated I/O errors persistent instead of
transient. (CVS 3689)

FossilOrigin-Name: 1a53f531ecd51938fab37a59b7088d89d8f8569d

18 years agoCatch an IO error code that was being ignored in OP_RowData. (CVS 3688)
danielk1977 [Thu, 15 Mar 2007 12:05:35 +0000 (12:05 +0000)] 
Catch an IO error code that was being ignored in OP_RowData. (CVS 3688)

FossilOrigin-Name: 760ebf8076b9cedb614bdc88c72d871c30cc7b94

18 years agoEnhanced temp-file security under unix. There are no known attacks against
drh [Thu, 15 Mar 2007 01:16:47 +0000 (01:16 +0000)] 
Enhanced temp-file security under unix.  There are no known attacks against
prior versions - this check-in is just an added precaution. (CVS 3687)

FossilOrigin-Name: 5af61402f65bddc4040a20470f267c9404cba631

18 years agoModify the behaviour of writable_schema to ignore schema parsing errors. (CVS 3686)
danielk1977 [Wed, 14 Mar 2007 15:37:04 +0000 (15:37 +0000)] 
Modify the behaviour of writable_schema to ignore schema parsing errors. (CVS 3686)

FossilOrigin-Name: a8d6d935fbe32a759a55c1ef90adda7fe534acc1

18 years agoAdd hyperlink anchors to the lockingv3.html document. (CVS 3685)
drh [Tue, 13 Mar 2007 16:33:42 +0000 (16:33 +0000)] 
Add hyperlink anchors to the lockingv3.html document. (CVS 3685)

FossilOrigin-Name: 3e66ea6f61abc0f95af3bb46ebc0e10b4dcd069b

18 years agoDo not crash when a corrupt database contains two indices with the same name. (CVS...
danielk1977 [Tue, 13 Mar 2007 16:32:25 +0000 (16:32 +0000)] 
Do not crash when a corrupt database contains two indices with the same name. (CVS 3684)

FossilOrigin-Name: 48b2a40008a09881ed9da3548095495a3d4a6647

18 years agoClarify the use of loop variables in a expr.c. (CVS 3683)
drh [Mon, 12 Mar 2007 23:48:52 +0000 (23:48 +0000)] 
Clarify the use of loop variables in a expr.c. (CVS 3683)

FossilOrigin-Name: e20e76f6d8578f4faab0b101b6d4deb2a8987454

18 years agoFix another typo in copyright.html (CVS 3682)
drh [Sat, 10 Mar 2007 20:50:18 +0000 (20:50 +0000)] 
Fix another typo in copyright.html (CVS 3682)

FossilOrigin-Name: 92f158643cc3f9fa913ed80e4eef325c33e4bf06

18 years agoAmplify and clarify reasons for wanting to get a license to use
drh [Sat, 10 Mar 2007 20:47:50 +0000 (20:47 +0000)] 
Amplify and clarify reasons for wanting to get a license to use
SQLite. (CVS 3681)

FossilOrigin-Name: 05bae0204d2387201be4783a11d54b220a4a40e8

18 years agoFix typos in the copyright.html webpage. Ticket #2267 (CVS 3680)
drh [Sat, 10 Mar 2007 18:30:31 +0000 (18:30 +0000)] 
Fix typos in the copyright.html webpage.  Ticket #2267 (CVS 3680)

FossilOrigin-Name: 74a4bfce46534330cb749ce2337ef39d51d693e7

18 years agoUpdates to the copyright.html page to address concerns some users have
drh [Sat, 10 Mar 2007 13:47:01 +0000 (13:47 +0000)] 
Updates to the copyright.html page to address concerns some users have
SQLite have about copyright issues.  A links to the wikipedia article
on public domain and a public domain icon. (CVS 3679)

FossilOrigin-Name: 6ce39f30063bbee3271a428f284235b0a84b9229

18 years agoRemove extra heading accidentally added to lang.tcl by (3677). (CVS 3678)
danielk1977 [Fri, 9 Mar 2007 14:43:25 +0000 (14:43 +0000)] 
Remove extra heading accidentally added to lang.tcl by (3677). (CVS 3678)

FossilOrigin-Name: 570533c1ef4640670227481cf72b782d320a65ba

18 years agoAdd a few "class" attributes to the html generated by lang.tcl to support conversion...
danielk1977 [Fri, 9 Mar 2007 14:40:58 +0000 (14:40 +0000)] 
Add a few "class" attributes to the html generated by lang.tcl to support conversion to pdf. (CVS 3677)

FossilOrigin-Name: 485c52ddc0f3c24f624825904cea3566f83f0e68

18 years agoChange the documentation to be more specific about the restriction on
drh [Thu, 8 Mar 2007 12:23:34 +0000 (12:23 +0000)] 
Change the documentation to be more specific about the restriction on
the use of keywords.  Ticket #2264. (CVS 3676)

FossilOrigin-Name: d03d480544e1f782ca796e4cfb83ff6894ed9147

18 years agoCatch an out-of-memory condition in vacuum code. (Bug in (3373)). (CVS 3675)
danielk1977 [Tue, 6 Mar 2007 16:03:55 +0000 (16:03 +0000)] 
Catch an out-of-memory condition in vacuum code. (Bug in (3373)). (CVS 3675)

FossilOrigin-Name: 302ec768579e2f7c17a33749e685289a041aeb11

18 years agoFixes to the overflow-chain optization of (3672). (CVS 3674)
drh [Tue, 6 Mar 2007 15:53:44 +0000 (15:53 +0000)] 
Fixes to the overflow-chain optization of (3672). (CVS 3674)

FossilOrigin-Name: d6986d1e7cba1d114fa06c5560ffc6bb1feb7389

18 years agoUse heap instead of stack for large buffers in the pager. Fix for #2262. (CVS 3673)
danielk1977 [Tue, 6 Mar 2007 13:45:59 +0000 (13:45 +0000)] 
Use heap instead of stack for large buffers in the pager. Fix for #2262. (CVS 3673)

FossilOrigin-Name: dfe1dffa4515ed6494055887d351863fe0cdb87f

18 years agoDo not read the last page of a overflow chain when deleting that chain.
drh [Tue, 6 Mar 2007 11:42:19 +0000 (11:42 +0000)] 
Do not read the last page of a overflow chain when deleting that chain.
Just add the page to the freelist.  This reduces I/O. (CVS 3672)

FossilOrigin-Name: 6db945f7a7587c8c7adada92f94ac7936b901cf1

18 years agoChanges to the btree and pager that reduce the amount of I/O when dealing
drh [Sun, 4 Mar 2007 13:15:27 +0000 (13:15 +0000)] 
Changes to the btree and pager that reduce the amount of I/O when dealing
with the freelist.  (1) Avoid journaling pages of a table that is being
deleted.  (2) Do not read the original content of pages being pulled off
of the freelist. (CVS 3671)

FossilOrigin-Name: 2ba5be311945a4c15b6dce7c01efefb513b9a973

18 years agoHandle the case where the estimated cost of a virtual table scan is larger than SQLIT...
danielk1977 [Fri, 2 Mar 2007 08:12:22 +0000 (08:12 +0000)] 
Handle the case where the estimated cost of a virtual table scan is larger than SQLITE_BIG_DBL. Ticket #2253. (CVS 3670)

FossilOrigin-Name: 52885ed8b76a06588acf202a38b4feabfca1cfd1

18 years agoDisable the "SELECT max(rowid) ..." optimization for virtual tables. Ticket #2250...
danielk1977 [Fri, 2 Mar 2007 07:27:00 +0000 (07:27 +0000)] 
Disable the "SELECT max(rowid) ..." optimization for virtual tables. Ticket #2250. (CVS 3669)

FossilOrigin-Name: ddb4d0af5770c7030fe6e92119972c9508724b9a

18 years agoMinor fixes so that testfixture builds without IO tracing enabled. (CVS 3668)
danielk1977 [Fri, 2 Mar 2007 06:24:19 +0000 (06:24 +0000)] 
Minor fixes so that testfixture builds without IO tracing enabled. (CVS 3668)

FossilOrigin-Name: 8d3829cdb35f41bc7a2e6f945e9aa83987513104

18 years agoAdditional I/O Tracing support. (CVS 3667)
drh [Thu, 1 Mar 2007 00:29:13 +0000 (00:29 +0000)] 
Additional I/O Tracing support. (CVS 3667)

FossilOrigin-Name: ed915f579a8e5b75681a9a6012b5041500cad36c

18 years agoWork around incompatibilities in the windows printf() routine within the
drh [Wed, 28 Feb 2007 06:14:25 +0000 (06:14 +0000)] 
Work around incompatibilities in the windows printf() routine within the
new I/O tracing logic. (CVS 3666)

FossilOrigin-Name: ceb3a07f559b5160232c8bce5446f4d0e8aab92b

18 years agoAdd the undocumented and experimental I/O tracing interface. This
drh [Wed, 28 Feb 2007 04:47:26 +0000 (04:47 +0000)] 
Add the undocumented and experimental I/O tracing interface.  This
interface is likely to change and may be completely abandoned in the
near future. (CVS 3665)

FossilOrigin-Name: 007ca283892a66dd8b9e0dfece4f75d0d08a4300

18 years agoImprovements to OS layer tracing on the unix backend. (CVS 3664)
drh [Tue, 27 Feb 2007 02:01:14 +0000 (02:01 +0000)] 
Improvements to OS layer tracing on the unix backend. (CVS 3664)

FossilOrigin-Name: 3ad96dbe09b99bd5f623de0de3072a25e9e2bc17

18 years agoAdd comments to sqlite3ExprCompare() to clarify its operation. Ticket #2216. (CVS...
drh [Sat, 24 Feb 2007 15:29:03 +0000 (15:29 +0000)] 
Add comments to sqlite3ExprCompare() to clarify its operation. Ticket #2216. (CVS 3663)

FossilOrigin-Name: fba0a1e50820677081bc7cf01f97bf953065f7c4

18 years agoAdditional test cases added. Improvements to the INSERT transfer
drh [Sat, 24 Feb 2007 15:18:49 +0000 (15:18 +0000)] 
Additional test cases added.  Improvements to the INSERT transfer
optimization. (CVS 3662)

FossilOrigin-Name: 2bf5475bde763f73f7f4dd9cac7d13a631a7d2aa

18 years agoAdditional tests and some improvements to the INSERT transfer
drh [Sat, 24 Feb 2007 13:53:05 +0000 (13:53 +0000)] 
Additional tests and some improvements to the INSERT transfer
optimization.  More testing is needed. (CVS 3661)

FossilOrigin-Name: 830985814345f71ba2def3c206e36aabe9e1ee7c

18 years agoMake sure the INSERT xfer optimization does not trigger if the CHECK
drh [Sat, 24 Feb 2007 13:23:51 +0000 (13:23 +0000)] 
Make sure the INSERT xfer optimization does not trigger if the CHECK
constraints on the two tables are not identical.  Ticket #2252. (CVS 3660)

FossilOrigin-Name: 6fc18275230563437f2985eac3795e4dfe8eb9de

18 years agoMake sure that integer values are converted to real when pulled from
drh [Sat, 24 Feb 2007 11:52:52 +0000 (11:52 +0000)] 
Make sure that integer values are converted to real when pulled from
a REAL table column by GROUP BY.  Ticket #2251.  Also make sure default
values are correctly expanded.  There may be other places in the code
where this issue comes up - we need to look further. (CVS 3659)

FossilOrigin-Name: e11bbf174c5a2fa75e3d1dd450c8b2a18f40e4da

18 years agoDisable the OR optimization if it would conflict with column
drh [Fri, 23 Feb 2007 23:13:33 +0000 (23:13 +0000)] 
Disable the OR optimization if it would conflict with column
affinity coercions.  Ticket #2249.  Additional cleanup and testing
of the OR optimization. (CVS 3658)

FossilOrigin-Name: 908daaa9ab86e0bd1da6d0807d6aaba240c3cee0

18 years agoClarifications to the datatype3.html document. (CVS 3657)
drh [Fri, 23 Feb 2007 14:20:38 +0000 (14:20 +0000)] 
Clarifications to the datatype3.html document. (CVS 3657)

FossilOrigin-Name: 4692a85edbe27d512f1830b8fb3e2b05b92a0cb5

18 years agoClarify the documentation on how comparisons occur in an IN operator.
drh [Fri, 23 Feb 2007 03:00:44 +0000 (03:00 +0000)] 
Clarify the documentation on how comparisons occur in an IN operator.
Fix the comparison operators when both sides of an IN operator are
expressions (ticket #2248).
Changes to main.mk for adding FTS2 into the standard build also
got mixed in with this check-in by mistake. (CVS 3656)

FossilOrigin-Name: da81725ca1cd894b3f2d734767e10cc0dc329566

18 years agoFix typos in test naming (was using 'e' instead of 'f'). (CVS 3655)
shess [Fri, 23 Feb 2007 00:14:05 +0000 (00:14 +0000)] 
Fix typos in test naming (was using 'e' instead of 'f'). (CVS 3655)

FossilOrigin-Name: 16cb00adeb3b68220ba2567b86b230bbbf2a0330

18 years agoMake the depth of the pushdown automaton stack generated by lemon
drh [Thu, 22 Feb 2007 23:06:58 +0000 (23:06 +0000)] 
Make the depth of the pushdown automaton stack generated by lemon
changable at compile-time using -DYYSTACKDEPTH=<number>. (CVS 3654)

FossilOrigin-Name: d8845ac1fbf8c3f483d47c35f908817ea37128ec

18 years agoModify the fix for #2244 to avoid using a vdbe label. (CVS 3653)
danielk1977 [Wed, 21 Feb 2007 17:04:04 +0000 (17:04 +0000)] 
Modify the fix for #2244 to avoid using a vdbe label. (CVS 3653)

FossilOrigin-Name: f7ce74b22ab739b8c8599cdc605aa9da1f5b5be5

18 years agoFix for an UPDATE on a virtual table when the WHERE clause matches zero rows.
danielk1977 [Wed, 21 Feb 2007 16:52:12 +0000 (16:52 +0000)] 
Fix for an UPDATE on a virtual table when the WHERE clause matches zero rows.
Ticket #2244. (CVS 3652)

FossilOrigin-Name: 43bf797842f00a104f5c5619ad3215edddfc641b

18 years agoAdd comments to the top of keywordhash.h. (CVS 3651)
drh [Wed, 21 Feb 2007 16:44:33 +0000 (16:44 +0000)] 
Add comments to the top of keywordhash.h. (CVS 3651)

FossilOrigin-Name: 0aa9ed5bbfb756967a6f761c5fc2f274a5466e2d

18 years agoEnhance the documentation to clarify that SQLite is not reentrant through
drh [Tue, 20 Feb 2007 15:21:05 +0000 (15:21 +0000)] 
Enhance the documentation to clarify that SQLite is not reentrant through
the authorization callback function.  Ticket #2242. (CVS 3650)

FossilOrigin-Name: b18a758a8fbd4b286ae3475af26f290d8cd583f0