]> git.ipfire.org Git - thirdparty/sqlite.git/log
thirdparty/sqlite.git
13 years agoIf SQLITE_DISABLE_FTS3_UNICODE is defined, do not build the "unicode61" tokenizer. fts4-unicode
dan [Sat, 26 May 2012 18:28:14 +0000 (18:28 +0000)] 
If SQLITE_DISABLE_FTS3_UNICODE is defined, do not build the "unicode61" tokenizer.

FossilOrigin-Name: e71495a817b479bc23c5403d99255e3f098eb054

13 years agoChange the format of the tables used by sqlite3FtsUnicodeTolower() to make them a...
dan [Sat, 26 May 2012 17:57:02 +0000 (17:57 +0000)] 
Change the format of the tables used by sqlite3FtsUnicodeTolower() to make them a little smaller.

FossilOrigin-Name: b89d3834f6690073fca0fc22c18afa1fb280ea7d

13 years agoAdd coverage tests for fts3_unicode.c.
dan [Sat, 26 May 2012 16:22:56 +0000 (16:22 +0000)] 
Add coverage tests for fts3_unicode.c.

FossilOrigin-Name: 07d3ea8a3cb179fab6c48934fc6751f53b507d36

13 years agoAdd fault-injection tests that use the unicode61 tokenizer. Fix a problem revealed...
dan [Sat, 26 May 2012 15:44:08 +0000 (15:44 +0000)] 
Add fault-injection tests that use the unicode61 tokenizer. Fix a problem revealed by the same.

FossilOrigin-Name: ed28c48a3dd7e766e60db0d96ef5460bf9913e6b

13 years agoChange the name of the "unicode" tokenizer to "unicode61" to emphasize that the case...
dan [Sat, 26 May 2012 14:54:50 +0000 (14:54 +0000)] 
Change the name of the "unicode" tokenizer to "unicode61" to emphasize that the case folding and separator-character identification routines are based on unicode version 6.1.

FossilOrigin-Name: 8f3e60aa2253f21bcee5d03982cfdd7f16c00060

13 years agoAdd special fast paths to sqlite3FtsUnicodeTolower() and Isalnum() for codepoints...
dan [Fri, 25 May 2012 19:50:12 +0000 (19:50 +0000)] 
Add special fast paths to sqlite3FtsUnicodeTolower() and Isalnum() for codepoints in the ASCII range.

FossilOrigin-Name: cf7b25d47687635a04f4347d45f135c686b9d758

13 years agoFix comments in generated file fts3_unicode2.c.
dan [Fri, 25 May 2012 18:48:48 +0000 (18:48 +0000)] 
Fix comments in generated file fts3_unicode2.c.

FossilOrigin-Name: 3dc567ef4702d9a63d78d11ff705cb7f7359f7a6

13 years agoAdd an experimental tokenizer to fts4 - "unicode". This tokenizer works in the same...
dan [Fri, 25 May 2012 17:50:19 +0000 (17:50 +0000)] 
Add an experimental tokenizer to fts4 - "unicode". This tokenizer works in the same way except that it understands unicode "simple case folding" and recognizes all characters not classified as "Letters" or "Numbers" by unicode as token separators.

FossilOrigin-Name: 0c13570ec78c6887103dc99b81b470829fa28385

13 years agoVersion 3.7.12.1 version-3.7.12.1
drh [Tue, 22 May 2012 02:45:53 +0000 (02:45 +0000)] 
Version 3.7.12.1

FossilOrigin-Name: 6d326d44fd1d626aae0e8456e5fa2049f1ce0789

13 years agoIncrease the version number to 3.7.12.1. Minor changes to test scripts.
drh [Mon, 21 May 2012 22:45:35 +0000 (22:45 +0000)] 
Increase the version number to 3.7.12.1.  Minor changes to test scripts.

FossilOrigin-Name: 5519cc5ef471e32a59995a34be811b46478dca1e

13 years agoMerge the nested aggregate query fix (ticket [c2ad16f997ee9c8ed]) unto trunk.
drh [Mon, 21 May 2012 21:26:17 +0000 (21:26 +0000)] 
Merge the nested aggregate query fix (ticket [c2ad16f997ee9c8ed]) unto trunk.

FossilOrigin-Name: e459c3360ba2543e52b5736d7a84f1ce67388d5c

13 years agoMark and always-true conditional as such. Add the fuzz-oss1.test test module.
drh [Mon, 21 May 2012 21:20:57 +0000 (21:20 +0000)] 
Mark and always-true conditional as such.  Add the fuzz-oss1.test test module.

