]> git.ipfire.org Git - thirdparty/sqlite.git/log
thirdparty/sqlite.git
14 years agoRelease candidate 3.7.7.1. branch-3.7.7 version-3.7.7.1
dan [Tue, 28 Jun 2011 17:39:05 +0000 (17:39 +0000)] 
Release candidate 3.7.7.1.

FossilOrigin-Name: af0d91adf497f5f36ec3813f04235a6e195a605f

14 years agoUpdate the version number to 3.7.7.1
drh [Mon, 27 Jun 2011 23:39:34 +0000 (23:39 +0000)] 
Update the version number to 3.7.7.1

FossilOrigin-Name: de8ad5f8176d5573c02ec39b14cca324cfef5cb9

14 years agoCreate a branch that contains just the fix for the case_sensitive_like
drh [Mon, 27 Jun 2011 23:32:35 +0000 (23:32 +0000)] 
Create a branch that contains just the fix for the case_sensitive_like
pragma bug, ticket [25ee81271091ec].

FossilOrigin-Name: ec8f23fc042ad8d700abe38a98c2baea02db1176

14 years agoVersion 3.7.7 release candidate #1. version-3.7.7
drh [Thu, 23 Jun 2011 19:49:22 +0000 (19:49 +0000)] 
Version 3.7.7 release candidate #1.

FossilOrigin-Name: 4374b7e83ea0a3fbc3691f9c0c936272862f32f2

14 years agoAdd a bit to the SQLITE_TESTCTRL_OPTIMIZATIONS setting that will disable
drh [Thu, 23 Jun 2011 17:29:33 +0000 (17:29 +0000)] 
Add a bit to the SQLITE_TESTCTRL_OPTIMIZATIONS setting that will disable
affinity when writing to any index, regardless of whether or not the index
is on a manifestation of a view.  This allows better testing of the fix
for ticket [91e2e8ba6ff2e2].

FossilOrigin-Name: b61a76a53af04f731fe7617f7b6b4fb2aef6587b

14 years agoAdd a test for ticket [91e2e8ba6f]. No changes to code.
dan [Thu, 23 Jun 2011 16:40:26 +0000 (16:40 +0000)] 
Add a test for ticket [91e2e8ba6f]. No changes to code.

FossilOrigin-Name: c271f7e88fc081a460dd3f4afb24aa9fb7fa2917

14 years agoDo not do affinity transformations on inserts into an index for the
drh [Thu, 23 Jun 2011 16:18:26 +0000 (16:18 +0000)] 
Do not do affinity transformations on inserts into an index for the
manifestation of a view or subquery.  Fix for ticket [91e2e8ba6ff2e2].

FossilOrigin-Name: 0b3174e0b1364ccc31853dce02bce5f7d3d431db

14 years agoProvide the SQLITE_MAX_SCHEMA_RETRY compile-time parameter for adjusting the
drh [Thu, 23 Jun 2011 01:42:53 +0000 (01:42 +0000)] 
Provide the SQLITE_MAX_SCHEMA_RETRY compile-time parameter for adjusting the
number of reparse attempts after a schema change.

FossilOrigin-Name: 8dca748b23fa6f9abf47a186dcd1766f4dcf3ab7

14 years agoRemove unused variables from test_vfs.c
drh [Thu, 23 Jun 2011 01:07:49 +0000 (01:07 +0000)] 
Remove unused variables from test_vfs.c

FossilOrigin-Name: 07884cc218e6899efd163448ab116f296722f7b8

14 years agoIf "PRAGMA page_size" commands are not authorized, the FTS module will assume
drh [Thu, 23 Jun 2011 00:59:41 +0000 (00:59 +0000)] 
If "PRAGMA page_size" commands are not authorized, the FTS module will assume
a page size of 1024.

FossilOrigin-Name: ba39382ef546b4c4ae15ed90ef0b6c87762bffef

14 years agoAdded limited support to omittest.tcl for nmake makefile.
shaneh [Wed, 22 Jun 2011 20:14:09 +0000 (20:14 +0000)] 
Added limited support to omittest.tcl for nmake makefile.

FossilOrigin-Name: f5f46dc7b8c23e77fd1ff792b7d0cf070de47ca3

14 years agoUpdate a test case for Windows that failed because of size_hint implementation differ...
shaneh [Wed, 22 Jun 2011 15:40:19 +0000 (15:40 +0000)] 
Update a test case for Windows that failed because of size_hint implementation differences.

