dan
87d6b35541
Improve test coverage of demo code in fts5_test_mi.c.
...
FossilOrigin-Name: 8a78050dc0e374a0df0f29716df60250e2c4b4f7
2016-02-17 14:11:06 +00:00
drh
b7997fe3a9
Enhance Lemon to generate more compact and efficient code for yy_reduce().
...
Update the main SQL grammar to take advantage of the new capabilities.
FossilOrigin-Name: 53fd040c98d9647ea135d43c493777bf8da4aebd
2016-02-17 13:24:12 +00:00
drh
43303de97e
More agressive use of /*A-overwrites-X*/ in the parser. Fix an off-by-one
...
error in parser stack overflow detection.
FossilOrigin-Name: 417e777701bbf4bd67626d4ca3bc2c5d847f6cd0
2016-02-17 12:34:03 +00:00
drh
0ccbc64fd6
Documentation typo on sqlite3_wal_hook(). No changes to code.
...
FossilOrigin-Name: fc2043ebaa3f106529500164936bb82f9b921b1c
2016-02-17 11:13:20 +00:00
drh
cf82f0d3d2
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
2016-02-17 04:33:10 +00:00
drh
dabd04c656
Further improvements to the Lemon-generated code for yy_reduce().
...
FossilOrigin-Name: ef95a7d6490e33a9af4bc7b4b622de7328742ca7
2016-02-17 01:46:19 +00:00
drh
4dd0d3f819
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
2016-02-17 01:18:33 +00:00
drh
45f31be85d
Experimental changes to Lemon for improved parser performance.
...
FossilOrigin-Name: a65d583ce97b8c08157268bd054479cda3957a94
2016-02-16 21:19:49 +00:00
drh
30c14728b4
Minor simplification to the tokenizer. Slightly smaller and faster.
...
FossilOrigin-Name: 9570b6b43df3bc5ce314cded20bca8be9e968efe
2016-02-16 13:04:19 +00:00
drh
dab943cf3d
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
2016-02-16 01:01:43 +00:00
drh
7ff89807e0
Fix a harmless compiler warning in FTS5.
...
FossilOrigin-Name: e52c90758c53cbb0f74e0d8582e4c3c1bee04150
2016-02-15 23:46:36 +00:00
mistachkin
b71aef3461
Readability improvements for winRandomness.
...
FossilOrigin-Name: 1640f814c7a5210f08c81e52e5a3fb89ac26f4d4
2016-02-15 22:37:18 +00:00
mistachkin
0ead47d1c7
Fix comment. No changes to code.
...
FossilOrigin-Name: 2e1f2eff27e25280fe626c07b6260b0a7aa903d3
2016-02-15 22:28:50 +00:00
mistachkin
bfc9b3f45c
Revise compiler checks for the rand_s() function.
...
FossilOrigin-Name: 287f508dd6abc1b9ffdbec6a685ebe79eeac992b
2016-02-15 22:01:24 +00:00
drh
51d5ed97f5
On windows systems when rand_s() is available, use it to obtain additional
...
seed material in winRandomness().
FossilOrigin-Name: 139081bef9f63c3ebbe9e992408597b1349bdf37
2016-02-15 21:31:51 +00:00
drh
8eb3790a8d
Improved entropy gathering for the implementation of winRandomness().
...
FossilOrigin-Name: fea3705e7750d276a8c8300b7a82dfae2d5979c0
2016-02-15 20:41:56 +00:00
drh
4b7b1c9c12
Add working -q and --help options to testfixture.
...
FossilOrigin-Name: 404494e52b6385671ccde1c83b7b868986645536
2016-02-15 19:38:17 +00:00
drh
3719d10d11
In the tool/warning.sh script, disable Android-specific compiler warning tests
...
when not running on Linux.
FossilOrigin-Name: 153f01a821e9844d0a2e418eb83c60f6c7695c8d
2016-02-15 18:58:37 +00:00
drh
e683b89880
Fix harmless compiler warnings previously seen in 64-bit MSVC builds.
...
FossilOrigin-Name: 7026246300392a83cc23817dbc54c2c66bf1f2b3
2016-02-15 18:47:26 +00:00
drh
32c49904a6
Add the SQLITE_NOMEM_BKPT macro to enhance the ability to debug OOM errors.
...
Only effective with compiling with SQLITE_DEBUG.
FossilOrigin-Name: 9b3454762d142113f5923d754ca6bd2edefbd362
2016-02-15 18:15:15 +00:00
drh
66acf297fd
Minor code simplifications.
...
FossilOrigin-Name: c3b38efd50c3c07b6dee5dea4c1f95b37d1c0994
2016-02-15 18:02:13 +00:00
drh
3bff397248
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
2016-02-15 17:56:35 +00:00
drh
195c8d5eba
Version 3.11.0
...
FossilOrigin-Name: 3d862f207e3adc00f78066799ac5a8c282430a5f
2016-02-15 17:29:24 +00:00
drh
8e0cea1a5d
Make sure the codec is invoked when overwriting existing frames of the
...
WAL file. Yikes!
FossilOrigin-Name: f694e60a79024967a3f4574e3928f0b28589d381
2016-02-15 15:06:47 +00:00
drh
80738d9c3e
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
2016-02-15 00:34:16 +00:00
mistachkin
8fd8413aaa
Update a comment.
...
FossilOrigin-Name: e9753d9a2c1269050f886e6cb9bc9cba0a8df6ce
2016-02-14 00:14:35 +00:00
mistachkin
fad3039c51
Enhance ability to debug out-of-memory errors.
...
FossilOrigin-Name: 6a9c4a3ebfb7cc0738ef6634440ccab44a21ff28
2016-02-13 23:43:46 +00:00
drh
e75a9eb9bb
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
2016-02-13 18:54:10 +00:00
dan
53ff9c2972
Fix a potential buffer overread provoked by invalid utf-8 in fts5.
...
FossilOrigin-Name: a049fbbde5da2e43d41aa8c2b41f9eb21507ac76
2016-02-12 18:48:09 +00:00
dan
f2d328fa25
Fix a fairly obscure buffer overread in fts5.
...
FossilOrigin-Name: 130580207ab5cee762b2893808acef7c8afad027
2016-02-12 17:56:27 +00:00
drh
aa622c1f4f
Fix a documentation typo. No changes to code.
...
FossilOrigin-Name: d9c985878cf7c74a79ccdb9cf94a2d48fdde3e6f
2016-02-12 17:30:39 +00:00
drh
cd42352526
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
2016-02-12 17:27:32 +00:00
mistachkin
a819aed880
Naming updates for Universal Windows Platform.
...
FossilOrigin-Name: 717c1fc41a2246e27b324a4071073c286bac4efc
2016-02-12 05:19:29 +00:00
drh
f981093760
Remove an unused parameter from whereSortingCost().
...
FossilOrigin-Name: b5d771991686bf86a679b7dff9f16301a5029c8b
2016-02-12 00:13:38 +00:00
drh
4553f6ea91
Automatically disable FTS3 and FTS4 when building with SQLITE_OMIT_VIRTUALTABLE.
...
FossilOrigin-Name: 0beb32d20d8dd698138cdb2de6b6056de176754d
2016-02-11 22:41:04 +00:00
mistachkin
30470c5162
Enhance the MSVC makefile to enable building 'testfixture' fully from source code.
...
FossilOrigin-Name: f183e05990608d1a4002fa8a02c2d2eea6bc94b6
2016-02-11 21:59:02 +00:00
drh
c50d5908b4
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
2016-02-11 21:55:23 +00:00
drh
5d2e2f1267
Remove the unused fts5BlobCompare() routine.
...
FossilOrigin-Name: defc762dd11144402abd591278819768a080d5ea
2016-02-11 21:53:57 +00:00
mistachkin
e2eb259fce
Prevent 'expanded command line X too long' errors during the batch 'for' loops used for copying files.
...
FossilOrigin-Name: 67ee9b5af10a8b57a37f19ac040e49fdfcec4145
2016-02-11 21:38:05 +00:00
mistachkin
c04c54b842
Enhance the MSVC makefile to enable building 'testfixture' fully from source code.
...
FossilOrigin-Name: 54ff3a26bc45a1c3c0690119e8fd00b02e2a16ba
2016-02-11 21:28:16 +00:00
dan
df9c59f74d
Fix another unused variable warning in fts5 code.
...
FossilOrigin-Name: 61b4c120540afd80a4021b0d3990f13acc38a059
2016-02-11 18:18:33 +00:00
dan
2a44b3d877
Avoid a buffer overread when reading a corrupt fts5 structure record.
...
FossilOrigin-Name: facbc424e555061135aced7b134bf6c19f54e484
2016-02-11 18:08:38 +00:00
dan
22e8356368
Handle parser stack overflow when parsing fts5 query expressions. Fix some compiler warnings in fts5 code.
...
FossilOrigin-Name: bc3f7900d5a06829d123814a5ac7b951bcfc1560
2016-02-11 17:01:32 +00:00
drh
df3a907ecc
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
2016-02-11 15:37:18 +00:00
drh
c41c132cf0
Minor simplifications deferred to the next release.
...
FossilOrigin-Name: a863729ccb75a56330460d3b7d558e639ad733d1
2016-02-11 13:30:36 +00:00
mistachkin
8988aeef60
In the MSVC makefile, include the working directory so that it can pickup build generated files (e.g. sqlite3.h, etc).
...
FossilOrigin-Name: e9e6000bd2f7e0ef85178db2b5b8f20e4cf0093c
2016-02-10 21:45:25 +00:00
drh
05723a9e3c
Add testcase() macros to the CHECK constraint avoidance logic. Avoid creating
...
an unused VDBE label during CHECK constraint code generation.
FossilOrigin-Name: 970881befd5da6cc837c474d6e917de0bf029350
2016-02-10 19:10:50 +00:00
drh
98bfa16db2
Fix to previous check-in: Make sure CHECK constraints involving the ROWID
...
are not ignored when the ROWID changes.
FossilOrigin-Name: 7782cb1dd5914b867caf5ff2f0f837407abbfd7a
2016-02-10 18:24:05 +00:00
drh
2a0b527b37
Omit unnecessary CHECK constraints in UPDATE statements, when none of the
...
columns referenced in the CHECK constraint are modified.
FossilOrigin-Name: 02fbdbc782dd98f080bf4482d820f36c0ef3d519
2016-02-10 16:52:24 +00:00
drh
bdb00225ab
Omit NOT NULL checks on unchanging columns in an UPDATE.
...
FossilOrigin-Name: 6a3aaedfb41735996470abbae6d3cd1be1f508b3
2016-02-10 16:03:20 +00:00