]>
git.ipfire.org Git - thirdparty/sqlite.git/log
drh [Wed, 17 Feb 2016 12:34:03 +0000 (12:34 +0000)]
More agressive use of /*A-overwrites-X*/ in the parser. Fix an off-by-one
error in parser stack overflow detection.
FossilOrigin-Name:
417e777701bbf4bd67626d4ca3bc2c5d847f6cd0
drh [Wed, 17 Feb 2016 04:33:10 +0000 (04:33 +0000)]
Enhance Lemon so that if reduce code contains a comment of the form
"/*A-overwrites-X*/" then a LHS label A is allowed to overwrite the
RHS label X.
FossilOrigin-Name:
5cfe9545d478a2c500083613dd20e14b2ffce645
drh [Wed, 17 Feb 2016 01:46:19 +0000 (01:46 +0000)]
Further improvements to the Lemon-generated code for yy_reduce().
FossilOrigin-Name:
ef95a7d6490e33a9af4bc7b4b622de7328742ca7
drh [Wed, 17 Feb 2016 01:18:33 +0000 (01:18 +0000)]
In Lemon, add the ability for the left-most RHS label to be the same as the
LHS label, causing the LHS values to be written directly into the stack.
FossilOrigin-Name:
4bb94c7c4c3cb3ccad72c2451d88684130dde845
drh [Tue, 16 Feb 2016 21:19:49 +0000 (21:19 +0000)]
Experimental changes to Lemon for improved parser performance.
FossilOrigin-Name:
a65d583ce97b8c08157268bd054479cda3957a94
drh [Tue, 16 Feb 2016 13:04:19 +0000 (13:04 +0000)]
Minor simplification to the tokenizer. Slightly smaller and faster.
FossilOrigin-Name:
9570b6b43df3bc5ce314cded20bca8be9e968efe
drh [Tue, 16 Feb 2016 01:01:43 +0000 (01:01 +0000)]
Improve the Lemon parser template (lempar.c) so that it avoids unnecessary
work when the grammer defines YYNOERRORRECOVERY (as SQLite does). Slightly
smaller and faster code results.
FossilOrigin-Name:
9235b0cf6a37712ae9e5deeb1e5ee064dd5511fa
drh [Mon, 15 Feb 2016 23:46:36 +0000 (23:46 +0000)]
Fix a harmless compiler warning in FTS5.
FossilOrigin-Name:
e52c90758c53cbb0f74e0d8582e4c3c1bee04150
mistachkin [Mon, 15 Feb 2016 22:37:18 +0000 (22:37 +0000)]
Readability improvements for winRandomness.
FossilOrigin-Name:
1640f814c7a5210f08c81e52e5a3fb89ac26f4d4
mistachkin [Mon, 15 Feb 2016 22:28:50 +0000 (22:28 +0000)]
Fix comment. No changes to code.
FossilOrigin-Name:
2e1f2eff27e25280fe626c07b6260b0a7aa903d3
mistachkin [Mon, 15 Feb 2016 22:01:24 +0000 (22:01 +0000)]
Revise compiler checks for the rand_s() function.
FossilOrigin-Name:
287f508dd6abc1b9ffdbec6a685ebe79eeac992b
drh [Mon, 15 Feb 2016 21:31:51 +0000 (21:31 +0000)]
On windows systems when rand_s() is available, use it to obtain additional
seed material in winRandomness().
FossilOrigin-Name:
139081bef9f63c3ebbe9e992408597b1349bdf37
drh [Mon, 15 Feb 2016 20:41:56 +0000 (20:41 +0000)]
Improved entropy gathering for the implementation of winRandomness().
FossilOrigin-Name:
fea3705e7750d276a8c8300b7a82dfae2d5979c0
drh [Mon, 15 Feb 2016 19:38:17 +0000 (19:38 +0000)]
Add working -q and --help options to testfixture.
FossilOrigin-Name:
404494e52b6385671ccde1c83b7b868986645536
drh [Mon, 15 Feb 2016 18:58:37 +0000 (18:58 +0000)]
In the tool/warning.sh script, disable Android-specific compiler warning tests
when not running on Linux.
FossilOrigin-Name:
153f01a821e9844d0a2e418eb83c60f6c7695c8d
drh [Mon, 15 Feb 2016 18:47:26 +0000 (18:47 +0000)]
Fix harmless compiler warnings previously seen in 64-bit MSVC builds.
FossilOrigin-Name:
7026246300392a83cc23817dbc54c2c66bf1f2b3
drh [Mon, 15 Feb 2016 18:15:15 +0000 (18:15 +0000)]
Add the SQLITE_NOMEM_BKPT macro to enhance the ability to debug OOM errors.
Only effective with compiling with SQLITE_DEBUG.
FossilOrigin-Name:
9b3454762d142113f5923d754ca6bd2edefbd362
drh [Mon, 15 Feb 2016 18:02:13 +0000 (18:02 +0000)]
Minor code simplifications.
FossilOrigin-Name:
c3b38efd50c3c07b6dee5dea4c1f95b37d1c0994
drh [Mon, 15 Feb 2016 17:56:35 +0000 (17:56 +0000)]
Make the application-defined SQL function logic more compact and faster,
especially faster for the case where an application defines thousands of
new SQL functions.
FossilOrigin-Name:
7d49ed32a7262ec95d72ce520ab75402633386a1
drh [Mon, 15 Feb 2016 17:29:24 +0000 (17:29 +0000)]
drh [Mon, 15 Feb 2016 15:06:47 +0000 (15:06 +0000)]
Make sure the codec is invoked when overwriting existing frames of the
WAL file. Yikes!
FossilOrigin-Name:
f694e60a79024967a3f4574e3928f0b28589d381
drh [Mon, 15 Feb 2016 00:34:16 +0000 (00:34 +0000)]
Improvements to the application-defined function mechanism so that it is
more compact and runs faster, especially when the application defines
thousands of new SQL functions.
FossilOrigin-Name:
3201fbcc5105d23132e6b8b7ac825e66af4f8a39
mistachkin [Sun, 14 Feb 2016 00:14:35 +0000 (00:14 +0000)]
mistachkin [Sat, 13 Feb 2016 23:43:46 +0000 (23:43 +0000)]
Enhance ability to debug out-of-memory errors.
FossilOrigin-Name:
6a9c4a3ebfb7cc0738ef6634440ccab44a21ff28
drh [Sat, 13 Feb 2016 18:54:10 +0000 (18:54 +0000)]
Provide Sqlite3_SafeInit() and Sqlite3_SafeUnload() entry points on the TCL
interface, but have the always return TCL_ERROR, because the non-standard
TCL builds on Macs require this.
FossilOrigin-Name:
37ec3015ec95035d31e3672f520908a0d36c9d67
dan [Fri, 12 Feb 2016 18:48:09 +0000 (18:48 +0000)]
Fix a potential buffer overread provoked by invalid utf-8 in fts5.
FossilOrigin-Name:
a049fbbde5da2e43d41aa8c2b41f9eb21507ac76
dan [Fri, 12 Feb 2016 17:56:27 +0000 (17:56 +0000)]
Fix a fairly obscure buffer overread in fts5.
FossilOrigin-Name:
130580207ab5cee762b2893808acef7c8afad027
drh [Fri, 12 Feb 2016 17:30:39 +0000 (17:30 +0000)]
Fix a documentation typo. No changes to code.
FossilOrigin-Name:
d9c985878cf7c74a79ccdb9cf94a2d48fdde3e6f
drh [Fri, 12 Feb 2016 17:27:32 +0000 (17:27 +0000)]
Enhance mptester so that it takes great care to delete its test database
prior to start-up, including checking the return code from unlink() and
retrying after a delay if unlink() fails. Hopefully this will clear
intermittant startup problems on Windows.
FossilOrigin-Name:
6ea84ec1e02f0a48953bc758027ab7148529c36e
mistachkin [Fri, 12 Feb 2016 05:19:29 +0000 (05:19 +0000)]
Naming updates for Universal Windows Platform.
FossilOrigin-Name:
717c1fc41a2246e27b324a4071073c286bac4efc
drh [Fri, 12 Feb 2016 00:13:38 +0000 (00:13 +0000)]
Remove an unused parameter from whereSortingCost().
FossilOrigin-Name:
b5d771991686bf86a679b7dff9f16301a5029c8b
drh [Thu, 11 Feb 2016 22:41:04 +0000 (22:41 +0000)]
Automatically disable FTS3 and FTS4 when building with SQLITE_OMIT_VIRTUALTABLE.
FossilOrigin-Name:
0beb32d20d8dd698138cdb2de6b6056de176754d
mistachkin [Thu, 11 Feb 2016 21:59:02 +0000 (21:59 +0000)]
Enhance the MSVC makefile to enable building 'testfixture' fully from source code.
FossilOrigin-Name:
f183e05990608d1a4002fa8a02c2d2eea6bc94b6
drh [Thu, 11 Feb 2016 21:55:23 +0000 (21:55 +0000)]
Remove the unexplained extra 3.0 cost factor for the B-tree sorting that is
done to implement DISTINCT in the absence of an index to help.
FossilOrigin-Name:
52571991fcfa2629e8a8354e0c9a62e749a092bf
drh [Thu, 11 Feb 2016 21:53:57 +0000 (21:53 +0000)]
Remove the unused fts5BlobCompare() routine.
FossilOrigin-Name:
defc762dd11144402abd591278819768a080d5ea
mistachkin [Thu, 11 Feb 2016 21:38:05 +0000 (21:38 +0000)]
Prevent 'expanded command line X too long' errors during the batch 'for' loops used for copying files.
FossilOrigin-Name:
67ee9b5af10a8b57a37f19ac040e49fdfcec4145
mistachkin [Thu, 11 Feb 2016 21:28:16 +0000 (21:28 +0000)]
Enhance the MSVC makefile to enable building 'testfixture' fully from source code.
FossilOrigin-Name:
54ff3a26bc45a1c3c0690119e8fd00b02e2a16ba
dan [Thu, 11 Feb 2016 18:18:33 +0000 (18:18 +0000)]
Fix another unused variable warning in fts5 code.
FossilOrigin-Name:
61b4c120540afd80a4021b0d3990f13acc38a059
dan [Thu, 11 Feb 2016 18:08:38 +0000 (18:08 +0000)]
Avoid a buffer overread when reading a corrupt fts5 structure record.
FossilOrigin-Name:
facbc424e555061135aced7b134bf6c19f54e484
dan [Thu, 11 Feb 2016 17:01:32 +0000 (17:01 +0000)]
Handle parser stack overflow when parsing fts5 query expressions. Fix some compiler warnings in fts5 code.
FossilOrigin-Name:
bc3f7900d5a06829d123814a5ac7b951bcfc1560
drh [Thu, 11 Feb 2016 15:37:18 +0000 (15:37 +0000)]
Add JSON1 and FTS5 to the set of extensions subject to close compiler warning
analysis. Fix some warnings in each. More (harmless) warnings still exist
in FTS5.
FossilOrigin-Name:
cfe2eb88b504f5e9b1351022036641b1ac4c3e78
drh [Thu, 11 Feb 2016 13:30:36 +0000 (13:30 +0000)]
Minor simplifications deferred to the next release.
FossilOrigin-Name:
a863729ccb75a56330460d3b7d558e639ad733d1
mistachkin [Wed, 10 Feb 2016 21:45:25 +0000 (21:45 +0000)]
In the MSVC makefile, include the working directory so that it can pickup build generated files (e.g. sqlite3.h, etc).
FossilOrigin-Name:
e9e6000bd2f7e0ef85178db2b5b8f20e4cf0093c
drh [Wed, 10 Feb 2016 19:10:50 +0000 (19:10 +0000)]
Add testcase() macros to the CHECK constraint avoidance logic. Avoid creating
an unused VDBE label during CHECK constraint code generation.
FossilOrigin-Name:
970881befd5da6cc837c474d6e917de0bf029350
drh [Wed, 10 Feb 2016 18:24:05 +0000 (18:24 +0000)]
Fix to previous check-in: Make sure CHECK constraints involving the ROWID
are not ignored when the ROWID changes.
FossilOrigin-Name:
7782cb1dd5914b867caf5ff2f0f837407abbfd7a
drh [Wed, 10 Feb 2016 16:52:24 +0000 (16:52 +0000)]
Omit unnecessary CHECK constraints in UPDATE statements, when none of the
columns referenced in the CHECK constraint are modified.
FossilOrigin-Name:
02fbdbc782dd98f080bf4482d820f36c0ef3d519
drh [Wed, 10 Feb 2016 16:03:20 +0000 (16:03 +0000)]
Omit NOT NULL checks on unchanging columns in an UPDATE.
FossilOrigin-Name:
6a3aaedfb41735996470abbae6d3cd1be1f508b3
drh [Wed, 10 Feb 2016 13:36:17 +0000 (13:36 +0000)]
When generating the snapshot-tarball, truncate the date/time in the name to
12 significant digits (YYYYMMDDhhmm) omitting the seconds and fractional
seconds.
FossilOrigin-Name:
604f77754797a4066f6cf275c7bc8a68d2839c2d
drh [Wed, 10 Feb 2016 13:17:14 +0000 (13:17 +0000)]
Updates to the autoconf tarball README.txt file.
FossilOrigin-Name:
a3e911e3aa3e35446bed7f300bfe03f66e1494db
drh [Tue, 9 Feb 2016 22:54:39 +0000 (22:54 +0000)]
Update the snapshot tarball name to use the date (ISO8601 format) instead
of the SHA1 hash in its name.
FossilOrigin-Name:
070ec66f677cdcd30087871feb8afd010a184b75
drh [Tue, 9 Feb 2016 22:39:39 +0000 (22:39 +0000)]
Add the new "snapshot-tarball" target to the unix makefiles, for building
a tarball similar to "amalgamation-tarball" but named by the SHA1 hash of
the current check-out rather than by the version number.
FossilOrigin-Name:
4f360b2ae78b3d4ccfe6c40ac6b27a00fc70cf23
mistachkin [Tue, 9 Feb 2016 22:00:48 +0000 (22:00 +0000)]
Update the MSVC autoconf makefile with the recent changes from the primary one.
FossilOrigin-Name:
c7242aa3e9c08e0c019388e89a785a6e59c915d5
drh [Tue, 9 Feb 2016 20:37:46 +0000 (20:37 +0000)]
Fix the makefiles in the autoconf-tarball so that they build the command-line
shell with SQLITE_ENABLE_EXPLAIN_COMMENTS.
FossilOrigin-Name:
1135ad014aac8a4ae5169375af1b368feaa8331b
mistachkin [Tue, 9 Feb 2016 20:31:50 +0000 (20:31 +0000)]
In the shell, use the appropriate string constant instead of a literal new-line.
FossilOrigin-Name:
61951b153d47096f30ebc8b84af408d9d709637c
drh [Tue, 9 Feb 2016 20:11:14 +0000 (20:11 +0000)]
Enhance the command-line shell to be in auto-explain mode by default. It is
no longer necessary to use the ".explain" command to put the shell into a mode
where the EXPLAIN output is formatted nicely. That now happens automatically.
FossilOrigin-Name:
751915cb7e4981661a40dc5e4d029ab27434c2d9
drh [Tue, 9 Feb 2016 20:04:07 +0000 (20:04 +0000)]
Improved auto-detection of EXPLAIN output in the shell.
FossilOrigin-Name:
6c6d7a6e89e67cdb0813d3eebb869aafb43d43ed
drh [Tue, 9 Feb 2016 18:39:25 +0000 (18:39 +0000)]
Add auto-explain mode to the command-line shell. Default on. Auto-explain
tries to automatically detect EXPLAIN queries and format them appropriately.
FossilOrigin-Name:
1d62aa6b315df47cafb33da7ca79d3386a2fdd48
mistachkin [Tue, 9 Feb 2016 18:28:20 +0000 (18:28 +0000)]
Fix MSVC makefile options that enable control-flow guard.
FossilOrigin-Name:
51b6823f4c9376d549f572f5a33cac1e4c9783a2
drh [Tue, 9 Feb 2016 17:12:22 +0000 (17:12 +0000)]
Fix the top-level makefiles to always include SQLITE_ENABLE_EXPLAIN_COMMENTS
when building the shell. Still need to fix main.mk and the
amalgamation tarball.
FossilOrigin-Name:
992282399cd2d1fc52ff5a1a4bff59f30b62899a
drh [Tue, 9 Feb 2016 16:09:22 +0000 (16:09 +0000)]
Code simplification: ALTER TABLE ADD COLUMN always upgrades the file_format
to 4 if is not there already. No need to upgrade to only 2 or 3 since format
4 has now been supported for over 10 years.
FossilOrigin-Name:
e1d8ec85546caeca3bb7a05ad962a2aed91194ce
drh [Tue, 9 Feb 2016 02:12:20 +0000 (02:12 +0000)]
Make sure every co-routines has its own set of temporary registers and does
not share temporaries, since a co-routine might expect the content of a
temporary register to be preserved across an OP_Yield.
Proposed fix for ticket [
d06a25c84454a ].
FossilOrigin-Name:
ca72be8618e5d466d6f35819ca8bbd2b84269959
mistachkin [Mon, 8 Feb 2016 20:45:37 +0000 (20:45 +0000)]
Fix spelling error in MSVC makefile comments.
FossilOrigin-Name:
6eab74c9ae57676044b5bc82fa14e92fd2448008
mistachkin [Mon, 8 Feb 2016 20:40:57 +0000 (20:40 +0000)]
More work on Windows 10 SDK integration.
FossilOrigin-Name:
1e563c6ebbb02d2e89760c7a7f95aa69964629c6
dan [Mon, 8 Feb 2016 20:14:41 +0000 (20:14 +0000)]
Fix a signed/unsigned comparison warning in fts5.
FossilOrigin-Name:
85eb05ddbc3a7cff986af13c3dab6c0063e62171
drh [Mon, 8 Feb 2016 20:06:52 +0000 (20:06 +0000)]
Fix a compiler warning when compiling without SQLITE_ENABLE_FTS3_TOKENIZER.
FossilOrigin-Name:
6926f28cd56bf61f7c92877baa54024bee7cbab5
dan [Mon, 8 Feb 2016 19:40:17 +0000 (19:40 +0000)]
Disable the two-argument form of the fts3_tokenizer() SQL function unless the library is built with -DSQLITE_ENABLE_FTS3_TOKENIZER.
FossilOrigin-Name:
e0eb217aca7e4aadf9c44ed20822b78139f7c83c
drh [Mon, 8 Feb 2016 19:36:46 +0000 (19:36 +0000)]
Changes to help the tokenizer run about 33% faster.
FossilOrigin-Name:
a050e6f096d40aa5b6275797b96e62c228044f5a
drh [Mon, 8 Feb 2016 19:15:48 +0000 (19:15 +0000)]
Add code to get the tokenizer character-class logic working for EBCDIC.
FossilOrigin-Name:
04f7da77c13925c1f1e287f4579bb85518297d81
drh [Mon, 8 Feb 2016 03:23:46 +0000 (03:23 +0000)]
Faster keywordCode() implementation by taking advantage of the fact that
the input is always pure ASCII alphabetic and underscore and that the keyword
table is always upper-case.
FossilOrigin-Name:
ff406b9701ebe3a01834837f380641c6f0c495bc
drh [Mon, 8 Feb 2016 02:30:50 +0000 (02:30 +0000)]
Demonstrate a much faster sqlite3GetToken() routine by using a lookup table
to map initial token characters into a character class. This check-in does
not work for EBCDIC. More optimization needed.
FossilOrigin-Name:
9115baa1919584dc8ca25bbff54d3b65748a9631
mistachkin [Sun, 7 Feb 2016 20:39:27 +0000 (20:39 +0000)]
Fix harmless compiler warning in 'srcck1' tool and add it to the clean targets.
FossilOrigin-Name:
852a529a8b112049f67a3126f677c06ae4a22d73
drh [Sun, 7 Feb 2016 00:08:08 +0000 (00:08 +0000)]
Add the sourcetest target to Makefile.msc.
FossilOrigin-Name:
ab269e720552483c5617906837e294c1be3e0a57
drh [Sat, 6 Feb 2016 22:32:06 +0000 (22:32 +0000)]
Add a utility program that looks for assert(), NEVER(), ALWAYS(), and
testcase() macros that have side-effects, and reports errors when they are
found. Also fix a bug that this utility detected as it was being tested.
FossilOrigin-Name:
b0b4624fc5d53bb0cc9fae7dad51984837d946ac
drh [Sat, 6 Feb 2016 19:48:50 +0000 (19:48 +0000)]
Make sure variable declarations occur at the beginning of blocks, even
with SQLITE_DEBUG enabled.
FossilOrigin-Name:
2f7778e64d93ef237e23ceac01ea9808df5cf2a1
pdr [Sat, 6 Feb 2016 14:14:43 +0000 (14:14 +0000)]
Fix an assert() to have a test instead of a side effect
FossilOrigin-Name:
a2952231ac7abe165ed070875728f752ae0be608
dan [Fri, 5 Feb 2016 21:09:26 +0000 (21:09 +0000)]
Add tests for and remove unreachable branches from fts5 in order to restore test coverage.
FossilOrigin-Name:
22589018ac3321f7bd89ce9fa69e57eae395e324
mistachkin [Fri, 5 Feb 2016 19:40:23 +0000 (19:40 +0000)]
More work on Windows 10 SDK integration.
FossilOrigin-Name:
ebace2c99b6af9230c4bbc31a764c7f397200148
dan [Fri, 5 Feb 2016 19:18:02 +0000 (19:18 +0000)]
Further streamlining of fts5 prefix query code.
FossilOrigin-Name:
ca91bd8ac70a5b3fef127364f73ec675e58bb92c
drh [Fri, 5 Feb 2016 17:49:43 +0000 (17:49 +0000)]
Make sure the "bak.db" database file does not actually exist before
starting the "quota.test" testing.
FossilOrigin-Name:
1cac6c45eeb7dbbcda0c76ba7d3a2ca77bc725cd
drh [Fri, 5 Feb 2016 16:46:09 +0000 (16:46 +0000)]
From test scripts, remove stray "breakpoint" commands and blank lines
at the ends of files.
FossilOrigin-Name:
a6b35273239669189f33402144f58328b133d182
drh [Fri, 5 Feb 2016 14:11:12 +0000 (14:11 +0000)]
Improvements to the way out-of-memory conditions are handled, resulting
in an almost 1% performance gain in the commmon case where OOM errors do
not occur.
FossilOrigin-Name:
b082538da774ac77f284fd7e22f9b1b9c2abc343
drh [Fri, 5 Feb 2016 13:38:36 +0000 (13:38 +0000)]
Add the slightly faster sqlite3DbMallocRawNN(db,n) routine for the majority
cases where db is guaranteed to be not NULL.
FossilOrigin-Name:
0a802e96ab06e2643834b83671fa8353da1a348d
mistachkin [Fri, 5 Feb 2016 04:55:01 +0000 (04:55 +0000)]
Improve ERRORLEVEL handling in the MSVC batch build tool sub-routine 'fn_UnsetVariable'.
FossilOrigin-Name:
fe123ab4f17f97ba9d64a7e0589ac47fd9d43877
drh [Fri, 5 Feb 2016 04:50:27 +0000 (04:50 +0000)]
OOM failures on sqlite3_errmsg16() in an app-defined function are no longer
benign.
FossilOrigin-Name:
9efb223f4ce8ccc00515f8f016f7c494c9ae5096
mistachkin [Fri, 5 Feb 2016 04:39:11 +0000 (04:39 +0000)]
Another small tweak to the MSVC batch build tool.
FossilOrigin-Name:
76718bbce775e13a82893be519ddd98b2f3a4942
drh [Fri, 5 Feb 2016 02:50:11 +0000 (02:50 +0000)]
Minor simplification of schema error reporting.
FossilOrigin-Name:
a8846aeed9992c6c9f1c8bd6e996a4cbe891751e
drh [Fri, 5 Feb 2016 02:42:54 +0000 (02:42 +0000)]
Further performance improvements that fall out of the mallocFailed changes.
FossilOrigin-Name:
d94416ddca8f7ed727dd335d38155ea5945a86b7
drh [Fri, 5 Feb 2016 01:55:27 +0000 (01:55 +0000)]
Improvements to the way that OOM errors are processed.
FossilOrigin-Name:
c3ef03478a5788c855b3aef385d43ae7f494f440
drh [Thu, 4 Feb 2016 19:50:33 +0000 (19:50 +0000)]
Temporarily back out the 0.5% performance improvement from
check-in [
632071bac5ff32 ]. Need a more elaborate solution that works
with reentrant virtual tables and SQL functions.
FossilOrigin-Name:
42736fb0adc82a0fb692850ff3dd3f9b501cbf1f
dan [Thu, 4 Feb 2016 19:45:19 +0000 (19:45 +0000)]
Further improve performance of unindexed fts5 prefix queries.
FossilOrigin-Name:
c9c6457d8ea911f6cc63967127e58da3146fd3ef
dan [Thu, 4 Feb 2016 17:31:03 +0000 (17:31 +0000)]
Avoid running some particularly time-consuming tests as part of veryquick.test.
FossilOrigin-Name:
f465944b75a800ddc6920229ad32c2f39ff91e19
drh [Thu, 4 Feb 2016 11:48:00 +0000 (11:48 +0000)]
Remove unnecessary sets of db->mallocFailed.
FossilOrigin-Name:
b787165b25a240fd5b4a5c7f73b395f30213a1d7
drh [Thu, 4 Feb 2016 11:15:57 +0000 (11:15 +0000)]
Use sqlite3_malloc64() instead of sqlite3_malloc() in the spellfix extension.
FossilOrigin-Name:
634d008c34bd237fc9cfb88dc291394fc5d31efa
drh [Thu, 4 Feb 2016 10:28:57 +0000 (10:28 +0000)]
Escape control characters in JSON.
Fix for ticket [
ad2559db380abf8 ].
FossilOrigin-Name:
4f1b5229a3bbc9d40b7433a5eb3139d59d31dcb1
drh [Thu, 4 Feb 2016 09:48:12 +0000 (09:48 +0000)]
Refinements to synchronous logic:
(1) Use PAGER_SYNCHRONOUS_FULL rather than the corresponding magic number.
(2) Honor SQLITE_NO_SYNC on xDelete calls with sync
(3) Count xDelete syncs during testing
(4) Fix #ifs on SQLITE_EXTRA_DURABLE so that directory syncs on journal
unlink are off by default.
FossilOrigin-Name:
e3157cb5ad0d22758e766a95fb1463a7810f7d7f
drh [Wed, 3 Feb 2016 22:14:38 +0000 (22:14 +0000)]
In the VDBE loop, only check for OOM errors at jumps rather than after every
opcode, for about a 0.5% performance increase.
FossilOrigin-Name:
632071bac5ff324a74cec9bdbba2deb60c0945e9
dan [Wed, 3 Feb 2016 20:04:59 +0000 (20:04 +0000)]
Improve performance of fts5 prefix queries on detail=col tables.
FossilOrigin-Name:
ca11f46db047e7f131cef3893f73824758a2076b
drh [Wed, 3 Feb 2016 19:52:06 +0000 (19:52 +0000)]
Fix markup errors in comments used to generate the documentation - specifically
in the documentation on the OP_Seek opcode.
FossilOrigin-Name:
ef252bc4b59d272460aaebdc0d4b8e347b0d25a8
drh [Wed, 3 Feb 2016 19:20:15 +0000 (19:20 +0000)]
Add "PRAGMA synchronous=EXTRA" which syncs the directory containing the
rollback journal when the rollback journal is deleted in order to commit a
transaction in DELETE mode.
FossilOrigin-Name:
af92401826f5cf49e62c278f344ab75252a18da2
drh [Wed, 3 Feb 2016 01:55:44 +0000 (01:55 +0000)]
Enhance the internal sqlite3VdbeAddOpList() interface to automatically update
jump destinations. Use this feature to simplify the AUTOINCREMENT code
generator.
FossilOrigin-Name:
ae8b9d2edf1b5aef6108e729754911db7682b6a3