FossilOrigin-Name: f853fa63c357b78f93e553eb81cd79d4c3e06850

14 years agoPrint a warning in oserror-1.1.1 that a valgrind warning might occur but that
drh [Wed, 22 Jun 2011 15:21:48 +0000 (15:21 +0000)] 
Print a warning in oserror-1.1.1 that a valgrind warning might occur but that
it is benign.

FossilOrigin-Name: 13e96376e11d71d203f7b67c12272e8762200876

14 years agoAdjust a test case in triggerC.test to handle non-default SQLITE_MAX_TRIGGER_DEPTH...
shaneh [Wed, 22 Jun 2011 14:43:59 +0000 (14:43 +0000)] 
Adjust a test case in triggerC.test to handle non-default SQLITE_MAX_TRIGGER_DEPTH settings.

FossilOrigin-Name: f14339c54bdeabc68c1e05b2c63ee95226f184e0

14 years agoAdd a flush of stdout so some test code reading from a command pipe works correctly...
shaneh [Wed, 22 Jun 2011 14:21:31 +0000 (14:21 +0000)] 
Add a flush of stdout so some test code reading from a command pipe works correctly on Windows.

FossilOrigin-Name: 6705f21effaa2f72dc5e17e888d679b8d35c2c3a

14 years agoChange a test case in types3.test slightly so that it works with the latest versions...
dan [Wed, 22 Jun 2011 10:56:54 +0000 (10:56 +0000)] 
Change a test case in types3.test slightly so that it works with the latest versions of Tcl.

FossilOrigin-Name: 6e1f4df51ad32e36715cba16f9df0d17a08dc653

14 years agoModify the implementation of the test code in test_vfs.c so that test VFS objects...
dan [Wed, 22 Jun 2011 10:37:19 +0000 (10:37 +0000)] 
Modify the implementation of the test code in test_vfs.c so that test VFS objects may be invoked recursively.

FossilOrigin-Name: 065e5a5ea4f82f0d3fbb2e80d3a977af96c95683

14 years agoFix typo in previous tester.tcl commit.
shaneh [Tue, 21 Jun 2011 19:39:59 +0000 (19:39 +0000)] 
Fix typo in previous tester.tcl commit.

FossilOrigin-Name: c2e5faca144d2c25aada2a77b4ddefa5ca6ea925

14 years agoUpdate filepath_normalize for unix.
shaneh [Tue, 21 Jun 2011 19:38:16 +0000 (19:38 +0000)] 
Update filepath_normalize for unix.

FossilOrigin-Name: 30dd4f887989354b5d01cc80bd9c4bd3528d3ae1

14 years agoUpdate a few of the uri tests to work on Windows.
shaneh [Tue, 21 Jun 2011 19:30:19 +0000 (19:30 +0000)] 
Update a few of the uri tests to work on Windows.

FossilOrigin-Name: a2a0cd4aa4a6723a849bbba590c22fd065fab55e

14 years agoUpdates to nmake makefile to allow options to be passed to lib.exe.
shaneh [Tue, 21 Jun 2011 18:12:07 +0000 (18:12 +0000)] 
Updates to nmake makefile to allow options to be passed to lib.exe.

FossilOrigin-Name: 9eac4a6bbe111d951ad23395ba82c868473c5b9b

14 years agoGive the osLocaltime() function file scope in date.c.
drh [Tue, 21 Jun 2011 15:54:24 +0000 (15:54 +0000)] 
Give the osLocaltime() function file scope in date.c.

FossilOrigin-Name: 1577484595b5e5aab93722d76b273c911a04dc2c

14 years agoInitialize a variable introduced as part of the fix for [bd484a090c8077] in order...
dan [Tue, 21 Jun 2011 15:38:05 +0000 (15:38 +0000)] 
Initialize a variable introduced as part of the fix for [bd484a090c8077] in order to silence a compiler warning.

FossilOrigin-Name: 6b9877fa43bf29a9740285f0c40a6e6cf21f8190

14 years agoAdd a missing initializer for sqlite3GlobalConfig.bLocaltimeFault.
dan [Tue, 21 Jun 2011 15:27:54 +0000 (15:27 +0000)] 
Add a missing initializer for sqlite3GlobalConfig.bLocaltimeFault.

FossilOrigin-Name: 7fe8ba2ec762d258b04e775766c82e5e541ab5d1

