drh
b7601461e0
Fix a JSON1 test case so that it works on builds that omit virtual tables.
...
FossilOrigin-Name: a4444c0f662058bdd5267e616c31cef828bc1fc5
2015-09-24 11:06:26 +00:00
drh
64ff56f91a
Capture AFL-generated fuzz tests for json1.c into the test/fuzzdata4.db file.
...
FossilOrigin-Name: 10a214fdb3c13b25e0bdd15c975c21c8890c47ee
2015-09-23 11:59:50 +00:00
drh
f27cd1f3aa
Do not allow a comma at the end of a JSON array or object.
...
FossilOrigin-Name: 7c7a3f3e9bc2f7a7334d8d6eae183d83f22097be
2015-09-23 01:10:29 +00:00
drh
40e0e0dbe7
Add the --export-sql and --export-db options to the fuzzcheck utility program.
...
FossilOrigin-Name: 760af4455115669b934c3115d45cffe89c085faf
2015-09-22 18:51:17 +00:00
drh
9cdd1029e5
Fix a typo in the --help screen of the fuzzcheck utility.
...
FossilOrigin-Name: b6ae61fe3b3de3aa296b3e56cd2ec425a5141c73
2015-09-22 17:46:11 +00:00
drh
8cb0c83cce
Fix json_set() so that it can overwrite a value that was previously overwritten
...
during the same call.
FossilOrigin-Name: 0f16041647993975c316203c7e11f06e27640136
2015-09-22 00:21:03 +00:00
drh
6230212f4a
Do not allow table-valued function syntax to be used on a view.
...
FossilOrigin-Name: 97cfe346e140e42a604375551f8168276bdbea11
2015-09-19 20:27:08 +00:00
drh
dc38495715
Fix a memory leak in json1.c that could occur after misuse of json_object().
...
FossilOrigin-Name: 394b81b11f261a9b179a034bc2a2d2dff0765e3b
2015-09-19 18:54:39 +00:00
drh
d7f2beab86
Include json1.c in fuzzcheck and fuzzershell.
...
FossilOrigin-Name: c4b68eff7f8f5402a9abf378157767b1c96a6101
2015-09-19 14:32:51 +00:00
drh
4977ccf143
Fix an off-by-one error (really off-by-2 in this case) in the buffer
...
resize logic of json1.
FossilOrigin-Name: d2a027372a5a6efc0f9b6f605093d865ae1c6788
2015-09-19 11:57:26 +00:00
drh
4cbc54b042
Do not allow rowid in a UNIQUE or PRIMARY KEY constraint. (This restores the
...
same behavior exhibited by all prior releases.)
FossilOrigin-Name: b1278301e37220a075c1bae88c0fcca2ef7a7d5c
2015-09-19 03:07:30 +00:00
drh
e63e8a6c78
Fix a crash that can occur with a skip-scan on an index with
...
expressions when SQLITE_ENABLE_EXPLAIN_COMMENTS is defined.
FossilOrigin-Name: 25f34cb9b576a2d4250a06a7dbf88010b1c11675
2015-09-18 18:09:28 +00:00
drh
e5c61f81c3
Adjustments to the spellfix2.test module so that it works reliably on
...
windows.
FossilOrigin-Name: 09a313fb7f2c16b0253a439edb901a7bb201d7d3
2015-09-18 15:38:07 +00:00
drh
bec9d65da4
Adjust two test cases so that they conform to the current code.
...
FossilOrigin-Name: 228e3d7c8f37c722aee3b589bdd5cfaa4b1f6f03
2015-09-18 15:35:16 +00:00
drh
59de9c0080
Fix sqlilimits.test module so that it knows that the SELECT in a CREATE VIEW
...
is not checked until the view is actually used.
FossilOrigin-Name: acf5d87f9456a1d0d69fe0ebc753211e1be07eaf
2015-09-18 15:13:29 +00:00
dan
ad41f5eda3
Ensure that "PRAGMA integrity_check" reports an error if the free-list count header field contains a value smaller than the actual number of pages on the database free-list.
...
FossilOrigin-Name: 26f64986d1ed59c554a7cb9e00e86a7f148f1fc6
2015-09-18 14:45:01 +00:00
drh
3a84411fc4
Fix the orderby9.test case so that it works with 32-bit versions of TCL
...
FossilOrigin-Name: 4b6af7743034546a407a3e4722645945a4efc8a1
2015-09-18 14:42:48 +00:00
drh
9df5ad58bb
Remove a test made obsolete by the ONEPASS DELETE optimization.
...
FossilOrigin-Name: c88b62c28cc7ac31b93f7df0c732e0bb6ca24f65
2015-09-18 14:22:34 +00:00
dan
2e8f5517f7
Avoid passing (signed char) values directly to isspace(), isalnum() or isdigit() in json1.c. Cast the value to (unsigned char) first.
...
FossilOrigin-Name: 6713e35b8a8c997aa2717e86ce6dcd63bb993477
2015-09-17 17:21:09 +00:00
drh
d9dfeb575e
Add a "flush" to force incremental output to releasetest-out.txt while running
...
the test/releasetest.tcl. script.
FossilOrigin-Name: 0f3de2d337a3113dbd0765aa5545bb586b780121
2015-09-16 17:46:11 +00:00
drh
81966bea22
Merge enhancements from trunk.
...
FossilOrigin-Name: 66fe06832614010d3156d7b21a760af9957018cc
2015-09-15 17:31:47 +00:00
dan
f0ee1d3c12
Experimental change to use a single-pass approach for DELETE statements on non-virtual tables that do not fire triggers or require foriegn-key processing.
...
FossilOrigin-Name: eaeb2b80f6f8f83679c8323a81bb39570ec946fe
2015-09-12 19:26:11 +00:00
drh
b3366b99c8
Update evidence marks due to wording changes in requirements text. No
...
changes to code.
FossilOrigin-Name: 86781093bdb4c4fdedd228cb1c8961db48a483bb
2015-09-11 20:54:44 +00:00
drh
e98b6fab47
More test cases in test/json102.test corresponding to new examples in the
...
json1 documentation.
FossilOrigin-Name: f599a42e190b4b89d74055402143c5487985cd90
2015-09-11 15:32:33 +00:00
drh
12b3b89542
Updates to the sqlite3_value_subtype() and sqlite3_result_subtype()
...
documentation and to test cases for json1 dealing with those interfaces.
FossilOrigin-Name: d6cadbe9fefce9a7af6b2d0cb83362f967d7d89a
2015-09-11 01:22:41 +00:00
drh
f5ddb9c214
Take out the goofy '$$' path syntax. Instead, use subtypes to communicate when
...
a string is JSON. Add the json() function that validates and minifies the
JSON and sets the appropriate subtype.
FossilOrigin-Name: 8a80d6459e246ec1b38325e1cbd1e862157138b3
2015-09-11 00:06:41 +00:00
drh
bcdf78a61c
Experimental implementation of sqlite3_result_subtype() and
...
sqlite3_value_subtype() interfaces.
FossilOrigin-Name: 7b5be299c617a3d3ed327ed30ef0a66a62c85b1f
2015-09-10 20:34:56 +00:00
drh
e6f5278c9a
Disable tests for json_each() and json_tree() on builds where
...
virtual tables are not supported
FossilOrigin-Name: bb8ee3b140a0a8b7c89f5debf22369f204ceef0b
2015-09-10 15:22:35 +00:00
drh
b1031f05e0
Fix the --help option on test/releasetest.tcl. Also fix the final error
...
count so that it includes a count of subtest crashes.
FossilOrigin-Name: 9ecf684dfe0cd7e3b058d208aca7eb600bf1d21b
2015-09-10 15:20:49 +00:00
drh
852944eb9b
Fix the json_tree() scan for the case when a path is supplied. Add new
...
json1 test cases.
FossilOrigin-Name: 6adc7de76acee6cfb5ff761739e7a8de7b5bf4b2
2015-09-10 03:29:11 +00:00
drh
3c03afd3f5
When running a CREATE TABLE AS, make the initial temporary sqlite_master entry
...
for the new table a real record rather than a NULL, in case the query after
the AS actually tries to read the sqlite_master table.
Fix for ticket [acd12990885d9276].
FossilOrigin-Name: 4a18d8bd4cc66eb08c6198cdf6e14f1bce0ec05a
2015-09-09 13:28:06 +00:00
drh
b4d472f609
Eponymous virtual tables exist in the "main" schema only. Enforce this rule.
...
FossilOrigin-Name: 06f90bb274c4bb0c30585024c8d365d43c4162f2
2015-09-08 20:26:09 +00:00
drh
0b8d255c37
Omit all use of Expr nodes for TK_AS, as those nodes no longer served a useful
...
purpose and in fact interferred with the query planner.
FossilOrigin-Name: 7ab0b258eabfcfb7f1b0bd1b12e166d2f267823d
2015-09-05 22:36:07 +00:00
drh
aac39e1ded
Merge trunk enhancements, and espeically the fix for allowing strings
...
as column identifers in CREATE INDEX statements.
FossilOrigin-Name: 5ff855293865c244ac632c630e8e7e8d7c05a5f6
2015-09-04 13:02:21 +00:00
drh
edb04ed946
Continue to support the (broken) legacy syntax of allowing strings for
...
column names in CREATE INDEX statements and in UNIQUE and PRIMARY KEY
constraints.
FossilOrigin-Name: 3d3df79bfaf9dbc7aa711c08a19d2f6dbe744b32
2015-09-04 12:54:01 +00:00
drh
4970d4032e
Merge enhancements from trunk.
...
FossilOrigin-Name: 29570a604806e2a60a8eef7eaf1dce022d2a7004
2015-09-01 18:31:19 +00:00
drh
8b57642259
Fix a bug in error reporting when a UNIQUE index on expressions fails its
...
uniqueness test.
FossilOrigin-Name: 5a2c0e90a1933545b4768d91d8f7c42c8f391019
2015-08-31 23:09:42 +00:00
drh
390b88a448
Case should not be significant when comparing function names.
...
FossilOrigin-Name: e2f1caf117b0a9632d52246717ab202852982339
2015-08-31 18:13:01 +00:00
drh
1d85e405e6
Make the distinction between truly deterministic functions and date/time
...
functions which only return the same answer for a single query. Only truly
deterministic functions are allowed in indexes. Add new expression index
test cases.
FossilOrigin-Name: c77554b5c42327106a7b90334e9cc3c07b007c76
2015-08-31 17:34:41 +00:00
drh
47991425cb
Improved analysis and usage of indexed expressions in the query planner.
...
FossilOrigin-Name: f8893696387cba9d293a05a68dc38228077b3dc5
2015-08-31 15:58:06 +00:00
drh
087f83b662
Merge the latest enhancements from trunk.
...
FossilOrigin-Name: 7bde6d4d8cf05e1beb9bdf20b85760dc3e7a76c9
2015-08-31 14:27:29 +00:00
drh
20b3b6109b
New test cases for the json1 extension.
...
FossilOrigin-Name: daff4832af963f98bcc1d2c2f84bd815d384f850
2015-08-29 18:30:30 +00:00
drh
d1f0068d19
Do not consider an empty string to be valid JSON. Add some additional
...
JSON test cases.
FossilOrigin-Name: fd19ff029f128f478f69910352a6f8b84262ce1d
2015-08-29 16:02:37 +00:00
drh
f2df7e71d6
Back out the json_check() routine. Instead, throw an error if the input to
...
a json function (other than json_valid()) is not valid JSON.
FossilOrigin-Name: dc9ce7b18cbe23d065317757234ef9fb8792da7a
2015-08-28 20:07:40 +00:00
dan
8f9ea2dc70
Merge latest trunk into this branch.
...
FossilOrigin-Name: ab93024da7bd577d8850b417aff8597a8b3807fc
2015-08-28 15:50:24 +00:00
drh
f6ec8d4f4c
Add the json_check() function, which returns its argument if the argument
...
is well-formed JSON or which throws an error otherwise.
FossilOrigin-Name: 64abb65d4df11e5b3bcc4afc8e7c18e907c6080a
2015-08-28 03:48:04 +00:00
drh
ecb5fedb3f
Enhance the json_insert(), json_replace(), and json_set() functions with the
...
ability to add JSON instead of text if the argument is text and if the PATH
begins with '$$' instead of just '$'.
FossilOrigin-Name: 44f103d8862abc2d5613bac04dc2ea8e625b1f40
2015-08-28 03:33:50 +00:00
drh
31a5d34283
Fix the OR-optimization so that it always ignores subplans that do not use an index.
...
FossilOrigin-Name: cf452028d1be2c5578a07f6e21b4d8b613373eb8
2015-08-27 23:42:43 +00:00
drh
2dc292930d
Fix the OR-optimization so that it always ignores subplans that do not
...
use an index.
FossilOrigin-Name: 66f92a16866e5825363636b9cc4b8f9b29d9e84d
2015-08-27 23:18:55 +00:00
drh
e14796085a
Merge enhancements from trunk.
...
FossilOrigin-Name: ec6ddb3d481d005c304a26c948c9c808586750e9
2015-08-26 18:04:23 +00:00
drh
5579d59fb3
Evaluate expressions only once when the same expression is used in both the
...
result set and in the ORDER BY clause.
FossilOrigin-Name: c2f3bbad778504681b39ab9399a1eb3c1a35ab3f
2015-08-26 14:01:41 +00:00
drh
1f9ca2c84c
Add code to maintain indexes with expression arguments across DELETE, INSERT,
...
and UPDATE statements. Legacy tests pass, but the new code paths are still
largely untested. The query planner currently makes no effort to use
expression indexes.
FossilOrigin-Name: efaabdb71626bdc03768e87e186c72f6f3da75b2
2015-08-25 16:57:52 +00:00
drh
108aa00a87
Enhances the parser so that it accepts arbitrary expressions for the arguments
...
of an index, though the code generator still rejects everything other than
simple column names. The sqlite3RestrictColumnListSyntax() routine is removed
since that feature is now handled by the parser.
FossilOrigin-Name: bed42116addabcf3dfdc2e2d51ae183965704988
2015-08-24 20:21:20 +00:00
drh
8981b904b5
Enhance the CREATE VIEW syntax so that the names of columns of the view can
...
be specified after the view name.
FossilOrigin-Name: d794b34da6f9c77dfe17773b0b17b22de72cce7f
2015-08-24 17:42:49 +00:00
drh
bc622bc045
Disallow the use of COLLATE clauses and the ASC and DESC keywords within
...
foreign key constraints and in the argument list to common table expressions.
FossilOrigin-Name: 83cbc4d8761498647794affffa961a4fca311be7
2015-08-24 15:39:42 +00:00
drh
38978dd4ed
Do not apply the WHERE-clause pushdown optimization to terms that originate
...
in the ON or USING clause of a LEFT JOIN. Fix for ticket
[6df18e949d3676290].
FossilOrigin-Name: 351bc22fa9b5a2e50da3583a882c5aa390bda19f
2015-08-22 01:32:29 +00:00
drh
6fd5c1e0e8
Fixes for compiler warnings and errors in the makefiles. Rename the
...
one test script to json101.test.
FossilOrigin-Name: 9ff6ccde5f26f18073587c320290570854ffc833
2015-08-21 20:37:12 +00:00
drh
a7781dc0bb
Merge in trunk fixes for table-valued functions.
...
FossilOrigin-Name: 67375f32d931351964d75d20671c4a6d8a294d7d
2015-08-21 17:16:22 +00:00
drh
1f2fc28134
Fix a corner-case bug in table-valued functions. Update the generate_series()
...
virtual table to increase the performance estimate penalty for being
underspecified.
FossilOrigin-Name: 552bc9cb88bbe54b4cf5fdf66d1217e7a2047110
2015-08-21 17:14:48 +00:00
drh
c1bd84124b
Merge recent enhancements from trunk, including table-valued expressions.
...
FossilOrigin-Name: b9927c876c1d4e146cb6a603d82cd2489594084d
2015-08-20 23:45:59 +00:00
drh
6842952429
Merge the latest changes from trunk, including the table-valued function
...
implementation.
FossilOrigin-Name: 10c444322f05ea8b83247f96a140bf3dbc4e9448
2015-08-20 23:39:38 +00:00
drh
d8b1bfc6bf
Fix corner-case memory management issues in table-valued functions. Change
...
virtual table handling so that if xDestroy is missing the table is
eponymous only even if xCreate is present.
FossilOrigin-Name: 774e6a14b124bbae4da0e188b62aee9ffb8c3745
2015-08-20 23:21:34 +00:00
drh
d10dbad5e1
Correctly handle empty function argument lists on table-valued functions.
...
FossilOrigin-Name: a7acc7878b8bb8e27a0da67b2dbb7bd51df4859b
2015-08-20 20:13:37 +00:00
drh
222cd5bee2
Merge the table-valued-function rowid fix.
...
FossilOrigin-Name: a06a6392bd48baa8b9bac2624869c0cc7da7e779
2015-08-19 19:26:13 +00:00
drh
509c3fc004
Fix eponymous virtual tables so that they do not automatically make the first
...
column the rowid. Enhance the generate_series virtual table to support rowid.
FossilOrigin-Name: a325a08599759471047e234ef9cfcc3cb110aafd
2015-08-19 19:01:28 +00:00
drh
03726aaf7f
Merge support for table-valued functions.
...
FossilOrigin-Name: 96a5d44d9fcb7b159c04630ad2d956fe27df5a43
2015-08-19 18:31:11 +00:00
drh
bc550df32f
Improved comments on the generate_series virtual table. Test cases for
...
ORDER BY rowid DESC with generate_series.
FossilOrigin-Name: fef44c37f31ca9fd7891cecdbe95cc46a987067b
2015-08-19 18:19:49 +00:00
drh
01d230ce05
A list of arguments following a table name translates into equality
...
constraints against hidden columns in that table.
FossilOrigin-Name: 40e12cfe4c29475417ba89fb637b4c763cf74016
2015-08-19 17:11:37 +00:00
drh
8a48b9c0b1
Minor refactor of the SrcList object so that it is able to hold the argument
...
list to a table-valued-function in the FROM clause.
FossilOrigin-Name: b919376147597c4b73421abe5788f893baf1560b
2015-08-19 15:20:00 +00:00
drh
398f872d1f
Virtual table modules with a null xCreate method act as eponymous-only modules -
...
they cannot be used in a CREATE VIRTUAL TABLE statement. Add the series.c
extension that implements a postgres-like generate_series virtual table to
demonstrate this capability.
FossilOrigin-Name: c58426dbd5ea8b8440ebcc1214f79fa63d658216
2015-08-19 13:54:20 +00:00
dan
c1e63be360
Add test file spellfix2.test, which should have been checked in some time ago.
...
FossilOrigin-Name: 8599402092537ab3df8926eb900661c12d738d4c
2015-08-18 19:09:28 +00:00
drh
bcf40a7f12
Provide hints for all terms in a range constraint if there are any equality
...
terms anywhere in the constraint. Range constraint terms are only omitted
for a pure range constraint with no equality prefix.
FossilOrigin-Name: b5897bc0f003c470eeb2a75e0a2b2bb202681531
2015-08-18 15:58:05 +00:00
drh
b413a5467a
Avoid generating hints using constraints that are also used to initialize the
...
cursor, since presumably the cursor already knows about those constraints.
FossilOrigin-Name: 142b048ac778620dd4e448c2e969982eb8188501
2015-08-17 17:19:28 +00:00
drh
a67a31624d
Change the display of the P4 operand of CursorHint in EXPLAIN output to
...
function notation.
FossilOrigin-Name: bee73d429cb0e99b43fb191ac15e298d0353b135
2015-08-15 00:51:23 +00:00
drh
1eb6eeb829
Updated testing of cursor-hints. Remove the test_cursorhint.c file and
...
associated logic in the core and do tests based purely on the newly enhanced
EXPLAIN output.
FossilOrigin-Name: bf383e665a191a4f33a540d1240960a922e22813
2015-08-14 20:08:13 +00:00
drh
e31dc59b4c
Duplicate the output of releasetest.tcl into releasetest-out.txt
...
FossilOrigin-Name: 5e06a9c186f4b7478c73155613de219d702e0241
2015-08-14 12:53:37 +00:00
drh
bec2476afc
Merge in all the trunk changes from the previous year. This breaks the
...
cursor-hint mechanism, but provides a baseline for trouble-shooting.
FossilOrigin-Name: 82a7a61bc0883b1e7432548e4890791717aa1bb3
2015-08-13 20:07:13 +00:00
dan
6df003c7a5
Avoid reading frames that have already been checkpointed from the wal file.
...
FossilOrigin-Name: 5669ac4a40429abc3f44540fc9d2f3b79b404bdf
2015-08-12 19:42:08 +00:00
drh
2032d60793
Add the json_object() function.
...
FossilOrigin-Name: 414a95f3b79359f167858b2325fd2be223569c66
2015-08-12 17:23:34 +00:00
drh
5fa5c10784
Begin adding an extension that provides JSON SQL functions.
...
FossilOrigin-Name: dde8afdd8dba1d92560326dca7c1cdfedbe5e070
2015-08-12 16:49:40 +00:00
drh
cf599b6ade
Enhance the query planner so that it is able to use partial indexes that use
...
AND-connected terms in the WHERE clause.
FossilOrigin-Name: 065765902d2774d7432b9c00ea2efed26e0aaa5e
2015-08-07 20:57:00 +00:00
dan
dca929040a
Fix some problems in test code detected by cppcheck.
...
FossilOrigin-Name: c9ff4ca4a0b44bbb8d6676144ddf77b04426e619
2015-08-05 08:01:46 +00:00
drh
fa4620b6f5
Allow a VIEW to reference undefined tables and functions when initially
...
created. The error report is deferred until the VIEW is used. This allows
views to be created before subviews and tables that the view references.
FossilOrigin-Name: 70b57dafb3216feb21091883196831fa1252e7bf
2015-08-03 13:44:45 +00:00
drh
8ff2587b66
Fix the sqlite3_stmt_busy() interface so that it always returns FALSE after
...
the statement has returned SQLITE_DONE, even for ROLLBACK statements.
Clarify the documentation.
FossilOrigin-Name: 047d3475e93d08cf172ad02404a690d5b0c1b833
2015-07-31 18:59:56 +00:00
drh
36c25f7686
Fix the releasetest.tcl script so that it ignore cast overflow errors that
...
recent versions of clang generate but which are unavoidable given the test
input.
FossilOrigin-Name: a0020c57859fd452a2b5c943f9c5cf5ec6f997e3
2015-07-29 20:24:39 +00:00
drh
41b9ca2519
Fix the xfer optimization for WITHOUT ROWID tables so that it correctly
...
updates the change count returned by sqlite3_changes().
FossilOrigin-Name: eff43715d1a3a9ce3fe5da194dbb76ec0c06e13c
2015-07-28 18:53:37 +00:00
dan
d1f9ffeb5f
Fix the rowallock.test script so that it works with builds that do not support mmap mode.
...
FossilOrigin-Name: 7efed5786bb6a7a452f5aece9d6c6a09e6930939
2015-07-25 14:26:17 +00:00
drh
06b5a224c0
Fix the wal3.test module so that it works with the memsubsys1 permutation.
...
FossilOrigin-Name: af85b01d93d3043f2e1a38d289ca00a5ef24520c
2015-07-25 14:12:26 +00:00
dan
8adbb17cb5
Fix a test script problem in memsubsys2.test.
...
FossilOrigin-Name: 70885729b7488474e7294212f9b334382675b112
2015-07-25 12:03:57 +00:00
drh
7416f2edd9
Disable the page cache bulk allocation for the shrink.test and wal.test
...
modules.
FossilOrigin-Name: 3418f1f165a0746cdf130e6a19fa0e1eb56df1d4
2015-07-25 03:10:12 +00:00
drh
c6edb3acf9
Fix the zeroblob.test script so that it works even on builds where the
...
SQLITE_MAX_LENGTH has been raised to 2147483645.
FossilOrigin-Name: db129149812cb4eadb4cd79ad293d14962d2638d
2015-07-24 23:28:05 +00:00
drh
e045d483f8
Fix the pragma2.test module so that it works with
...
SQLITE_ENABLE_MEMORY_MANAGEMENT.
FossilOrigin-Name: de281a4fac0de3700e754c17976a8497587ca797
2015-07-24 19:56:44 +00:00
dan
d716c39c76
Fix a test script bug introduced by [562687d9].
...
FossilOrigin-Name: a343745d99cf4bccb2f5582735cc2f88b03e847d
2015-07-24 18:22:29 +00:00
dan
80c0302228
Add the sqlite3_bind_zeroblob64() API.
...
FossilOrigin-Name: 1997ee548b2e569a39e73319b661c1a78dfe5dae
2015-07-24 17:36:34 +00:00
dan
a4d5ae8fa2
Add the sqlite3_result_zeroblob64() API. Use it in the SQL zeroblob() function.
...
FossilOrigin-Name: c6445b9fb4d7d1a8479436d7d183bad754a01615
2015-07-24 16:24:37 +00:00
drh
53e66c3cda
More robust handling of zeroblob() with oversized arguments. Fix fuzzcheck
...
so that it can be run with limited heap memory.
FossilOrigin-Name: 4e3e516a42059c97f42a7eb59bdf5cded0ff843a
2015-07-24 15:49:23 +00:00
dan
03bc525a51
Modify a few test scripts to avoid leaving the sqlite3Config structure in a non-default state.
...
FossilOrigin-Name: 562687d9f56bf4bb0f5f07f97cbbb7649c81faf8
2015-07-24 14:17:17 +00:00
drh
cfb8f8d6a9
Change the name of the OTA extension to RBU: Resumable Bulk Update.
...
FossilOrigin-Name: 017c5019e1ce042025d4f327e50ec50af49f9fa4
2015-07-23 20:44:49 +00:00
drh
d3e3f0b46e
The sqlite3ExprCodeGetColumn() is not guaranteed to put the result in the
...
register requested. Fix the skip-scan code generator for WITHOUT ROWID
tables so that it always checks the register and copies the result if it
lands in the wrong register. Fix for ticket [8fd39115d8f46ece70e7d4b3].
FossilOrigin-Name: 793e206f9032d9205bdb3f447b136bed9a25fa22
2015-07-23 16:39:33 +00:00
drh
63abdc59dd
More adjustments to the malloc5.test module so that it works correctly with
...
the new pcache1 bulk allocation.
FossilOrigin-Name: 2a7b3a440f74019f154496b2f95aa852a46e04fc
2015-07-17 12:42:53 +00:00
drh
957026ac78
Defer the bulk pcache1 memory allocation until the first page allocation
...
request. Limit the size of the pcache1 bulk allocation to the cache_size
setting. Deallocate the bulk allocation on a sqlite3_db_release_memory()
request, if the bulk allocation is completely unused.
FossilOrigin-Name: b79a4affe44bd0c8e155cae19f3f62c715684cd6
2015-07-16 18:18:19 +00:00
drh
3cf9c12008
Fix the fuzz3.test script so that it works with the new bulk pagecache
...
allocation feature.
FossilOrigin-Name: 829a2dbaf17413743b58ce0533d556031a14195a
2015-07-15 13:56:34 +00:00
drh
201e0c68f7
Always invoke the profile callback even if the statement does not run to
...
completion.
FossilOrigin-Name: 202479aa0a62067343e724487960b8a039e2e978
2015-07-14 14:48:50 +00:00
dan
a90579db99
Fix two problems that could cause fts3 auxiliary functions to occasionally misbehave if used with match expressions that contain both OR and NEAR.
...
FossilOrigin-Name: 372c1db2475f367d54270d5801aff0503745bff4
2015-07-08 17:59:08 +00:00
drh
c54357cc2a
Simplify the page recycling condition in pcache1. Fix test cases to work
...
with the latest changes.
FossilOrigin-Name: 5b60df5503f61922326b3e10e94aa197b17afe4b
2015-07-07 14:06:18 +00:00
drh
ee70a84ea7
Enhance separate pcache1 to allocate a block of pages from heap on startup,
...
if possible, for a 5.2% performance improvement.
FossilOrigin-Name: aa7341c8736732a0a59f6688cc34e78be02a7bfc
2015-07-06 18:54:52 +00:00
drh
b63ce02f57
Do not allow recursive CTEs that use aggregate queries in the recursive part.
...
FossilOrigin-Name: 6d2999afbc25b9c238e4028f637c10eaaf0ec75e
2015-07-05 22:15:10 +00:00
mistachkin
28ae577a3d
Enhance mutex testing to include APP and VFS static mutexes.
...
FossilOrigin-Name: 1025873fdfd9e7e53094c48af1a79c60ae50ae97
2015-07-03 23:11:36 +00:00
drh
2e43e96107
New command-line options for speedtest1: --multithread, --nomemstat,
...
--serialized, and --singlethread
FossilOrigin-Name: 2b7567229e3ba7e22271bb909ba977b3de19cca5
2015-07-03 14:34:25 +00:00
drh
cbc6b71f39
Smaller and faster PRAGMA integrity_check that also does a better job of
...
detecting errors. Some output text describing discovered file corruption
has changed for clarity.
FossilOrigin-Name: 251a7590ff4f65f59a1c871892533e4e2c544515
2015-07-02 16:17:30 +00:00
drh
0d847186e9
Add the --shrink-memory option to the speedtest1 test program.
...
FossilOrigin-Name: c9ddbd88998d9523e72ad910ea67eb55024b3a88
2015-07-02 01:38:39 +00:00
dan
f32fa3116b
Merge latest trunk changes into this branch.
...
FossilOrigin-Name: fcd8f7ce601729dc51d880d16b97040c1be16aa2
2015-06-25 20:16:23 +00:00
drh
ae6cd72318
Remove a NEVER() that is in fact reachable.
...
FossilOrigin-Name: f824e66b0dc120bed227c7446e2663fcad7cc4f6
2015-06-25 15:21:52 +00:00
drh
d4ddcbc121
Increase the default timeout on fuzzcheck to 120 seconds - sufficient for
...
running under valgrind on a slow workstation.
FossilOrigin-Name: fad0eacc64b1810f60cab73bc88ba380f99e4b2d
2015-06-25 02:25:28 +00:00
drh
92298637ca
Add the --timeout option to fuzzcheck.
...
FossilOrigin-Name: a8f4f7fa99e5e4131c1b59c0ac0597d62cedc0cd
2015-06-24 23:44:30 +00:00
drh
780573510b
Fix fuzzcheck so that it works with SQLITE_OMIT_PROGRESS_CALLBACK.
...
FossilOrigin-Name: 7a9c4eb30e6a834da20931b535c2894837d7d5d7
2015-06-24 23:17:35 +00:00
dan
88d702e6bd
Add "ON CONFLICT" handling to the spellfix module.
...
FossilOrigin-Name: 1d04def785b6031de68b7f199d400cbb5c76caea
2015-06-24 17:21:52 +00:00
drh
d83e2831b7
In the fuzzcheck test program, use the progress handler to limit the number
...
of VDBE cycles to avoid getting stuck if the SQL under test contains an
infinite CTE loop. Add the --limit-vdbe command-line option.
FossilOrigin-Name: fbf9c4325e98120914bb03bdf351b57643f7a8c8
2015-06-24 14:45:44 +00:00
drh
94701b048a
Rig the fuzzcheck test program so that it times out after 10 seconds in case
...
of an infinite loop in the test case.
FossilOrigin-Name: 659cfc9d1e9db83db171d621f248a7c2a5b183f6
2015-06-24 13:25:34 +00:00
drh
45143e9d31
Update the database fuzz test cases to cover all recent findings.
...
FossilOrigin-Name: 47ba7d96b1b91858ef1b592374839bc820719b95
2015-06-24 13:05:18 +00:00
drh
9a64586864
Add the --rebuild object to fuzzcheck.
...
FossilOrigin-Name: db87664a224f44e01b85570a3f3b6ec1c81d6e0a
2015-06-24 12:44:42 +00:00
drh
40a3cabe68
Adjustment to a malloc test so that it accepts a narrow range of values to
...
account for variations in malloc subsystems.
FossilOrigin-Name: e0195070f84f418c46698627a2dcbfcfb94d999c
2015-06-24 10:46:25 +00:00
drh
b468ce1256
Remove an invalid NEVER() and add a test case to cover it.
...
FossilOrigin-Name: 14b73d201509d3c04f760a08d21f3c499f2870a8
2015-06-24 01:07:30 +00:00
dan
c94a08100b
Merge latest trunk changes with this branch. Add tests for columnsize=0.
...
FossilOrigin-Name: ef44c71a22518727030dd90c0139af8973b05841
2015-06-23 15:06:13 +00:00
dan
923cadb1ae
Test that the left and right sides of a compound SELECT operator have the same number of expressions in the expanded expression list before beginning to generate code.
...
FossilOrigin-Name: 4df852ce26c95d5d23c83dbe9c59d2c3435acddf
2015-06-23 12:19:55 +00:00
drh
82c4f9b407
Update the fuzztest data using the latest test vectors discovered by AFL.
...
FossilOrigin-Name: b97f9cf73e503c7285ba3a801e1f932f222d96b2
2015-06-20 14:11:56 +00:00
drh
5f02ab0976
Make sure that the likelihood() function does not mess up generation of
...
result-set code when it is used (inappropropriately) in a result-set
expression.
FossilOrigin-Name: 7cdbae625eb029538a693d2bebec465a6f65fb90
2015-06-20 13:18:34 +00:00
drh
eeab2c63a9
Fix corner cases involving corrupt varint values in record headers.
...
FossilOrigin-Name: 3189116b42c5ecef5e30c8b317f4458bbf8b9086
2015-06-19 20:08:39 +00:00
drh
4307690b5c
Further #ifdef changes in speedtest1.c in order to support SQLite back to
...
version 3.3.9 and perhaps even earlier.
FossilOrigin-Name: 9246eca54adaee571dab0c066afaa604fcf9c44f
2015-06-18 15:26:09 +00:00
drh
606f2344e9
Pervent the likelihood() function from moving ON clause terms of a LEFT JOIN
...
into the WHERE clause.
Fix for ticket [5f60b11fc8e23490e2]
FossilOrigin-Name: ed96e14adce4a4f94cc6838c46bc97937c4cb72a
2015-06-18 14:32:51 +00:00
drh
5995e292e6
Add #ifdefs to some features speedtest1.c so that it compiles with
...
older versions of SQLite, going back to version 3.5.1.
FossilOrigin-Name: f50dd154d33c58d7a9aa1852fdc362c2e81feef2
2015-06-18 12:37:32 +00:00
drh
00452196d8
Improved comments on the fuzzcheck.c test program. No changes to code.
...
FossilOrigin-Name: a7e27d19280048bcfff6d2e796eed72287b9dabe
2015-06-17 18:24:40 +00:00
drh
0dd5cdaea5
Ensure that the CREATE TABLE AS statement correctly undoes partial changes
...
to the sqlite_master table if the SELECT on the right-hand side aborts with
an error. Fix for ticket [873cae2b6e25b]
FossilOrigin-Name: 400e025e7c61efab71b891743c07a0862e5bb934
2015-06-16 16:39:01 +00:00
drh
07d694c750
Adjust ICU tests to account for recent changes in the official
...
Unicode definition of whitespace.
FossilOrigin-Name: 0816525386ac51454b7b09a507e45b6a2cb8bf6e
2015-06-15 16:40:38 +00:00
drh
e4d38707ea
Improved detection of database corruption in freeSpace().
...
FossilOrigin-Name: 29bcb56887f862a1f06677a7b4bfae6475d29732
2015-06-15 12:58:15 +00:00
drh
aca55cfec3
Remove stray outputs from the test suite.
...
FossilOrigin-Name: afc6db9b105f32110112b877f06091757888a5f2
2015-06-11 14:19:05 +00:00
drh
72bc8208f0
When generating code for partial indexes, be sure not to modify the
...
index condition expression in the schema.
FossilOrigin-Name: e63d01c69c3e50f49ee3022a519c4f3e91f00520
2015-06-11 13:58:35 +00:00
mistachkin
eeb31ff59b
More test output refinements.
...
FossilOrigin-Name: e64a5681793238fa04fe3636f48d34b2dd36cdfa
2015-06-10 23:02:38 +00:00
mistachkin
7b96f2fa7e
Remove possibly stray output from various tests.
...
FossilOrigin-Name: f38e0be56fc086a3ce08134ade83ab61c9fca106
2015-06-10 22:51:02 +00:00
drh
905da63a82
"test" targets on all makefiles use --verbose=file --output=test-out.txt.
...
Add the new "quicktest" target to all makefiles - designed to run in under
three minutes. The --quick option on releasetest.tcl now uses quicktest.
FossilOrigin-Name: 6ddef2ad35ceb5822fc14c65bc7c6a2662edb63c
2015-06-10 18:53:09 +00:00
dan
84dff7a20e
Avoid passing constraints that are unusable due to LEFT or CROSS joins to virtual table xBestIndex() methods.
...
FossilOrigin-Name: 7b446771cadedafbe8924ad0658adc2597816dc7
2015-06-10 14:27:40 +00:00
dan
17c0823bda
Add the --output=$file and --verbose=(0|1|file) options to tester.tcl.
...
FossilOrigin-Name: f7b2c70362f10ee0347c1d2318918ffefa53243d
2015-06-09 15:58:28 +00:00
dan
35175bf7ab
If a query contains "FROM t1 LEFT JOIN t2, t3, t4", ensure that tables t3 and t4 are not scanned before t2. The trunk already does this.
...
FossilOrigin-Name: 0d9edfab9fb61322620f188b48ae2a1798a07581
2015-06-08 18:48:29 +00:00
drh
24dee9d214
Always check for cell overflow before returning a slot from the
...
pageFindSlot routine in btree.c.
FossilOrigin-Name: 9f035c45a4b84203e67b6e1b23cf11691dc43f1e
2015-06-02 19:36:29 +00:00
dan
167fd757f0
Merge latest trunk changes with this branch.
...
FossilOrigin-Name: c9ffda4abb4390bbc5719e269196e2807b254f97
2015-06-02 18:07:58 +00:00
drh
467c1c70fb
Add test cases for type affinity rules.
...
FossilOrigin-Name: 9678646d9a14ba283a83839be329599a676a537a
2015-06-02 17:25:05 +00:00
drh
cd8fb7cfd5
Fix a faulty assert() in btree.c. Update the database fuzz test file with
...
new test cases.
FossilOrigin-Name: 4e621af1345a001360938de76e3b0a14deb5e991
2015-06-02 14:02:18 +00:00
drh
b5a2d55ee6
Omit the rowallock.test script (Read-Only WAL lock) from the
...
inmemory_journal permutation.
FossilOrigin-Name: d21db3308996510ffc3c869c2ac093de70d03412
2015-05-29 15:15:40 +00:00
drh
d092ed4355
Add some extra source-code comments and a test case.
...
FossilOrigin-Name: 6d410442fb532e2cf0ad1859bc9e843651f8ff4d
2015-05-29 14:36:30 +00:00
drh
73d340adff
Earlier detection of incompatible sibling pages in balance_nonroot.
...
FossilOrigin-Name: 60a09f17d8b70dbc4b020586a1b81bce76882729
2015-05-28 11:23:11 +00:00
drh
24cf1e546c
Add new test cases to the fuzzdata3.db set of database fuzz tests.
...
FossilOrigin-Name: 467b13a40171dd8462dc11d05bb1e9cb588e6a23
2015-05-28 03:45:03 +00:00
drh
275fe3adf1
Do not attempt to take any write lock on a read-only database on Windows.
...
FossilOrigin-Name: a47ff0cdab0f82398c68ea770053f193f4812a51
2015-05-28 00:54:35 +00:00
drh
3da29a112a
The fuzzoomtest makefile target is no longer supported, so update
...
releasetest.tcl accordingly.
FossilOrigin-Name: 06959d4ada53b765cae4b192a691fced4b8aebbb
2015-05-27 19:35:08 +00:00
drh
f74d35be8c
Fix a minor and harmless memory leak in fuzzcheck. Adjust the makefiles
...
to run fuzzcheck with --quiet on valgrind tests.
FossilOrigin-Name: 8bfe834432b37f94779da6c71fc369651f024590
2015-05-27 18:19:50 +00:00
drh
a7298ac191
Disallow the use of "rowid" in CTEs - it has never worked correctly and it
...
makes no sense, so we might as well make it an explicit error.
Also: add the PRAGMA cell_size_check=ON command.
FossilOrigin-Name: 19e2cebc12aaa4e72d3bad74af73575a0457e5d4
2015-05-27 15:10:20 +00:00
drh
fccda8a162
CTEs have never add working rowids. So disallow the use of the "rowid" column
...
within CTEs.
FossilOrigin-Name: 0055df0445932a43e42b318ef88672dcbe312c3a
2015-05-27 13:06:55 +00:00
drh
1421d980c5
Add the "PRAGMA cell_size_check=ON" command.
...
FossilOrigin-Name: 2ead43f074d01312c7642e1df9abccc95547f019
2015-05-27 03:46:18 +00:00
dan
82faa2c88d
Merge accidental fork.
...
FossilOrigin-Name: e85628e34ac684b8a23f49eee71e4d6546e0ef64
2015-05-26 19:01:36 +00:00
dan
584390e8dd
Fix a one-byte buffer overread that may follow a syntax error while preparing an SQL statement.
...
FossilOrigin-Name: 075003930da98419f671b7833a5850693529fb62
2015-05-26 18:58:57 +00:00
drh
4d6fda73b4
Fix fuzzcheck so that it responds correctly to the TEST_FAILURE environment
...
variable.
FossilOrigin-Name: 76770c9e061e2eb106d7ea402eef888b98ba9d0e
2015-05-26 18:58:32 +00:00
drh
ea93c7005d
The "make fuzztest" target now uses fuzzcheck instead of fuzzershell.
...
FossilOrigin-Name: 4a5f6f1f0128657fd8d4d99d0682edd5bac2a19e
2015-05-26 18:15:08 +00:00
drh
d9972ef752
Enhance fuzzcheck with the ability to store descriptions in each source
...
database and to run multiple source databases in a single invocation.
FossilOrigin-Name: 193364c81c301a41c16835108d23ad2ab84d9dd7
2015-05-26 17:57:56 +00:00
drh
908aced558
Fix another bug in the in-memory VFS for fuzzcheck.
...
FossilOrigin-Name: 16878a314baceb14632a3ec43187fcc020089a76
2015-05-26 16:12:45 +00:00
dan
6c1944f659
Update test cases in corruptI.test so that they work with both SQLITE_ENABLE_OVERSIZE_CELL_CHECK and SQLITE_DEFAULT_AUTOVACUUM builds.
...
FossilOrigin-Name: 22a14663782312fa7f4f18545509ef4b27e9b8c1
2015-05-26 14:57:45 +00:00
dan
fb0246ba8a
Return SQLITE_CORRUPT to the user if an attempt is made to add database page 1 to the free page list.
...
FossilOrigin-Name: 68876003f922635737349f55bc73a78891ea7028
2015-05-26 12:18:17 +00:00
dan
c5b7358513
Fix a problem with ignoring UNIQUE constraints on WITHOUT ROWID tables rendered redundant by the PRIMARY KEY.
...
FossilOrigin-Name: 3b936913f3dc2cae4c94f983f28d85b136a44c9f
2015-05-26 11:53:14 +00:00
drh
e5c5f2cf77
Add the --result-trace option to fuzzcheck, and other interface enhancements.
...
FossilOrigin-Name: c415bb7bbfd531b138462589cdd58fa0204804e8
2015-05-26 00:28:08 +00:00
drh
aca7ea1e4d
Fix an important bug in the xRead method of the in-memory VFS for fuzzcheck.
...
FossilOrigin-Name: 58cd40e89f3060c63abb9a3fca385a1e72ce7bb4
2015-05-25 23:14:37 +00:00
drh
1573dc3bb1
Add fuzzcheck to all makefiles and fix compiler warnings.
...
FossilOrigin-Name: 7b3d21906a9650377cda56b94facdff75b2cb858
2015-05-25 22:29:26 +00:00
drh
4ab31475dc
Improved tracing capabilities in fuzzcheck.
...
FossilOrigin-Name: 864bfdbfe7b196cc9df2136b15a28e2a0f2713cb
2015-05-25 22:17:06 +00:00
drh
15b3128656
Add the --native-vfs option on fuzzcheck.
...
FossilOrigin-Name: 12e95e3f178b89d649bc7e30db731df439ae1653
2015-05-25 21:59:05 +00:00
drh
b335d12df7
Merge the btree fixes out of trunk.
...
FossilOrigin-Name: f3cd8cecf4f7aa3429e3ebc90ed31c4e8fff7bc2
2015-05-25 19:37:17 +00:00
drh
a9542b1bc4
Add the --dbid and --sqlid parameters to fuzzcheck. Other fuzzcheck fixes.
...
FossilOrigin-Name: 75ec9299faca8ce3d49d825ba6ea60588a91d113
2015-05-25 19:35:42 +00:00
dan
08f901b008
Have the b-tree layer return SQLITE_CORRUPT to any attempt to open a cursor with a root page number less than 1.
...
FossilOrigin-Name: aa18c8e9d1676b1caa53bc5f5c1dc5f201089b88
2015-05-25 19:24:36 +00:00
drh
3b74d0327f
First code for a new utility program to rerun checks on a large number of
...
fuzzer-generated test cases.
FossilOrigin-Name: c5b4e363528aa1d2d5f41451f16de0aa91152b38
2015-05-25 18:48:19 +00:00
dan
0f8076dd69
Fix a couple of btree asserts that would fail when encountering 32-bit rollover in cell payload size fields (cell payloads this large always indicate corruption).
...
FossilOrigin-Name: 8fa0937a2f3476dd280259e252d6f422c33d38ee
2015-05-25 18:47:26 +00:00
dan
2fc3a6cd98
Fix a case where database corruption may cause SQLite to write past the end of a buffer.
...
FossilOrigin-Name: 97806a78142b15f89878e25ee70dc5b0524d6793
2015-05-25 17:07:29 +00:00
dan
cf3d17c604
Fix an assert() in btree routine freeSpace() that may be false if the database is corrupt.
...
FossilOrigin-Name: 00a473c56188cd60a74559effb114140e3fe8a8d
2015-05-25 15:03:49 +00:00
dan
3fb37f097c
Fix an fts4 matchinf() problem triggered by deferred tokens that are part of phrases that are part of AND expressions.
...
FossilOrigin-Name: f1e942a1dda496a509741e9cc2a17e8b4dac63a3
2015-05-25 10:57:13 +00:00
drh
f058b9c472
Add a test case to verify that CREATE TABLE AS does not store INT values
...
in TEXT columns. Ticket [f2ad7de056ab1dc92].
FossilOrigin-Name: 0e45e8f1574ef19a43dbd118440ddbc5cec80ce7
2015-05-20 17:25:44 +00:00
drh
00d5ab7405
Fix handling of queries with VALUES on the left and UNION ALL SELECT on the
...
right and a LIMIT clause.
FossilOrigin-Name: c403502cdce8b82e570e6fc49ab7f5144800c189
2015-05-20 00:15:27 +00:00
dan
dde548cb16
Ensure that when the VM applies TEXT affinity to a value it discards any existing REAL or INTEGER value.
...
FossilOrigin-Name: f5d0ce80792d58ef424300f973f8876d835ed4ad
2015-05-19 19:44:25 +00:00
dan
b387e63707
Merge latest trunk changes with this branch.
...
FossilOrigin-Name: 6055a6725cb24469c10de9a04f3614dcc79193c6
2015-05-19 14:14:57 +00:00
drh
a48bae8819
Transitive constraints should only work if operands have compatible
...
affinities and collating sequences.
FossilOrigin-Name: 5df4056448fee1c766f8f79c735ed12abdce5101
2015-05-18 12:28:09 +00:00
drh
69c15fee98
Refinements to the determination of when an A==B term is an equivalence.
...
Add test cases.
FossilOrigin-Name: 6bfaf525cac2e0c0a4a3bd3a1fc7bf5bd3234303
2015-05-18 11:34:52 +00:00
drh
df553659ad
Make a hard copy of the results of a subquery lest the result of the
...
subquery be referenced after a change to the table that generated the subquery
result.
FossilOrigin-Name: 9c0d80907b4dee8ee8f205c2ebdb759f5ba1d771
2015-05-18 04:24:27 +00:00
dan
e0569a4aae
Further test coverage improvements for fts5.
...
FossilOrigin-Name: 927d9a64e13c6b768f0a15475713192fcfaaf9e7
2015-05-16 20:04:43 +00:00
dan
3072b537f5
Do not assume that "col IS ?" matches at most a single row of a UNIQUE column unless the column is also NOT NULL.
...
FossilOrigin-Name: e038ce8955e785afcc07bb22499955bbd22a7af4
2015-05-15 19:59:23 +00:00
drh
22c17b8bf5
Simplifications to error message processing. Fix a possible problem in error
...
message formatting when vacuuming a database with a corrupt schema.
FossilOrigin-Name: 56ef98a04765c34c1c2f3ed7a6f03a732f3b886e
2015-05-15 04:13:15 +00:00
drh
5d8806e07c
A few more test cases for the IS operator.
...
FossilOrigin-Name: f397c8622ae5a36a71f81d9f2549ca314005ece5
2015-05-14 14:03:21 +00:00
drh
4a00b33c02
More test cases. Remove some invalid testcase() macros. Rearrange some code
...
for improved testability.
FossilOrigin-Name: b3676377b257bd8bb7fefe9c365d76cdc9e44856
2015-05-14 13:41:22 +00:00
dan
2bbb62ce0b
Merge changes from the index-is-operator branch into this one. Drop the partial support added for IS on this branch by [52e73eec].
...
FossilOrigin-Name: 16ab9cafd00ea5df7e6f75d6a6740237828b888d
2015-05-14 09:53:17 +00:00
dan
8255079611
Merge latest trunk changes with this branch.
...
FossilOrigin-Name: 299ed55c909d327826ef47e204ef1e9afd54852b
2015-05-14 08:58:52 +00:00
drh
e8d0c61f0a
A new implementation of indexing with the IS operator that works correctly
...
when the IS operator is in the WHERE clause and the operands are from
opposite sides of a LEFT JOIN.
FossilOrigin-Name: 4541688b3f56f5cd3d5b299594b58c577ad633bb
2015-05-14 01:05:25 +00:00
drh
9be1870994
Simplified implementation of indexing with the IS operator.
...
FossilOrigin-Name: 95b1f9bf14e490c6c6bba9ea78aeab712a44aab5
2015-05-13 19:33:41 +00:00
dan
5d03b9d365
Merge latest trunk changes with this branch.
...
FossilOrigin-Name: b5f0e8c5b4bc018d672617ffd342d12b228548b9
2015-05-13 18:12:58 +00:00
drh
e0cc3c296c
Add testcase() macros and comments and a few test-cases.
...
FossilOrigin-Name: 24263d08b11c88416d270013bdaf5ff45125cb4d
2015-05-13 17:54:08 +00:00
dan
23d538885e
Change fts5 doclist-index structures to be trees instead of flat lists. This only makes a difference for databases that contain millions of instances of the same token.
...
FossilOrigin-Name: aa34bf666c384cf32a8d8166ab6d9afbca26a256
2015-05-13 17:15:32 +00:00
drh
6582ae520f
Try to get recent sqlite3_analyzer and sqldiff tests working for all
...
tested combinations of compile-time options, especially
SQLITE_OMIT_VIRTUALTABLE and SQLITE_OMIT_LOAD_EXTENSION.
FossilOrigin-Name: 07c7d3925cbcf44c2f606c7f016ec56304e0ca24
2015-05-12 12:24:50 +00:00
dan
6ebf1eb2c4
Add new fts3 matchinfo option 'b'. Also optimize existing option 'y'.
...
FossilOrigin-Name: 2e7679a1df4020dc0166f5de8ffd664df18a3002
2015-05-11 19:01:18 +00:00