FossilOrigin-Name: bdc01fd0fa0c15efbb32bf18527c71e3e4dc48ed

13 years agoCandidate fix for the nested aggregate query problem of ticket
drh [Mon, 21 May 2012 20:13:39 +0000 (20:13 +0000)] 
Candidate fix for the nested aggregate query problem of ticket
[c2ad16f997ee9c8e].

FossilOrigin-Name: f3dd1fafd4718558de1f06139419a8c560d727f5

13 years agoConvert the NameContext object from using u8 booleans to using individual
drh [Mon, 21 May 2012 19:11:25 +0000 (19:11 +0000)] 
Convert the NameContext object from using u8 booleans to using individual
bits in a single u8 as its booleans.  This change might become a basis for
a fix for [c2ad16f997ee9c].

FossilOrigin-Name: 722260969306778029b738402f22e3c154dd77a1

13 years agoMake sure lookaside memory allocations are unusable after they are freed.
drh [Mon, 21 May 2012 16:59:16 +0000 (16:59 +0000)] 
Make sure lookaside memory allocations are unusable after they are freed.

FossilOrigin-Name: 3869aef6348018f584137f36f6924193a790e52f

13 years agoMove some #defines earlier in the file for test_quota.c in order to avoid
drh [Mon, 21 May 2012 12:25:42 +0000 (12:25 +0000)] 
Move some #defines earlier in the file for test_quota.c in order to avoid
a use before definition.

FossilOrigin-Name: fda1ea0bee0fe283e0ed5710058fdfc403519bac

13 years agoAllow the sqlite3ExplainBegin function to be compiled by MSVC.
mistachkin [Mon, 21 May 2012 05:02:22 +0000 (05:02 +0000)] 
Allow the sqlite3ExplainBegin function to be compiled by MSVC.

FossilOrigin-Name: 18555128f59b59d8c67446cd778ece9a181b30a5

13 years agoChange the ".schema" command of the shell to output VIEWs in declared order,
drh [Mon, 21 May 2012 03:15:06 +0000 (03:15 +0000)] 
Change the ".schema" command of the shell to output VIEWs in declared order,
rather than alphabetical order, so that nested views will appear in the
correct order.  Fix for ticket [cfe84e86839e59e8].

FossilOrigin-Name: e092ff69e25363f97495adc622f4250041ca9708

13 years agoFix a test case so that it works even with very long pathnames.
drh [Sun, 20 May 2012 20:23:19 +0000 (20:23 +0000)] 
Fix a test case so that it works even with very long pathnames.

FossilOrigin-Name: ecd4a0635909a0127ed7b802af9ea9041e56ddf1

13 years agoFix a test case in the shell1.test script so that it works even for very
drh [Sun, 20 May 2012 20:14:18 +0000 (20:14 +0000)] 
Fix a test case in the shell1.test script so that it works even for very
long pathnames.

FossilOrigin-Name: 0c0a03987cc144fa017b0a0f9cf45c36e74fbd9f

13 years agoAdd assert()s to verify that Table objects in the schema never use
drh [Tue, 15 May 2012 12:49:32 +0000 (12:49 +0000)] 
Add assert()s to verify that Table objects in the schema never use
lookaside memory.

FossilOrigin-Name: 736d6ea677f58e4aa2914fa79a3156b775c5a3f5

13 years agoAdd an assert() that verifies that the statement pointer from
drh [Mon, 14 May 2012 12:20:54 +0000 (12:20 +0000)] 
Add an assert() that verifies that the statement pointer from
the sqlite3_prepare() family of functions is always NULL if the routines
return other than SQLITE_OK.

FossilOrigin-Name: 0bb1cfc63f982db7b29c8e6be6698a6dad100f70

13 years agoVersion 3.7.12 version-3.7.12
drh [Mon, 14 May 2012 01:41:23 +0000 (01:41 +0000)] 
Version 3.7.12

FossilOrigin-Name: 8654aa9540fe9fd210899d83d17f3f407096c004

13 years agoFix a typo in a comment which is used to generate documentation. No changes
drh [Sat, 12 May 2012 22:36:03 +0000 (22:36 +0000)] 
Fix a typo in a comment which is used to generate documentation.  No changes
to code.

FossilOrigin-Name: af525b5d25b5dee20528acc8321b8c6ca9aa98ae

13 years agoParser bug fix: Make sure the table constraints allowed by prior releases
drh [Sat, 12 May 2012 18:29:53 +0000 (18:29 +0000)] 
Parser bug fix:  Make sure the table constraints allowed by prior releases
can still be parsed, even if they are technically not allowed by the
syntax diagram.

FossilOrigin-Name: e536ac041815b118c461ceee798f9b7283269f58