14 years agoFix main.mk so that the "amalgamation-testfixture" target works again.
dan [Tue, 21 Jun 2011 15:24:30 +0000 (15:24 +0000)] 
Fix main.mk so that the "amalgamation-testfixture" target works again.

FossilOrigin-Name: 22265323f7785ec5e2afc14a989d53dcbbd36250

14 years agoRework the localtime logic yet again in order to make all branches reachable
drh [Tue, 21 Jun 2011 15:01:25 +0000 (15:01 +0000)] 
Rework the localtime logic yet again in order to make all branches reachable
and to follow GNU standards for HAVE_LOCALTIME_R-type macros.
Ticket [bd484a090c8077].

FossilOrigin-Name: 176248095b8056443ebcbff819e575bd100f5e50

14 years agoSimplifications to the localtime() interface. Fix the case where
drh [Tue, 21 Jun 2011 14:35:30 +0000 (14:35 +0000)] 
Simplifications to the localtime() interface.  Fix the case where
localtime_r() is available so that it works.  Ticket [bd484a090c8077].

FossilOrigin-Name: 5b68dae320d0fa3dc433826811e5018a47461de7

14 years agoChange the error message returned when localtime_r() fails to "local time unavailable".
dan [Tue, 21 Jun 2011 13:46:11 +0000 (13:46 +0000)] 
Change the error message returned when localtime_r() fails to "local time unavailable".

FossilOrigin-Name: 0e82175fd86f0ca5da90676aaee3118a70264d85

14 years agoFix an error made in the previous commit. The parameters to localtime_s() were accide...
dan [Tue, 21 Jun 2011 12:53:14 +0000 (12:53 +0000)] 
Fix an error made in the previous commit. The parameters to localtime_s() were accidentally reversed.

FossilOrigin-Name: 97e86ec6df4d893527fe9f43eb46163d9b06416a

14 years agoReturn an error if localtime_r() fails within one of the date/time functions. Fix...
dan [Tue, 21 Jun 2011 12:47:30 +0000 (12:47 +0000)] 
Return an error if localtime_r() fails within one of the date/time functions. Fix for [bd484a090c].

FossilOrigin-Name: 76ae8257efc1df6e20ce5718d4824adbbde423ec

14 years agoAdd a new AWK script in the tool/ folder for converting text files into
drh [Tue, 21 Jun 2011 03:36:06 +0000 (03:36 +0000)] 
Add a new AWK script in the tool/ folder for converting text files into
C string literals.  Use it for building sqlite3_analyzer.

FossilOrigin-Name: dcb46d3f68e219a84c67c7ffef26fd2076a0ba28

14 years agoMore typo fixes in evidence marks. No code changes.
drh [Mon, 20 Jun 2011 23:51:33 +0000 (23:51 +0000)] 
More typo fixes in evidence marks.  No code changes.

FossilOrigin-Name: e60eefc76fa5066720d76858f6cfca56365330ee

14 years agoFix typos in evidence marks on tests.
drh [Mon, 20 Jun 2011 22:34:50 +0000 (22:34 +0000)] 
Fix typos in evidence marks on tests.

FossilOrigin-Name: bd980be471b185e2dc45875804103d5afc8f78cf

14 years agoFix more documentation typos.
drh [Mon, 20 Jun 2011 21:47:58 +0000 (21:47 +0000)] 
Fix more documentation typos.

FossilOrigin-Name: b9cbab739a62f497545161f30195272f4e687a7f

14 years agoAdd ability to pass linker specific options to nmake makefile.
shaneh [Mon, 20 Jun 2011 20:52:32 +0000 (20:52 +0000)] 
Add ability to pass linker specific options to nmake makefile.

FossilOrigin-Name: b4f09c9393ce703062170220af20a23fdcf53494

14 years agoFix a couple of compiler issues on Windows due to warning clean up.
shaneh [Mon, 20 Jun 2011 20:50:49 +0000 (20:50 +0000)] 
Fix a couple of compiler issues on Windows due to warning clean up.

FossilOrigin-Name: 81e6f151d384fa1f1474175b39ad6dfa64f8da0d

14 years agoAdd additional error check for disk full on Windows.
shaneh [Mon, 20 Jun 2011 20:48:09 +0000 (20:48 +0000)] 
Add additional error check for disk full on Windows.

FossilOrigin-Name: 3ee5d1a51d6347858734b7b595771ae9cd2cc89d

14 years agoFix documentation typos. No changes to code.
drh [Mon, 20 Jun 2011 20:39:12 +0000 (20:39 +0000)] 
Fix documentation typos.  No changes to code.

