drh
84fbff18d0
Prohibit bound parameters in the arguments to table-valued functions within
...
a trigger. Problem discovered by OSSFuzz.
FossilOrigin-Name: b7178209152452e82f5908513385018524472640d67547927d6b4c0aa0c15a46
2018-04-11 16:04:01 +00:00
dan
d6189eafa4
Minor simplification to internal function generateSortTail().
...
FossilOrigin-Name: f32cdb41ca213cfcfe0bb5bfe56930d43e55525fa5640274b00f1ccce7f69634
2018-04-11 14:11:53 +00:00
mistachkin
8384e43c18
Include the 'sqlite3rebaser_' APIs in the Windows '.def' file.
...
FossilOrigin-Name: 56e4965f7ac850c59596120878434f5ef023e77919ef9416d20812eac764bac1
2018-04-10 18:56:21 +00:00
drh
80aab206a4
Version 3.23.1
...
FossilOrigin-Name: 4bb2294022060e61de7da5c227a69ccd846ba330e31626ebcd59a94efd148b3b
2018-04-10 17:39:29 +00:00
dan
0493222ff8
Fix a problem causing the LEFT JOIN strength reduction optimization to be
...
incorrectly applied in some cases where the WHERE clause of the query contains
a filter expression of the form "lhs.x IS NOT ?".
FossilOrigin-Name: 1fdaf2c34431adcac1c7ff29aae0623c4cbaa6a7f38e843c786bd407d8b3e730
2018-04-10 15:31:56 +00:00
dan
6831dbedeb
When testing, avoid injecting an OOM fault into a file-control call made by
...
SQLite on an unopened file-descriptor.
FossilOrigin-Name: 9c1a5eba3ec37c877af4b83c6f8c05b7140304f3d23e49832ba63e321247fc8d
2018-04-10 14:29:51 +00:00
drh
032495a34e
Increase the version number to 3.23.1.
...
FossilOrigin-Name: 9488c87b54ace8a92a52a368e8cf161dfdd24201bd6b60d50e88c2d92d592f0c
2018-04-10 12:33:42 +00:00
dan
a1054dcc3f
Fix a problem causing the LEFT JOIN strength reduction optimization to be
...
incorrectly applied in some cases where the WHERE clause of the query contains
a filter expression of the form NOT(x AND y). Ticket [1e39b966].
FossilOrigin-Name: 38d319c153641ea4138fab2d5a47c31a86f57a071a1e1c299ca54c980cfb2b60
2018-04-10 12:10:01 +00:00
drh
a2ce1b99a8
Remove an unnecessary SQLITE_UNTESTABLE compile-time conditional from
...
the command-line shell.
FossilOrigin-Name: 80b75a34a2a4c11bc35b8638f8f05d999db416c81edc1a1c81aa5029f0301da1
2018-04-10 10:37:33 +00:00
drh
eb557618d2
Update the top-level README.md file to point to the whynotget.html document.
...
Put it on the correct branch, this time.
FossilOrigin-Name: a52e3cddea58b838e94e09a8488220a4406ff37d2cad8da05799d47fcf95ea38
2018-04-10 00:53:36 +00:00
drh
a5746e0317
Minor changes to the input grammar resulting in a faster and slightly smaller
...
parser.
FossilOrigin-Name: a2c443c0ee9a0e0b2d10298b8a74ff00a1a66e3f96f4093348f0fef977587204
2018-04-09 20:36:09 +00:00
drh
337679be4e
Enhance the query planner so that it detects when the xBestIndex method
...
of a virtual table gives out-of-sequence argvIndex values and reports an
error. Secondary fix for ticket [2b8aed9f7c9e6].
FossilOrigin-Name: 9506ec14fb9e58986c1b79a3ca78430ad94b10966944c864e0429a7688dd1454
2018-04-09 15:57:54 +00:00
dan
67ecf1f5c2
Fix the fts5 xBestIndex method so that it is not confused by "IS", "!=",
...
"REGEXP", "GLOB" or "LIKE" operators.
FossilOrigin-Name: a0ca4ddbbf179b8f0a5f30c127f2f8c92b6d45a08be3e1ef2194e44ebcc28120
2018-04-09 14:26:44 +00:00
drh
0f1631db06
Improvements to ".wheretrace" output.
...
FossilOrigin-Name: ea2e5b34bf35ade602dfcef359b64f810674f304fda14326b7f2dedefcc5f340
2018-04-09 13:58:20 +00:00
dan
fe55da387a
Add a "flags" parameter to experimental API sqlite3changeset_apply_v2(). Also
...
add the SQLITE_CHANGESETAPPLY_NOSAVEPOINT flag.
FossilOrigin-Name: 3d29631fa7270b18f51de8cfe1285959e42ad9a673d5d2d5c016126f5f1b31a8
2018-04-09 11:43:58 +00:00
drh
3517b312dc
Fix a (harmless) signed integer overflow warning.
...
FossilOrigin-Name: 43c2c60caf0ba105f57e32fc7fe6938dc29538c04d477a35b9b8bba2fb8fdd07
2018-04-09 00:46:42 +00:00
drh
12f6839380
Enhance LEMON to show precendence of symbols and all rules in the report
...
that is generated in parallel to the parser.
FossilOrigin-Name: 602fbd8149b53d8f0e9a223cc1aec912e7df03fca35071e8d707776ce225371c
2018-04-06 19:12:55 +00:00
dan
3e259bcd96
Fix a problem in the sessions module causing sqlite3session_apply_strm() to
...
allocate enough memory for the entire input buffer - which defeats the point
of a streaming interface.
FossilOrigin-Name: 7594e60935b0b5dcf764476dccdf9b403303818a0419a30bc2c16d58e44f6d04
2018-04-06 16:22:25 +00:00
dan
9a3c375fce
Fix an instance where an uninitialized VM register might be accessed. Fix for
...
[093420fc0]. This problem was found by OSSFuzz.
FossilOrigin-Name: a3b02db74681a215996c5ed110eb0ece5ed24f71a1b131c10e9f33e666af0256
2018-04-05 16:26:39 +00:00
drh
1d7b0a5d72
Fix the sqlite3WhereTrace mechanism so that it compiles with
...
the --disable-amalgamation and the --enable-debug options to ./configure
using clang.
FossilOrigin-Name: 813224363d9ac22fcb37f657c4ac988f76fa39989301faec7206e9ba0b1f4476
2018-04-05 12:02:27 +00:00
mistachkin
33fc27790a
Fix segfault in 'eval.c' extension when used with 'empty_result_callbacks'.
...
FossilOrigin-Name: e8b87bd4954437041139344d6d1ce3e4aace40ea6891b70f9c20cd95671270e7
2018-04-04 12:21:33 +00:00
drh
b14e6de579
Fix an error message in speedtest1.c and make the "trigger" testset sensitive
...
to the --size parameter.
FossilOrigin-Name: 5a6fd9e0156a14e6509c4ea713c4b332b2d050432b49571c7a45a7ecc7cb5da4
2018-04-03 20:44:53 +00:00
dan
b278c594f1
Update speedtest1.c with new testset "trigger" based on the tests in
...
speed4p.test.
FossilOrigin-Name: 7b7fa5fa0dd0dcef759ce1e22ade3a4e5fc8e8a244eac19b1abcc96d89c99721
2018-04-03 20:00:09 +00:00
dan
22f60b847c
Fix a few small test script issues affecting SQLITE_TEMP_STORE=3 builds.
...
FossilOrigin-Name: e171f3722f78c58d2f20443e3bbcce2bd9701b8537f6e8d482ae804154d7a17f
2018-04-03 17:05:13 +00:00
drh
92a2ec00eb
Fix the generate_series virtual table so that it correctly returns no
...
rows if any of its constraints are NULL.
Ticket [fac496b61722daf28].
FossilOrigin-Name: 3328e828e28ca7198fd1ce84503e649ab2278913a2cf85a0f0391f31d0c9c8d7
2018-04-03 14:25:51 +00:00
drh
9881155d54
Change the LEFT JOIN strength reduction optimization so that assumes that
...
virtual table constraints can be true even if terms within the constraint
are NULL. This works around dodgy virtual table implementations.
FossilOrigin-Name: cbb977fe1908431f3aad8e67668588b119e7d491724f2042af436f509a4f6623
2018-04-03 14:04:48 +00:00
drh
18e2b8af1c
Version 3.23.0
...
FossilOrigin-Name: 736b53f57f70b23172c30880186dce7ad9baa3b74e3838cae5847cffb98f5cd2
2018-04-02 11:04:16 +00:00
drh
4de3353d4a
Better solution to the LIKE problem from the previous check-in that works
...
even if the SQLITE_LIKE_DOESNT_MATCH_BLOBS compile-time option is used.
FossilOrigin-Name: b850dd159918af568c55c00ff146ba9c9c04d33ff384fe1eb0ad74164bc401bb
2018-04-02 00:16:36 +00:00
drh
1f0ecc79b0
Fix a logic error discovered by OSSFuzz.
...
FossilOrigin-Name: fc06ddd458fc1028b33b3927cc3b113b7106caa67136993de2e57926a8a19623
2018-03-31 23:28:55 +00:00
dan
4f9a7e5cb7
Fix an assertion failure triggered by a SELECT with a compound sub-query that
...
contains an incorrectly placed ORDER BY clause. This problem is just an
assert() failure - non-DEBUG builds are not affected. Problem found by
OSSFuzz.
FossilOrigin-Name: 823779d31eb09cda5effe747d9adb35e600a52d4274226586437f674e7824d91
2018-03-31 16:31:51 +00:00
drh
58bd03320d
Fix a bug in the spellfix extension causing it to compute suboptimal answers.
...
The problem was introduced by check-in [afd6fbc01052ccfc9].
FossilOrigin-Name: 3bf28fd9a70ebefc464dceda124d6ed342dd83f71eeeb0568f79e34e731a073e
2018-03-30 16:34:04 +00:00
drh
9f95e48d94
Fix an off-by-one error in the dist3 algorithm of the spellfix extension.
...
FossilOrigin-Name: 5c34af7b975598bbe20751dfdd346f43031cb2bcb6b78f1bbdb2b51b398de182
2018-03-30 15:59:54 +00:00
dan
d99f49fcc9
Another change to test file zipfile.test to help it run on systems without "unzip".
...
FossilOrigin-Name: b6252feb125db16dabf6ce07568159f0002f9053df1b7b600e2614cc9da24873
2018-03-29 23:54:00 +00:00
dan
a8728e7428
Fix a test script bug causing zipfile.test to fail on systems that do not have
...
the "unzip" program installed.
FossilOrigin-Name: d99022a5a8e4469a87a9fab8a976271e5785524da73ac1d2fae47d00d90fc07a
2018-03-29 16:39:09 +00:00
drh
afb39a4cdc
Modify the sqlite3OsFileControl() interface to detect unopened sqlite3_file
...
objects and return SQLITE_NOTFOUND.
FossilOrigin-Name: 1fc72b707d4f4df049c19b023ae3f70cb45d6a6768bb68efc519cfdcd2d2ecda
2018-03-29 13:47:01 +00:00
dan
d88690bd10
Update memdb1.test so that it works with SQLITE_DEFAULT_AUTOVACUUM builds.
...
FossilOrigin-Name: d67f1c7d18d076b18e327ae4e3bccf6086b8f3fd370a7550d77753fc1f1ce07f
2018-03-29 11:02:19 +00:00
drh
928ba14904
Fix a harmless compiler warning in the kvtest.exe program.
...
FossilOrigin-Name: d48972cf873f8e2499f7c77f8062fde439e7426b616514c147810763469d7c6a
2018-03-28 22:08:44 +00:00
drh
5013c4b9af
Fix a harmless compiler warning.
...
FossilOrigin-Name: f0d12354bba96056f930e5ed3e88c37ec139211be09e6cd6eb7310e979de56c8
2018-03-28 21:45:03 +00:00
dan
3a95c65e37
Add -DSQLITE_ENABLE_DESERIALIZE to the "Device-Two" configuration in
...
releasetest.tcl.
FossilOrigin-Name: 765a014d8e91be18ac0f12f0fe94f4126bf8ce101f5c9d7f234376e2368f6db3
2018-03-28 20:29:04 +00:00
drh
424981d349
Remove tab characters. No logical changes to code.
...
FossilOrigin-Name: eb29b3369e76ec1df25a5484d8ec5fb924e23d5c70aaa4d794b2b17ee18784c8
2018-03-28 15:56:55 +00:00
drh
840fda482b
Minor comment changes.
...
FossilOrigin-Name: d282f064698782cf7b584138549a6b27befa0b945ae96b52a3ef6f8a13448077
2018-03-28 15:06:39 +00:00
drh
43a9385def
Fix a typo in the README file for ICU. No code changes.
...
FossilOrigin-Name: 79c4383b66fee9d43a75eef30ed0364573fc99e6d3be12267a99773ab8f57a9f
2018-03-27 22:58:45 +00:00
drh
6a9b9527fa
The push-down optimization was being too aggressive such that it sometimes
...
generated incorrect results. Reinstate the restriction (4) (with
qualifications) that was removed by check-ins
[b5d3dd8cb0b1e4] and [dd568c27b1d765].
FossilOrigin-Name: f08c1731b0b1dddcba190b094a35306a159713d3db939330f73075ff1d72c81e
2018-03-27 15:13:43 +00:00
drh
f900327ed8
Provide the ability for the VFS to do a blocking wait on locks if compiled
...
with SQLITE_ENABLE_SETLK_TIMEOUT.
FossilOrigin-Name: e7dff982be753bc93123db6a0e8fefd56f2a14fd1c9a8699af0b6b75bc88fc15
2018-03-27 13:57:31 +00:00
drh
000705bcce
Do not inject OOM errors on SQLITE_FCNTL_LOCK_TIMEOUT calls as an OOM is
...
not possible in that context.
FossilOrigin-Name: 5474e560eeb0269964b70bcd876bb86b4197c4fb164bc13454fb8204f083062c
2018-03-26 21:05:47 +00:00
drh
fd72563d0a
Avoid a race condition that might cause a busy_timeout to last longer than
...
it should.
FossilOrigin-Name: b81960561b47a1b49646f2f8870dd0684dc4ca7c0b9e11076fd713de66b75972
2018-03-26 20:43:05 +00:00
dan
b948948542
Fix a typo preventing test script avtrans.test from running in auto-vacuum
...
mode.
FossilOrigin-Name: c7473bdb1055df06dc6a93a39ba7f56116f6866292784c4938d843531500c368
2018-03-26 17:56:39 +00:00
drh
f0119b2e1b
Add infrastructure to support for using F_SETLKW with a timeout on system
...
that support that functionality. Requires SQLITE_ENABLE_SETLK_TIMEOUT.
FossilOrigin-Name: 2e54a7433ece4eb27e71bda6f2d121d5aa46ddd5a481357d8543d1432aaad689
2018-03-26 17:40:53 +00:00
drh
80262896d6
Refactor some internal object element names used by the busy handler, to
...
simplify analysis.
FossilOrigin-Name: 6c40c5574f4ae9795a142d01a8f84afd1b72678ea5f6bfca14a8646c4e862605
2018-03-26 16:37:53 +00:00
mistachkin
43ff906d3e
Fix a couple issues in the 'session' module tests.
...
FossilOrigin-Name: ccf734f7d2bf8f99f3c55124b05c1835e4371bc269f27700f40afc26e7c1bc55
2018-03-24 23:16:05 +00:00