drh
f71009aeb1
Version 3.15.2
...
FossilOrigin-Name: bbd85d235f7037c6a033a9690534391ffeacecc8
version-3.15.2
2016-11-28 19:13:37 +00:00
dan
c6a12f7f16
Fix a test case in vacuum5.test so that it works with the in-memory journal
...
permutation. Cherrypick of [81c86401].
FossilOrigin-Name: e31d646a319e03587a913d8e23e8c9f767a3481e
2016-11-24 13:42:48 +00:00
drh
3cb099ffc4
Updates makefiles and build scripts on windows to used Tcl 8.6.
...
FossilOrigin-Name: f693850affc70c6996ca61b95f9632f8429b1bec
2016-11-23 21:33:14 +00:00
drh
e7a625483d
Update the version number to 3.15.2.
...
FossilOrigin-Name: 86dc74cb107a6cce7bdf74ab7ebbac56d32add69
2016-11-23 21:14:31 +00:00
drh
b3c4a1f04e
Code constant vector components outside of any loops in CASE and BETWEEN
...
expressions. Fix for [1a684656].
FossilOrigin-Name: 4c6efe600debf783e1cbb3db5df3b4097a707d33
2016-11-23 21:13:41 +00:00
drh
fd630b2135
Prevent a possible use-after-free bug in the query optimizer.
...
FossilOrigin-Name: 661b45068fc8bb885899d6d8ef403f987f5f1a08
2016-11-23 21:08:01 +00:00
drh
018d5d7642
Disable the query flattener optimization for SELECT statements that are on
...
the RHS of vector IN operators. This is a hack that fixes the bug
described in ticket [da7841375186386c]. A better solution that does not
disable the query flattener is needed, but this will server for the time
being.
FossilOrigin-Name: 27438fb43db4eae90fa005e7872debbb1db22c88
2016-11-23 21:01:38 +00:00
drh
02e84703e8
Fix a potential use-after-free error during parsing of malformed
...
CREATE TABLE statement.
FossilOrigin-Name: 0f956597995ca0007c51a32c71cf5fb723ed4134
2016-11-23 20:44:04 +00:00
drh
5bb897448e
Fix an fts5 problem causing a crash in phrase queries where the first token of
...
the phrase matches one or more rows but some other token within the phrase
matches zero.
FossilOrigin-Name: 4efd331e9c680e1eb9c2bf58c5f45c03c0a31772
2016-11-23 20:37:36 +00:00
drh
01f75c078a
Fix OOM error reporting in the json1_group_object() SQL function. Remove
...
an unreachable branch from the JSON1 logic.
FossilOrigin-Name: 6492e57e65118bc6366bd92c553f4494a99f97e6
2016-11-23 20:31:09 +00:00
drh
2151673425
Fix the JSON1 extension so that the JSON validator correctly rejects malformed
...
backslash escapes within string literals.
FossilOrigin-Name: 7c46628380e6c6aae0f1a6175ec6136d88d10f44
2016-11-23 20:24:40 +00:00
drh
2451c8fd38
Avoid a crash that can occur after an obscure OOM in the built-in INSTR()
...
function.
FossilOrigin-Name: 8a55b8e179f3fd14ae656680ed4ebd462800e2f6
2016-11-23 20:19:00 +00:00
drh
ae0f43ec66
Mark the ICU extension functions as deterministic.
...
FossilOrigin-Name: 8fd2fccefb8885c7e8bae312c184d78187889d32
2016-11-23 20:12:37 +00:00
drh
33d2795554
Handle some obscure "row value misused" cases that could cause segfaults or
...
assertion failures.
FossilOrigin-Name: 794763fd6c04cabb16300421ade169131b7d308d
2016-11-23 19:43:48 +00:00
drh
c657d8c2a9
Take care not to try to generate code for the ATTACH and DETACH commands
...
if there were syntax errors during parsing.
Fix for ticket [2f1b168ab4d4844]
FossilOrigin-Name: f8cf7ff1560dbd0dde5e6d4c9c22cd8ff43cce09
2016-11-23 19:40:23 +00:00
drh
dc2ac4e2b1
Version 3.15.1
...
FossilOrigin-Name: 1136863c76576110e710dd5d69ab6bf347c65e36
version-3.15.1
2016-11-04 12:08:49 +00:00
dan
57bb0e3568
Fix a test case in vacuum5.test so that it works with -DSQLITE_TEMP_STORE=2
...
and -DSQLITE_ENABLE_ATOMIC_WRITE..
FossilOrigin-Name: 752e14d9b4ca9eec5531bccbde1548e6f06c9474
2016-11-03 19:27:20 +00:00
drh
ac0e8a198d
Add the SQLITE_FCNTL_WIN32_GET_HANDLE file control.
...
FossilOrigin-Name: 5221e3cc6f81d078766a607408d4e8aa3be0a90e
2016-11-03 18:49:15 +00:00
drh
eaff412e6a
Increase the version number to 3.15.1.
...
FossilOrigin-Name: ccdcce468f51439b353cbf723f1710ac38110b28
2016-11-03 18:44:07 +00:00
drh
a7d42bca4f
Escape non-ASCII character from an ICU extension comment.
...
FossilOrigin-Name: ee16fedd2006e2eb25a519edb4bda2d838e90410
2016-11-03 18:38:40 +00:00
drh
e876607623
Fix an issue that was causing the new database image to be assembled entirely
...
in heap memory when VACUUMing a database, even if it should use a temp file.
This could cause SQLITE_NOMEM errors when vacuuming very large databases on
32-bit systems.
FossilOrigin-Name: 3fae483faea3370785ac44ac65dbd03c21b9f6f2
2016-11-03 18:36:26 +00:00
drh
15f3a25ffb
Make sure left-join markings are transferred to the virtual scalar
...
subexpressions when decomposing a vector comparison in the ON clause of
a LEFT JOIN.
Fix for ticket [fef4bb4bd9185ec8f].
FossilOrigin-Name: aba1e22bbae1cd21f6e1d10773ccbfc4682db52c
2016-11-03 18:35:19 +00:00
drh
5e12e946f3
If all branches of an OR optimize scan that is the rhs of a LEFT JOIN use the
...
same index, set the index cursor to return NULL values if there are no matches
for a row on the lhs. Fix for ticket [34a579141b2c5ac]
FossilOrigin-Name: 54eeddeceb7545c9843d4ddf4ff73a894214c43b
2016-11-03 18:33:52 +00:00
drh
32dbb674ba
In the sessions module, avoid recording a change if an UPDATE statement
...
overwrites a column with REAL affinity containing an integer value with
the same value.
FossilOrigin-Name: 0fc4f0f4c270d29ec9c03d2954ef57f98461ede8
2016-11-03 18:31:40 +00:00
drh
fcb704549f
Avoid using the "direct overflow read" optimization to read large blobs if the
...
pager layer has a wal file open - even if the database header indicates that
the db is not a wal database.
FossilOrigin-Name: 63cfe19724b5856bd246c6fb98d3d79f8e022f71
2016-11-03 18:30:26 +00:00
drh
813646c182
Version 3.15.0
...
FossilOrigin-Name: 707875582fcba352b4906a595ad89198d84711d8
version-3.15.0
2016-10-14 10:20:30 +00:00
drh
989412a1cf
Take care to avoid integer overflow when doing the initial page cache
...
allocation with an excessively large cache_size setting.
FossilOrigin-Name: 4d66ac98deaa85218be7ff0eb254f78b96d8e8d4
2016-10-13 12:56:18 +00:00
drh
c436a03d02
Avoid reading the -1-th element of an array in the query planner. Fix to a
...
bug introduced by check-in [8e2b25f9b8a7] from earlier today. Curiously,
the problem only appeared on 32-bit systems.
FossilOrigin-Name: 443913d582bcd953d85159047541592e2f68ade3
2016-10-12 18:55:53 +00:00
drh
432697467f
Add to sqlite3_analyzer command-line options --version and --tclsh, and also
...
the undocumented --debug option.
FossilOrigin-Name: e87d02d289a2016ea3ee074e914b07a8ac22b21f
2016-10-12 18:26:26 +00:00
drh
013ae68b25
New testcase() macros to ensure coverage of the ORDER BY LIMIT optimization
...
code in where.c.
FossilOrigin-Name: 61f0526978af667781c57bcc87510e4524efd0d8
2016-10-12 15:15:30 +00:00
dan
83465a662f
Fix a problem affecting queries that match the pattern (... WHERE ipk IN (....) ORDER BY ? LIMIT ?). Fix for [96c1454c].
...
FossilOrigin-Name: 8e2b25f9b8a7ed087d3cece74239814bee19429e
2016-10-12 14:48:00 +00:00
dan
ef74652ceb
Remove a stray line from session4.test causing a memory leak. No changes to SQLite code.
...
FossilOrigin-Name: 6624c4964b63e259d5ee006eaa7ec79ddadbd6a6
2016-10-10 14:48:36 +00:00
dan
90b2fe6b1e
When handling ORDER BY expressions, do not assume all values of an indexed expressions are distinct. Fix for [4766f444].
...
FossilOrigin-Name: aebe429e52ffef026cb0803fb164339d61bd2e88
2016-10-10 14:34:00 +00:00
drh
48590fcb37
Make sure indexes on expressions skip over initial NULL values in the
...
index. Fix for ticket [4baa464912129477f3c9]
FossilOrigin-Name: 71797ba431085f9ae381ed5ea6471967926f4043
2016-10-10 13:29:15 +00:00
dan
ea5e5f0b89
Fix a case in which the rtree module was ignoring an OOM while generating an error message.
...
FossilOrigin-Name: 788f86bebe413b5a0ab41ba3d75ba8728827a964
2016-10-10 10:06:59 +00:00
dan
e5ec01c481
Update test/trace3.test to account for the fact that casting a pointer to a 64-bit signed integer might produce a negative value.
...
FossilOrigin-Name: 010ec22541a4c37f2d3b01b6a531b4b4264102b7
2016-10-08 16:10:29 +00:00
drh
dfe4e6bb33
Corrections to Lemon documentation. No SQLite changes.
...
FossilOrigin-Name: c568ae3eef31b49e846fad90e705914e2868a09c
2016-10-08 13:34:08 +00:00
dan
320d4c304d
Add missing "static" to internal function whereRangeVectorLen().
...
FossilOrigin-Name: cbed3d75cf9a24037263d126727db7dd048a4f97
2016-10-08 11:55:12 +00:00
dan
e288992e19
Updates to the tool/warnings.sh script to make it easier to use on OpenBSD.
...
FossilOrigin-Name: dbe2997f57f8d8f95e4b767bf73b8df3a5e4f783
2016-10-08 09:21:34 +00:00
dan
642f0146d7
Fix some compiler warnings in fts5.
...
FossilOrigin-Name: b066637bb75959267fe6104da323c5112ad78f82
2016-10-05 20:14:29 +00:00
drh
e3c6b61cee
Fix harmless compiler warnings.
...
FossilOrigin-Name: 2dde3375124198560c8ff15f87aadde2afd722c5
2016-10-05 20:10:32 +00:00
dan
4e59344a4c
Add a test case for the fix in [a596b7c6cc].
...
FossilOrigin-Name: b2ef39b11f7c46e69e53439680c32adbb18903bd
2016-10-05 15:04:35 +00:00
drh
da5c62400f
Do not set MEM_Blob unless the appropriate fields of the Mem object have
...
been correctly initialized.
FossilOrigin-Name: a596b7c6cc780525120604090493f3f7d962b9fa
2016-10-05 15:02:00 +00:00
drh
e0251d44fa
Fix the backup_malloc.test script so that it works on Windows.
...
FossilOrigin-Name: d080012daaaa399663a0f767c792a2fff3e1037a
2016-10-05 01:33:57 +00:00
drh
4eda15e715
Fix a problem with the lempar.c parser template.
...
FossilOrigin-Name: 3a9d802fda10585654332b314d317250dc5d894e
2016-10-04 12:20:12 +00:00
drh
44728d7e01
Do not bother to initialize unused fields in the BtreePayload object.
...
FossilOrigin-Name: b10d0f939c82c4de3faa90b86de9ec4a89992856
2016-10-04 00:47:26 +00:00
drh
a71c743aae
Allow deterministic functions in the WHERE clause of a partial index.
...
FossilOrigin-Name: c6e9b9421805c904b20900b711fa0e51773aef3e
2016-10-03 18:13:23 +00:00
drh
c9b39288ae
Size and performance optimizations on the sqlite3ExprAssignVarNumber() routine.
...
FossilOrigin-Name: 109852e51e2cc2674940ba3e5097a92e66f88bb8
2016-10-03 16:33:14 +00:00
drh
de25a88c50
Avoid unnecessary strlen() calls in sqlite3ExprAssignVarNumber() by passing in
...
the token length from the parser.
FossilOrigin-Name: d15ae2e530cffea60263f203ac5f89b6790f4bd5
2016-10-03 15:28:24 +00:00
drh
87c05f0c58
Avoid unnecessary memset() calls in the query optimizer.
...
FossilOrigin-Name: 5bb7cde0731d23411e9df02a957010f94203397b
2016-10-03 14:44:47 +00:00