FossilOrigin-Name: 3276f3f7c90e356a9715f6b0a95cf48169f8d9f0

14 years agoRemove the SQLITE_OMIT_CONFLICT_CLAUSE preprocessor define which was no
drh [Mon, 20 Jun 2011 20:15:53 +0000 (20:15 +0000)] 
Remove the SQLITE_OMIT_CONFLICT_CLAUSE preprocessor define which was no
longer in use.

FossilOrigin-Name: 9024955973e90661c99efa2aad1f8c421ee93802

14 years agoMore compiler warning fixes.
drh [Mon, 20 Jun 2011 19:00:30 +0000 (19:00 +0000)] 
More compiler warning fixes.

FossilOrigin-Name: ed2dda9329ca42e9c0be1986c78b091051e7598f

14 years agoFix compiler warnings in lemon by removing some of the code added by
drh [Mon, 20 Jun 2011 18:27:23 +0000 (18:27 +0000)] 
Fix compiler warnings in lemon by removing some of the code added by
Ryan Gordon in [1e8b842039cc0].

FossilOrigin-Name: 76b18b2be072b9ea242df4c9535059f7b43f564b

14 years agoRework the autoconf script to better deal with utime() and dlopen().
drh [Mon, 20 Jun 2011 18:00:17 +0000 (18:00 +0000)] 
Rework the autoconf script to better deal with utime() and dlopen().

FossilOrigin-Name: f69ed286ffb3f62f5cb5c1f7df55fa4d2468b472

14 years agoUpdate a couple test scripts to account for more floating point variation under vario...
shaneh [Mon, 20 Jun 2011 17:41:41 +0000 (17:41 +0000)] 
Update a couple test scripts to account for more floating point variation under various Windows-based versions of TCL.
Update a couple test scripts to account for more floating point display variation in Windows-based versions of TCL.

FossilOrigin-Name: a4a8402bfec381dd23b7a96c2f4b52c0dd728a7a

14 years agoFix various harmless compiler warnings in FTS3 and RTREE.
drh [Mon, 20 Jun 2011 17:24:29 +0000 (17:24 +0000)] 
Fix various harmless compiler warnings in FTS3 and RTREE.

FossilOrigin-Name: fe62179efdea40887e23a16f898060b879013824

14 years agoEnable crnl to nl translation for the mksqlite3c.tcl script.
drh [Mon, 20 Jun 2011 15:24:22 +0000 (15:24 +0000)] 
Enable crnl to nl translation for the mksqlite3c.tcl script.

FossilOrigin-Name: 161379d205455a7a4927a76efd4da75a98182854

14 years agoUpdate some test cases in fts4aa.test.
dan [Mon, 20 Jun 2011 12:24:26 +0000 (12:24 +0000)] 
Update some test cases in fts4aa.test.

FossilOrigin-Name: 65e5f7706d3b6784f9cce315478d7623d6d7e7d9

14 years agoFix a problem where FTS test code was not being included in the testfixture build...
dan [Mon, 20 Jun 2011 11:15:06 +0000 (11:15 +0000)] 
Fix a problem where FTS test code was not being included in the testfixture build when SQLITE_ENABLE_FTS4 was defined.

FossilOrigin-Name: e539d08a4dda073dc67dc39a104f89374d3bd8e9

14 years agoAdd tests for the "column:term" query syntax to fts3auto.test.
dan [Mon, 20 Jun 2011 10:46:49 +0000 (10:46 +0000)] 
Add tests for the "column:term" query syntax to fts3auto.test.

FossilOrigin-Name: d138b0e65953c529619d64e662bdb5478d7d79c3

14 years agoDo not run test tkt-2d1a5c67d.test in the inmemory_journal permutation
drh [Sun, 19 Jun 2011 21:17:35 +0000 (21:17 +0000)] 
Do not run test tkt-2d1a5c67d.test in the inmemory_journal permutation
since that test requires WAL mode which does not work with inmemory_journal.

FossilOrigin-Name: 228c43c726e637daadc0c9b5a8b24243f239b1cf

14 years agoFix a header dependency in nmake Makefile.
shaneh [Fri, 17 Jun 2011 18:52:07 +0000 (18:52 +0000)] 
Fix a header dependency in nmake Makefile.

FossilOrigin-Name: 54492212af6c4be5d5546b370398ef771c16f430