13 years agoBefore running each test script, make sure the FTS enhanced query syntax is disabled.
dan [Sat, 12 May 2012 05:30:29 +0000 (05:30 +0000)] 
Before running each test script, make sure the FTS enhanced query syntax is disabled.

FossilOrigin-Name: f84d87bcc0e4f6f56d01556b2b1dc27ebef9ce26

13 years agoUse the regexp result option for a test case in shell1.test.
drh [Sat, 12 May 2012 01:14:27 +0000 (01:14 +0000)] 
Use the regexp result option for a test case in shell1.test.

FossilOrigin-Name: 93061c6e063fddfa6b5d21064a36b58cc97599f1

13 years agoAdjust some of the pager tests to accommodate longer database pathnames.
drh [Fri, 11 May 2012 23:03:44 +0000 (23:03 +0000)] 
Adjust some of the pager tests to accommodate longer database pathnames.

FossilOrigin-Name: 22eef1d8a81ea95612f7973e242fa333c51ae399

13 years agoFix the wal2.test script so that it works on big-endian machines.
drh [Fri, 11 May 2012 23:01:33 +0000 (23:01 +0000)] 
Fix the wal2.test script so that it works on big-endian machines.

FossilOrigin-Name: c4ab72f75090a420f73b85334b4c42a85af951a5

13 years agoFix a bug in the wal.test script so that it works on big-endian systems.
drh [Fri, 11 May 2012 20:43:47 +0000 (20:43 +0000)] 
Fix a bug in the wal.test script so that it works on big-endian systems.

FossilOrigin-Name: 40fe9088fb73eee7b37b574a1dda422266a58638

13 years agoFix a harmless compiler warning inside an assert() statement within test code.
drh [Fri, 11 May 2012 15:53:18 +0000 (15:53 +0000)] 
Fix a harmless compiler warning inside an assert() statement within test code.

FossilOrigin-Name: e68a3527decb434e8d0ac6b23a3cedba5992cedd

13 years agoFix an evidence-mark typo in the comments of sqlite3.h. No changes to code.
drh [Fri, 11 May 2012 15:31:47 +0000 (15:31 +0000)] 
Fix an evidence-mark typo in the comments of sqlite3.h.  No changes to code.

FossilOrigin-Name: 2b074085911d066a4411e46ce8e26a9d08cc0ce3

13 years agoFix a harmless compiler warning.
drh [Fri, 11 May 2012 11:28:40 +0000 (11:28 +0000)] 
Fix a harmless compiler warning.

FossilOrigin-Name: 2b77301b9613c7caa02147095d728fd5b65dd120

13 years agoHave the FTS auxiliary functions correctly handle terms that appear in non-matching...
dan [Thu, 10 May 2012 17:43:14 +0000 (17:43 +0000)] 
Have the FTS auxiliary functions correctly handle terms that appear in non-matching branches of the FTS expression. Fix for [bdc6bbbb38].

FossilOrigin-Name: 4d3e1673b309a3d6a6cac01d67dfd79a8007f991

13 years agoFurther changes to constraint parsing to support legacy syntax.
drh [Tue, 8 May 2012 11:17:33 +0000 (11:17 +0000)] 
Further changes to constraint parsing to support legacy syntax.

FossilOrigin-Name: 38bf90af1ede6ee64ef7be66392e895e60c9126e