14 years agoAvoid loading doclists for infrequent terms that are part of phrases twice.
dan [Fri, 17 Jun 2011 17:37:31 +0000 (17:37 +0000)] 
Avoid loading doclists for infrequent terms that are part of phrases twice.

FossilOrigin-Name: 8f939723f742329cedba8930f71dff42004f3d0d

14 years agoAdd a missing declaration to fts3Int.h.
dan [Fri, 17 Jun 2011 16:04:39 +0000 (16:04 +0000)] 
Add a missing declaration to fts3Int.h.

FossilOrigin-Name: 3bfd4466f50711eb71d1a13231025ff4e1e76246

14 years agoFix a few more issues with the nmake makefile.
shaneh [Fri, 17 Jun 2011 15:57:07 +0000 (15:57 +0000)] 
Fix a few more issues with the nmake makefile.

FossilOrigin-Name: a117005f502482c4529661616cbb26eee1fe75d1

14 years agoUpdate walro.test script for Windows.
shaneh [Fri, 17 Jun 2011 15:55:32 +0000 (15:55 +0000)] 
Update walro.test script for Windows.

FossilOrigin-Name: d6443f8eb30fc3e91e1ad92e2adb595ccf121880

14 years agoForce almagamation gen scripts to use unix line endings for consistency across platforms.
shaneh [Fri, 17 Jun 2011 15:54:59 +0000 (15:54 +0000)] 
Force almagamation gen scripts to use unix line endings for consistency across platforms.

FossilOrigin-Name: a4adc7f78bf43843ee76911baf2f48eb483dd6ac

14 years agoMore updates to the nmake makefile.
shaneh [Fri, 17 Jun 2011 07:22:09 +0000 (07:22 +0000)] 
More updates to the nmake makefile.

FossilOrigin-Name: 55bb56d33632eac65bf401dc1f98324b20fb0718

14 years agoAdd Microsoft nmake compatible makefile; update a few test cases for Windows.
shaneh [Fri, 17 Jun 2011 07:07:24 +0000 (07:07 +0000)] 
Add Microsoft nmake compatible makefile; update a few test cases for Windows.

FossilOrigin-Name: a7590af65f3881cf905b8cac2b87381e89a80271

14 years agoFix a problem with NEAR queries executed inside a transaction that writes the FTS...
dan [Thu, 16 Jun 2011 16:06:05 +0000 (16:06 +0000)] 
Fix a problem with NEAR queries executed inside a transaction that writes the FTS table.

FossilOrigin-Name: 051c756c367837908f6691c0a36108e088c94f99

14 years agoChanges to #ifdefs so that the build goes correctly if the only FTS macro
drh [Thu, 16 Jun 2011 00:54:45 +0000 (00:54 +0000)] 
Changes to #ifdefs so that the build goes correctly if the only FTS macro
defined is SQLITE_ENABLE_FTS4.

FossilOrigin-Name: a0b43a320e6491de7070966ed7c3ec55fd660a85

14 years agoFix the multiplex.test module so that it works with the inmemory_journal
drh [Wed, 15 Jun 2011 23:34:51 +0000 (23:34 +0000)] 
Fix the multiplex.test module so that it works with the inmemory_journal
permutation.

FossilOrigin-Name: 03d9480fc4a8310bc8da81a64f9206c8f4b501d9

14 years agoFurther tweaks to the wal7.test test case.
drh [Wed, 15 Jun 2011 19:18:47 +0000 (19:18 +0000)] 
Further tweaks to the wal7.test test case.

FossilOrigin-Name: 177e2d72a8a654d25720e6afc7706624610ac80f

14 years agoAdd a couple of pointer type casts to test file test_quota.c.
dan [Wed, 15 Jun 2011 17:04:43 +0000 (17:04 +0000)] 
Add a couple of pointer type casts to test file test_quota.c.

FossilOrigin-Name: 0df061b0554c749cade4ec8ddabe453934825bb2

14 years agoFix the wal7.test script so that it works even if secure_delete is engaged.
drh [Wed, 15 Jun 2011 16:07:30 +0000 (16:07 +0000)] 
Fix the wal7.test script so that it works even if secure_delete is engaged.

FossilOrigin-Name: 68fb7a548c8fe00bcb9c6d71f2863b55d42b3c64

14 years agoMerge the improved incremental doclist loading test from the
drh [Wed, 15 Jun 2011 13:11:06 +0000 (13:11 +0000)] 
Merge the improved incremental doclist loading test from the
broken-build branch (which is now fixed) into trunk.

FossilOrigin-Name: f9750870ee04935f338e4d808900fee5a8b2b389

14 years agoFix so that the TCL test harness works even if SQLITE_ENABLE_FTS is omitted. broken-build
drh [Wed, 15 Jun 2011 13:02:21 +0000 (13:02 +0000)] 
Fix so that the TCL test harness works even if SQLITE_ENABLE_FTS is omitted.

FossilOrigin-Name: 63ebcb52a1909aca80f2fef3e982f8fb5929b73b

14 years agoFix a couple of compiler warnings.
drh [Wed, 15 Jun 2011 12:43:36 +0000 (12:43 +0000)] 
Fix a couple of compiler warnings.

FossilOrigin-Name: 3899f3b95ed50773a72d907b39b451fefce69c9e

14 years agoAdd an interface to better test incremental loading of doclists by FTS4. Also some...
dan [Wed, 15 Jun 2011 08:30:29 +0000 (08:30 +0000)] 
Add an interface to better test incremental loading of doclists by FTS4. Also some tests for this and term prefix queries.

FossilOrigin-Name: 7a3813138d1a5c5d99f4756c79998831d779774f

14 years agoFix a memory leak that can follow an OOM error in a user-function that uses sqlite3_s...
dan [Tue, 14 Jun 2011 14:18:45 +0000 (14:18 +0000)] 
Fix a memory leak that can follow an OOM error in a user-function that uses sqlite3_set_auxdata().

FossilOrigin-Name: 0185c4b689d18d66e6aa39b4a7bddc279e3c9d17

14 years agoMerge fts3-prefix-search branch with trunk.
dan [Tue, 14 Jun 2011 11:50:09 +0000 (11:50 +0000)] 
Merge fts3-prefix-search branch with trunk.

FossilOrigin-Name: b1f9c1e0ac51cedfb05ac073a603343f6df865b5

14 years agoAdd a couple of extra tests. fts3-prefix-search
dan [Tue, 14 Jun 2011 11:32:50 +0000 (11:32 +0000)] 
Add a couple of extra tests.

FossilOrigin-Name: aefd46dfae7e06fbaf4f2b9a86a7f2ac6927331e

14 years agoFix another bug caused by NEAR/matchinfo/order=DESC interaction.
dan [Tue, 14 Jun 2011 09:00:27 +0000 (09:00 +0000)] 
Fix another bug caused by NEAR/matchinfo/order=DESC interaction.

FossilOrigin-Name: 04907fbadeb743c95cc9f3529e63ef388684799f

14 years agoMerge recent trunk changes into fts3-prefix-search branch.
dan [Tue, 14 Jun 2011 07:22:30 +0000 (07:22 +0000)] 
Merge recent trunk changes into fts3-prefix-search branch.

FossilOrigin-Name: 135ce30f62ebd6a1b239c18dbbd9c926ea507db4

14 years agoRemove unused parameters from internal fts3 function.
dan [Tue, 14 Jun 2011 07:14:43 +0000 (07:14 +0000)] 
Remove unused parameters from internal fts3 function.

FossilOrigin-Name: 06de3f2cbc27cdfd9f83218c9ea576f74f60d07b

14 years agoUpdate trace2.test to account for new FTS queries.
dan [Mon, 13 Jun 2011 18:21:11 +0000 (18:21 +0000)] 
Update trace2.test to account for new FTS queries.

FossilOrigin-Name: 2c20129297b64f4113b8edb551385eb918279471

14 years agoAdd tests for deferred tokens to fts3auto.test. Fix a problem with OR queries and...
dan [Mon, 13 Jun 2011 17:00:12 +0000 (17:00 +0000)] 
Add tests for deferred tokens to fts3auto.test. Fix a problem with OR queries and deferred tokens.

FossilOrigin-Name: b9fb69e55bb05a8819688ee63987f2a05c33d59b

14 years agoChanges to fts3auto.test to test OR, AND and NOT operations.
dan [Mon, 13 Jun 2011 13:48:36 +0000 (13:48 +0000)] 
Changes to fts3auto.test to test OR, AND and NOT operations.

FossilOrigin-Name: e4ab6cdb101bbeb804820425cf569ee7dc2397fb

14 years agoUse only unsigned values in the implementatin of LIKE and GLOB so that
drh [Mon, 13 Jun 2011 12:19:21 +0000 (12:19 +0000)] 
Use only unsigned values in the implementatin of LIKE and GLOB so that
values won't overflow to negative when dealing with malformed UTF8.