13 years agoAdjust the parser so that certain legacy schema constructs (that are not
drh [Mon, 7 May 2012 19:21:36 +0000 (19:21 +0000)] 
Adjust the parser so that certain legacy schema constructs (that are not
valid according to the syntax diagram) continue to be accepted, so that
older databases that happen to use those constructs are still readable.
This fixes an issue introduced by check-in [1b75f301affac6]

FossilOrigin-Name: a1c014d8a87c8940b3a037d8d8cc4d5678809802

13 years agoMerge Windows directory checking changes to trunk.
mistachkin [Mon, 7 May 2012 18:10:12 +0000 (18:10 +0000)] 
Merge Windows directory checking changes to trunk.

FossilOrigin-Name: a4555a53eab3f5d2f142c78a6b71189544e80ae6

13 years agoSimplify directory checking for winOpen and add checking to winDelete. win-check-dir
mistachkin [Mon, 7 May 2012 17:16:07 +0000 (17:16 +0000)] 
Simplify directory checking for winOpen and add checking to winDelete.

FossilOrigin-Name: b08530e1a02cba03afefd65dc101e074e8847c07

13 years agoDo not do the AV retry loop on open if the file that is attempting to be
drh [Mon, 7 May 2012 13:15:20 +0000 (13:15 +0000)] 
Do not do the AV retry loop on open if the file that is attempting to be
opened is really a directory.

FossilOrigin-Name: 03875633f465e82fbe99829f96db25f6d32bd333

13 years agoUpdate a test in io.test to account for [05f98d4eec].
dan [Tue, 1 May 2012 14:21:57 +0000 (14:21 +0000)] 
Update a test in io.test to account for [05f98d4eec].

FossilOrigin-Name: bfa61e781cb442be641486e7e55a1518e888d830

13 years agoFix a minor deviation from the coding style guidelines.
drh [Fri, 27 Apr 2012 16:38:11 +0000 (16:38 +0000)] 
Fix a minor deviation from the coding style guidelines.

FossilOrigin-Name: 1e51bffe777587cd05bd7db5e02d6291c3eb8c1a

13 years agoEnhance the processing of ORDER BY clauses on compound queries to better
drh [Fri, 27 Apr 2012 01:09:06 +0000 (01:09 +0000)] 
Enhance the processing of ORDER BY clauses on compound queries to better
match terms of the order by against expressions in the result set, in order
to enable better query optimization.

FossilOrigin-Name: a49e909c8738317c8383ce93771c0a9c4cf270bc

13 years agoEnhance the do_test proc in the test suite so that if the expected result
drh [Fri, 27 Apr 2012 01:08:02 +0000 (01:08 +0000)] 
Enhance the do_test proc in the test suite so that if the expected result
is of the form "/.../" or "~/.../" then regular expression matching is done
between result and the "..." part of the expectation.  In the ~/.../ case,
we expect there to be no match.

FossilOrigin-Name: c9a734406c016329e80d887f7438206e41c52ce7

13 years agoAll virtual table constructors to be invoked recursively. A test case for
drh [Thu, 26 Apr 2012 22:47:20 +0000 (22:47 +0000)] 
All virtual table constructors to be invoked recursively.  A test case for
this has been added to TH3.

FossilOrigin-Name: 696a5a40bb28c4a54c9951f877b67015dc00bf55

13 years agoNew test cases for the ".dump" and ".mode insert" commands of the shell.
drh [Tue, 24 Apr 2012 13:14:49 +0000 (13:14 +0000)] 
New test cases for the ".dump" and ".mode insert" commands of the shell.

FossilOrigin-Name: dfce8569765614462a3952d1761c10d579984665

13 years agoMove the shell test scripts into the test/ subfolder so that they are
drh [Tue, 24 Apr 2012 12:46:05 +0000 (12:46 +0000)] 
Move the shell test scripts into the test/ subfolder so that they are
run automatically by "make test".

FossilOrigin-Name: 9fb7da6904e479f4671eeebf1a4b7e4e4e4f2b7b

13 years agoFix a sign-extension problem for BLOB output in ".insert" mode of the
drh [Tue, 24 Apr 2012 12:12:57 +0000 (12:12 +0000)] 
Fix a sign-extension problem for BLOB output in ".insert" mode of the
command-line shell.

FossilOrigin-Name: 282f2a74c23aa3fca6087bdeaf5d961b4f5bbe47

13 years agoUpdate the ".table" command in the shell to show all tables in all
drh [Mon, 23 Apr 2012 12:38:05 +0000 (12:38 +0000)] 
Update the ".table" command in the shell to show all tables in all
attached databases, and to avoid using the deprecated sqlite3_get_table()
function.

FossilOrigin-Name: ce2d06e2533763a8008e7a405630293d8f9a3108

13 years agoIf terminating interactive input to the command-line shell with ^D, issue
drh [Sat, 21 Apr 2012 11:33:39 +0000 (11:33 +0000)] 
If terminating interactive input to the command-line shell with ^D, issue
an extra \n to move the cursor to the next line before exiting.

FossilOrigin-Name: feff1ef0b8f7b51ae80a9d34380b46a5103bf6cd

13 years agoDo not consider a DISTINCT clause redundant unless a subset of the result-set is...
dan [Fri, 20 Apr 2012 16:59:24 +0000 (16:59 +0000)] 
Do not consider a DISTINCT clause redundant unless a subset of the result-set is collectively subject to a UNIQUE constraint and it can be guaranteed that all columns of the subset are NOT NULL (either due to NOT NULL constraints WHERE clause terms). Fix for [385a5b56b9].

FossilOrigin-Name: 7b8548b1872cc1225355ba8311e93dd08d6526e2

13 years agoFix for 2a5629202f. When considering whether or not a UNIQUE index may be used to...
dan [Fri, 20 Apr 2012 15:24:53 +0000 (15:24 +0000)] 
Fix for 2a5629202f. When considering whether or not a UNIQUE index may be used to optimize an ORDER BY clause, do not assume that all index entries are distinct unless there is some reason to believe that the index contains no NULL values.

FossilOrigin-Name: 9870e4c4fef10112c987c40cb1b95255a7214202

13 years agoRemove obsolete art.
drh [Fri, 20 Apr 2012 12:02:32 +0000 (12:02 +0000)] 
Remove obsolete art.

FossilOrigin-Name: 372a90e2264a29ce543c093766cdec764d18b5a5

13 years agoFix harmless compiler warnings on x64 MSVC, mostly in test code, but also in
drh [Thu, 19 Apr 2012 18:04:28 +0000 (18:04 +0000)] 
Fix harmless compiler warnings on x64 MSVC, mostly in test code, but also in
tclsqlite.c and in the FTS4 module.

FossilOrigin-Name: 3281972eaa46cb57fd9f0387063f47430dc0a3b4

13 years agoFix a harmless compiler warning in tclsqlite.c for MSVC x64. Fix a test
drh [Thu, 19 Apr 2012 17:19:51 +0000 (17:19 +0000)] 
Fix a harmless compiler warning in tclsqlite.c for MSVC x64.  Fix a test
case associated with the FTS4 merge feature.

FossilOrigin-Name: de3f7187eb2ff24683a1854ae523e7d30c290893

13 years agoFix harmless compiler warnings (unused parameter warnings) in the aggregate
drh [Thu, 19 Apr 2012 15:49:19 +0000 (15:49 +0000)] 
Fix harmless compiler warnings (unused parameter warnings) in the aggregate
query analyzer.

FossilOrigin-Name: 2d43562084316ec180a4c2cfc3fee08d58432204

13 years agoFix a harmless compiler warning in the mkkeywordhash.c utility program.
drh [Wed, 18 Apr 2012 10:13:20 +0000 (10:13 +0000)] 
Fix a harmless compiler warning in the mkkeywordhash.c utility program.

FossilOrigin-Name: 6015200beb3be7ec141ce36de694278e3ba11a02

13 years agoFix a typecast problem in lemon that could cause problems on 64-bit machines.
drh [Wed, 18 Apr 2012 09:59:56 +0000 (09:59 +0000)] 
Fix a typecast problem in lemon that could cause problems on 64-bit machines.

FossilOrigin-Name: 4a5641cc0aa4c49762f4fe73dab4a6612631c0d2

13 years agoImproved handling of aggregate subqueries within an aggregate query.
drh [Tue, 17 Apr 2012 16:38:53 +0000 (16:38 +0000)] 
Improved handling of aggregate subqueries within an aggregate query.

FossilOrigin-Name: 430bb59d798286a86c351de92c429345f016b3f0

13 years agoAdd an undocumented and possibly ephemeral ".breakpoint" command to the
drh [Tue, 17 Apr 2012 09:09:33 +0000 (09:09 +0000)] 
Add an undocumented and possibly ephemeral ".breakpoint" command to the
command-line shell, to call a no-op routine on which it is convenient to
set a symbolic debugger breakpoint.

FossilOrigin-Name: 8e2363ad76446e863d03ead91fd621e59d5cb495

13 years agoFix a bug in the command-line shell logic that attempts to continue with a
drh [Mon, 16 Apr 2012 17:22:30 +0000 (17:22 +0000)] 
Fix a bug in the command-line shell logic that attempts to continue with a
".dump" even after encountering database corruption.

FossilOrigin-Name: 020b5e90f950a42299074ff770612b9e68850d95

13 years agoIn the unix VFS, always set every open file to close-on-exec using either
drh [Sat, 14 Apr 2012 13:25:11 +0000 (13:25 +0000)] 
In the unix VFS, always set every open file to close-on-exec using either
O_CLOEXEC at open (preferred) or FD_CLOEXEC in an ioctl after opening.  Before
this changes, many files were done this way, but not all.

FossilOrigin-Name: 9efbeb11ae0d480a13ff1353820c12f3a8bff452

13 years agoFix a typo in a comment that is extracted for documentation. No changes to
drh [Sat, 14 Apr 2012 11:48:25 +0000 (11:48 +0000)] 
Fix a typo in a comment that is extracted for documentation.  No changes to
code.

FossilOrigin-Name: e87371c5081ce28431a4c7ceaa81ff966a378c66

13 years agoAdd a testcase() macro to ensure that the sqlite3AuthCheck() call inside
drh [Wed, 11 Apr 2012 23:22:37 +0000 (23:22 +0000)] 
Add a testcase() macro to ensure that the sqlite3AuthCheck() call inside
the query flattener really is effective.

FossilOrigin-Name: a134e6e739cbb27701b092b33033244feb164cdf

13 years agoFix harmless static-analysis warnings, mosting having to do with memory
drh [Wed, 11 Apr 2012 11:38:53 +0000 (11:38 +0000)] 
Fix harmless static-analysis warnings, mosting having to do with memory
leaks in the command-line shell.  Add a clang analysis of the command-line
shell to the "warnings-clang.sh" script.  Other minor cleanups to the
command-line shell code.

FossilOrigin-Name: 93a0f452a7023898ad3d62ee81b39a80477c332f

13 years agoAdd new interfaces to the test_quota.c module: sqlite3_quota_ftruncate(),
drh [Tue, 10 Apr 2012 17:53:47 +0000 (17:53 +0000)] 
Add new interfaces to the test_quota.c module:  sqlite3_quota_ftruncate(),
sqlite3_quota_file_size(), sqlite3_quota_file_truesize(), and
sqlite3_quota_file_mtime().

FossilOrigin-Name: 2fa9f54309aea9927fb3695a986febd4963df7d1

13 years agoFix a copy/paste error in a comment in the fuzzer. No changes to code.
drh [Tue, 10 Apr 2012 16:05:27 +0000 (16:05 +0000)] 
Fix a copy/paste error in a comment in the fuzzer.  No changes to code.

FossilOrigin-Name: 7433f2b5508ebf09d0e3e32a995f1126eaab8999

13 years agoFix the application-defined function logic so that functions with a variable
drh [Sat, 7 Apr 2012 00:09:21 +0000 (00:09 +0000)] 
Fix the application-defined function logic so that functions with a variable
number of parameters can be replaced or deleted correctly.  Also refactor
some of the function-finder code for clarity of presentation.

FossilOrigin-Name: 09d5581c81fb6a9bf6a369d0abf5ef6b54637576

13 years agoUpdate sqlite3_analyzer to correctly find all database files when the
drh [Fri, 6 Apr 2012 00:09:27 +0000 (00:09 +0000)] 
Update sqlite3_analyzer to correctly find all database files when the
multiplexor is being used.

FossilOrigin-Name: 1bfc30cb0fdc4b9def989eea2d78f6ac851633fa

13 years agoIgnore the value of SQLITE_FCNTL_CHUNK_SIZE if it is negative.
drh [Thu, 5 Apr 2012 20:04:39 +0000 (20:04 +0000)] 
Ignore the value of SQLITE_FCNTL_CHUNK_SIZE if it is negative.

FossilOrigin-Name: 1b08fef9451f4d59148548faed115d1a5d0bcd98

13 years agoPerformance improvements for the RowSet object when it undergoes many
drh [Thu, 5 Apr 2012 01:37:32 +0000 (01:37 +0000)] 
Performance improvements for the RowSet object when it undergoes many
cycles between RowSetInsert and RowSetTest.

FossilOrigin-Name: 49d20ede5f4c0895a165126d5cf7c95a0510ba35

13 years agoAdd the ".trace" option to the command-line shell.
drh [Wed, 4 Apr 2012 16:56:23 +0000 (16:56 +0000)] 
Add the ".trace" option to the command-line shell.

FossilOrigin-Name: b9ac3d7e340eb616fd23cc7dbdef6fdd66a79fe4

13 years agoFix the multiplexor logging so that it works with SQLITE_ENABLE_8_3_NAMES.
drh [Wed, 4 Apr 2012 13:58:19 +0000 (13:58 +0000)] 
Fix the multiplexor logging so that it works with SQLITE_ENABLE_8_3_NAMES.

FossilOrigin-Name: 9e1e2fe2950bb96784413eae934314d95bce08e7

13 years agoIn the multiplexor extension, improve the error logging when a chunk fails
drh [Wed, 4 Apr 2012 13:43:13 +0000 (13:43 +0000)] 
In the multiplexor extension, improve the error logging when a chunk fails
to open.

FossilOrigin-Name: 781453c686656a7bd4a274a3b3204ceb6ecae8df

13 years agoDo not run attempt to run test file fts4merge3.test unless the build includes FTS.
dan [Tue, 3 Apr 2012 18:34:24 +0000 (18:34 +0000)] 
Do not run attempt to run test file fts4merge3.test unless the build includes FTS.

FossilOrigin-Name: 0506bf86d31e821a905e3a8a03c4817e326f7f44

13 years agoModify capi3.test and capi3c.test so that they work with SQLITE_OMIT_AUTORESET builds.
dan [Tue, 3 Apr 2012 18:33:43 +0000 (18:33 +0000)] 
Modify capi3.test and capi3c.test so that they work with SQLITE_OMIT_AUTORESET builds.

FossilOrigin-Name: 1d5e744cc645150ccaa7256663146fc7b8540bd5

13 years agoModify the integrity-check code to reduce the size of the large allocation from 4...
dan [Tue, 3 Apr 2012 17:43:28 +0000 (17:43 +0000)] 
Modify the integrity-check code to reduce the size of the large allocation from 4 bytes to 1 bit for each page in the database file.

FossilOrigin-Name: fa3a498dfe9ed59c30da5eaa0d7cad167fd4e393

13 years agoFix a typo in the rtree6.test script that prevented it from running.
drh [Tue, 3 Apr 2012 17:05:16 +0000 (17:05 +0000)] 
Fix a typo in the rtree6.test script that prevented it from running.

FossilOrigin-Name: 221fe4a8ea5bea90031e459746ea71ff173e6f52

13 years agoRerun autoconf to update the configure script for version 3.7.12
drh [Tue, 3 Apr 2012 17:01:36 +0000 (17:01 +0000)] 
Rerun autoconf to update the configure script for version 3.7.12

FossilOrigin-Name: 6d73eb20e825f51143a1b59ad33f44e6448ef760

13 years agoIf the SELECT that finds all root pages in the showdb fails, then report
drh [Tue, 3 Apr 2012 15:10:34 +0000 (15:10 +0000)] 
If the SELECT that finds all root pages in the showdb fails, then report
an error.

FossilOrigin-Name: 4b16141501655faa23e7d34ad05570ea929abb7c

13 years agoEnhance the "showdb" utility program with the "pgidx" option. Now requires
drh [Tue, 3 Apr 2012 14:59:50 +0000 (14:59 +0000)] 
Enhance the "showdb" utility program with the "pgidx" option.  Now requires
linkage with the amalgamation.

FossilOrigin-Name: 4b5737014c6f1638de9dc162463508ea7dfe333d

13 years agoThe SQLITE_RTREE_INT_ONLY compile-time option causes the RTree extension
drh [Mon, 2 Apr 2012 21:35:42 +0000 (21:35 +0000)] 
The SQLITE_RTREE_INT_ONLY compile-time option causes the RTree extension
to use only integer math and store only integer coordinates.

FossilOrigin-Name: 02b7640f5118e0a635b68f65765191bb3171b7bd

13 years agoAdd #ifdefs to allow a test build to succeed even if SQLITE_ENABLE_FTS3 is
drh [Mon, 2 Apr 2012 17:18:23 +0000 (17:18 +0000)] 
Add #ifdefs to allow a test build to succeed even if SQLITE_ENABLE_FTS3 is
not defined.

FossilOrigin-Name: fb121980e48af368353431fd04924e414b65c852

13 years agoFix a compiler warning by removing a redundant variable.
drh [Sat, 31 Mar 2012 19:12:23 +0000 (19:12 +0000)] 
Fix a compiler warning by removing a redundant variable.

FossilOrigin-Name: af602d87736b52802a4e760ffeeaa28112b99d9a

13 years agoTest cases for RELEASE and ROLLBACK TO of a nested savepoint while queries
drh [Sat, 31 Mar 2012 17:50:12 +0000 (17:50 +0000)] 
Test cases for RELEASE and ROLLBACK TO of a nested savepoint while queries
are pending.

FossilOrigin-Name: d2bf0efa7da59448a62f5be795403be4e5b7fb7f

13 years agoDo not abort pending queries on a RELEASE of a nested SAVEPOINT.
drh [Sat, 31 Mar 2012 17:17:26 +0000 (17:17 +0000)] 
Do not abort pending queries on a RELEASE of a nested SAVEPOINT.
This is a candidate fix for ticket [27ca74af3c083f787].

FossilOrigin-Name: 79a4a3a84f0b367d54da5e69e64ffca474264717

13 years agoModify selectColumnsFromExprList() to avoid ever incorrectly returning SQLITE_NOMEM.
dan [Sat, 31 Mar 2012 15:08:56 +0000 (15:08 +0000)] 
Modify selectColumnsFromExprList() to avoid ever incorrectly returning SQLITE_NOMEM.

FossilOrigin-Name: e7cb6b73ac079d0751b3f9429d0f6a35ca8ec853

13 years agoChange the ICU tokenizer so that it does not attempt to call strlen(NULL).
dan [Sat, 31 Mar 2012 11:58:23 +0000 (11:58 +0000)] 
Change the ICU tokenizer so that it does not attempt to call strlen(NULL).

FossilOrigin-Name: 04298f1ac42c40cb2a48092b415acf96a08954b7

13 years agoFix a bug in the EXPLAIN code for listing trigger programs that was causing an out...
dan [Sat, 31 Mar 2012 09:59:44 +0000 (09:59 +0000)] 
Fix a bug in the EXPLAIN code for listing trigger programs that was causing an out-of-bounds read.

FossilOrigin-Name: c9342ca58105499a5eb61c3e6d016559b6072c95

13 years agoDo more aggressive optimization of the AND operator where one side or the
drh [Sat, 31 Mar 2012 02:34:35 +0000 (02:34 +0000)] 
Do more aggressive optimization of the AND operator where one side or the
other is always false.

FossilOrigin-Name: f9a7e179cbbeeab5e57bbf392bef89750215546b

13 years agoAvoid using the OVERLAPPED struct on WinCE.
mistachkin [Fri, 30 Mar 2012 16:44:33 +0000 (16:44 +0000)] 
Avoid using the OVERLAPPED struct on WinCE.

FossilOrigin-Name: 196ca3a8b007b9f792e969893d981f6c5aa2fccc

13 years agoSimplify the winRead and winWrite VFS functions to reduce the number
drh [Fri, 30 Mar 2012 15:57:45 +0000 (15:57 +0000)] 
Simplify the winRead and winWrite VFS functions to reduce the number
of system calls.

FossilOrigin-Name: b34491869c4fb31d2fdd14c94a7db2e1c0e572ba

13 years agoWhen a named CHECK constraint fails, include the name of the constraint
drh [Fri, 30 Mar 2012 15:48:48 +0000 (15:48 +0000)] 
When a named CHECK constraint fails, include the name of the constraint
in the error message.

FossilOrigin-Name: 1b75f301affac654bee24fa247046ea0782d3c4d

13 years agoFix MSVC compiler warnings in test code.
drh [Fri, 30 Mar 2012 14:59:43 +0000 (14:59 +0000)] 
Fix MSVC compiler warnings in test code.

FossilOrigin-Name: cb7a850439c9a4a7887650d6b81d95ab8025de5b

13 years agoFix an FTS4 test script problem for windows.
drh [Fri, 30 Mar 2012 13:34:17 +0000 (13:34 +0000)] 
Fix an FTS4 test script problem for windows.

FossilOrigin-Name: 36aa6665e709b5942b3558afbd555058b42f2c78

13 years agoChange the name of a local variable from "not" to "bNot" to lessen the
drh [Fri, 30 Mar 2012 12:10:38 +0000 (12:10 +0000)] 
Change the name of a local variable from "not" to "bNot" to lessen the
chances of it colliding with some prior #define in the appliation.

FossilOrigin-Name: cbdd86387630600b309de4aaeaa131ec7b053ce2

13 years agoIn the ".output" command-line shell, if the first character of the output
drh [Fri, 30 Mar 2012 00:05:57 +0000 (00:05 +0000)] 
In the ".output" command-line shell, if the first character of the output
filename is '|' then use popen() instead of fopen().

FossilOrigin-Name: fa82062c659ffbe7ad01106d3ef54d7bb44f1f44

13 years agoFix compiler warnings on GCC and MSVC and fix a C89-ism that
drh [Fri, 30 Mar 2012 00:00:36 +0000 (00:00 +0000)] 
Fix compiler warnings on GCC and MSVC and fix a C89-ism that
broke the build for MSVC.

FossilOrigin-Name: b451c0f97f0abe78ebe6c62ff489ec1ad8a1f767

13 years agoMerge fts4-incr-merge with trunk.
dan [Thu, 29 Mar 2012 15:11:32 +0000 (15:11 +0000)] 
Merge fts4-incr-merge with trunk.

FossilOrigin-Name: 4d6de3e9bef3487f2d89167939ab2c42872d05b3

13 years agoDisable the LIKE optimization if the column on the left-hand-side of the LIKE operato...
dan [Thu, 29 Mar 2012 14:29:07 +0000 (14:29 +0000)] 
Disable the LIKE optimization if the column on the left-hand-side of the LIKE operator belongs to a virtual table.

FossilOrigin-Name: 0bacb879e18026f2a8e22fe3e4bc8d27de5c4416

13 years agoFix an out of date comment on sqlite3ArrayAllocate().
dan [Thu, 29 Mar 2012 07:51:45 +0000 (07:51 +0000)] 
Fix an out of date comment on sqlite3ArrayAllocate().

FossilOrigin-Name: 4afdd5ae53ef0ff7c0fde74eaa04638c923c679b