FossilOrigin-Name: 77f01578bb565d1bc884b374b68bae10ce34a084

14 years agoFix a bug exposed by combining matchinfo(), NEAR and "ORDER BY rowid DESC".
dan [Mon, 13 Jun 2011 09:11:01 +0000 (09:11 +0000)] 
Fix a bug exposed by combining matchinfo(), NEAR and "ORDER BY rowid DESC".

FossilOrigin-Name: 5f6b87f420f21749aa7c72e020c50aca74890086

14 years agoWhen updating a field that requires foreign key constraints be checked, ensure that...
dan [Fri, 10 Jun 2011 18:33:35 +0000 (18:33 +0000)] 
When updating a field that requires foreign key constraints be checked, ensure that the indexes and tables are consistent when the FK logic is run. Otherwise, it may detect the inconsistency and report database corruption.

FossilOrigin-Name: 2b3d9996a829c62fbaf7c92d50e44636340b07c6

14 years agoFix minor problems with foreign key constraints where the parent table is the same...
dan [Fri, 10 Jun 2011 16:33:25 +0000 (16:33 +0000)] 
Fix minor problems with foreign key constraints where the parent table is the same as the child table.

FossilOrigin-Name: 442d8d8bfe443797482354ba8766d97d3d6acaae

14 years agoFix a line in pcache1.c where a global data structure is accessed without using the...
dan [Thu, 9 Jun 2011 17:53:43 +0000 (17:53 +0000)] 
Fix a line in pcache1.c where a global data structure is accessed without using the GLOBAL() macro. This causes a subtle malfunction on test systems that use SQLITE_OMIT_WSD.

FossilOrigin-Name: b11b2e1f8ccadf78bebe2278f05a8e3d3e543328

14 years agoFix problems to do with using both OR and NEAR operators in a single expression.
dan [Thu, 9 Jun 2011 10:48:02 +0000 (10:48 +0000)] 
Fix problems to do with using both OR and NEAR operators in a single expression.

FossilOrigin-Name: 4e8dd19eef04777d800977faf1859a405e396f30

14 years agoFix various issues to do with deferred tokens, NEAR expressions and matchinfo().
dan [Wed, 8 Jun 2011 18:39:07 +0000 (18:39 +0000)] 
Fix various issues to do with deferred tokens, NEAR expressions and matchinfo().

FossilOrigin-Name: 3972a787df5ec253b99b148385655e7b68d851fa

14 years agoHave NEAR queries use incremental merging. Fix issues surrounding the deferred token...
dan [Tue, 7 Jun 2011 18:35:45 +0000 (18:35 +0000)] 
Have NEAR queries use incremental merging. Fix issues surrounding the deferred token optimization.

FossilOrigin-Name: 9d10a6846b12a9cc8fd4fdc3affd931a27218b5a

14 years agoFix a comment type on the description of the Schema object.
drh [Tue, 7 Jun 2011 18:31:14 +0000 (18:31 +0000)] 
Fix a comment type on the description of the Schema object.

FossilOrigin-Name: 095cd9a6ec175b703ff3fcafeffb3349f21bd831

14 years agoMerge the latest trunk changes into the fts3-prefix-search branch.
drh [Mon, 6 Jun 2011 18:14:25 +0000 (18:14 +0000)] 
Merge the latest trunk changes into the fts3-prefix-search branch.

FossilOrigin-Name: 567dd84359218245d4e6887547e2a48881f2c8e0

14 years agoModify fts3rnd.test to run tests for both "ORDER BY docid ASC" and "ORDER BY docid...
dan [Mon, 6 Jun 2011 14:51:50 +0000 (14:51 +0000)] 
Modify fts3rnd.test to run tests for both "ORDER BY docid ASC" and "ORDER BY docid DESC" with both order=ASC and order=DESC FTS tables. Fixes for some bugs found.

FossilOrigin-Name: 89f2f482e077241ac29a58eadf44a72a9c01f98c

14 years agoAdd assert() statements to verify that u16 pointers associated with
drh [Mon, 6 Jun 2011 13:38:11 +0000 (13:38 +0000)] 
Add assert() statements to verify that u16 pointers associated with
the enhancement in [897f56a158] are always 2-byte aligned.

FossilOrigin-Name: 98ccfa930e8e5f10808a518e3e22e85e8a8a65c2

14 years agoClean up the code for processing FTS4 options a bit.
dan [Mon, 6 Jun 2011 06:55:38 +0000 (06:55 +0000)] 
Clean up the code for processing FTS4 options a bit.

FossilOrigin-Name: 0425138a2365d23b07d88fda2b1f458f112f389d

14 years agoRemove some unreachable code.
dan [Sat, 4 Jun 2011 20:13:24 +0000 (20:13 +0000)] 
Remove some unreachable code.

FossilOrigin-Name: 650e1a79eda5a2134a1fbd305ab1f205a57c0892

14 years agoAllow the "order=DESC" and "order=ASC" parameters in FTS4 "CREATE VIRTUAL TABLE"...
dan [Sat, 4 Jun 2011 20:04:35 +0000 (20:04 +0000)] 
Allow the "order=DESC" and "order=ASC" parameters in FTS4 "CREATE VIRTUAL TABLE" statements. Tables created with "order=DESC" store all doclists in descending order, which allows optimizations normally applied to "ORDER BY docid ASC" queries to be used with "ORDER BY docid DESC" queries instead.

FossilOrigin-Name: f6a0193f5a32603eb48bddc6297042dbd2ffe96e

14 years agoPerformance improvement to the btree search routine.
drh [Sat, 4 Jun 2011 01:43:53 +0000 (01:43 +0000)] 
Performance improvement to the btree search routine.

FossilOrigin-Name: 65db822f200bafe9abe59b33b17b2c643c17c5e8

14 years agoPerformance improvements on memory copies inside of btree by moving 2 bytes
drh [Fri, 3 Jun 2011 23:28:33 +0000 (23:28 +0000)] 
Performance improvements on memory copies inside of btree by moving 2 bytes
at a time instead of just 1 byte at a time.

FossilOrigin-Name: 897f56a158ebe62758c9998e4941ae046c75fb99

14 years agoPerformance enhancement to the blob-literal tokenizer.
drh [Fri, 3 Jun 2011 21:34:45 +0000 (21:34 +0000)] 
Performance enhancement to the blob-literal tokenizer.

FossilOrigin-Name: 61aa2031f1c5ae05e31077588a55194a9546262a

14 years agoCreate and use a function especially for adding the ParseSchema opcode.
drh [Fri, 3 Jun 2011 20:11:17 +0000 (20:11 +0000)] 
Create and use a function especially for adding the ParseSchema opcode.
This gives a small reduction in code and a small performance increase.

FossilOrigin-Name: 957b2ab67c6185f0e1062593d237de5c434a38bf

14 years agoFTS changes: Remove unreachable code. Fix bugs. When processing a large doclist incre...
dan [Fri, 3 Jun 2011 18:00:19 +0000 (18:00 +0000)] 
FTS changes: Remove unreachable code. Fix bugs. When processing a large doclist incrementally, read from disk incrementally too.

FossilOrigin-Name: a4c7e2820824e82580730c36f85aede2efa66754

14 years agoFactor an "if" out of a loop in balance_nonroot() for about a 1% performance
drh [Fri, 3 Jun 2011 17:50:49 +0000 (17:50 +0000)] 
Factor an "if" out of a loop in balance_nonroot() for about a 1% performance
increase.

FossilOrigin-Name: 1bd72d0c616e20fdb395c72ecd96579090ae26cb

14 years agoHush some harmless compiler warnings in the URI parsing logic.
drh [Fri, 3 Jun 2011 14:19:10 +0000 (14:19 +0000)] 
Hush some harmless compiler warnings in the URI parsing logic.

FossilOrigin-Name: 0206bc6f87bb9393218a380fc5b18039d334a8d8

14 years agoInclude more detailed version information in the command-line shell output.
drh [Fri, 3 Jun 2011 13:28:22 +0000 (13:28 +0000)] 
Include more detailed version information in the command-line shell output.

FossilOrigin-Name: 049c3c42fdefea8de7ec7008871963e37ce2d7bc

14 years agoAdd shell scripts used for testing compiler warnings (tool/warnings.sh),
drh [Fri, 3 Jun 2011 13:06:50 +0000 (13:06 +0000)] 
Add shell scripts used for testing compiler warnings (tool/warnings.sh),
for verifying that the library exports the correct symbols (tool/symbols.sh),
and to demonstrate building a full-featured command-line shell
(tool/build-shell.sh).

FossilOrigin-Name: 3aca9a92c8b29bb43f65f93593ba4defd65139dc