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
1153e60cf0
Fix the fts5 xRename() method.
...
FossilOrigin-Name: 0f7fd51325875fbf0f1eaca3bbbd170ef99c4208
2015-06-10 10:45:34 +00:00
dan
bcc2f04c68
Add the "columnsize=" option to fts5, similar to fts4's "matchinfo=fts3".
...
FossilOrigin-Name: aa12f9d9b79c2f523fd6b00e47bcb66dba09ce0c
2015-06-09 20:58:39 +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
4430b40934
Remove some repeated lines of source code. Probably introduced by careless cut'n'pasting.
...
FossilOrigin-Name: a34cd71c8aafaece04a2332a127e9b8e99c1403c
2015-06-09 10:58:51 +00:00
drh
d1f2f9b90c
Add the valgrindfuzz target to unix makefile.
...
FossilOrigin-Name: e62aed01f1a6dbc12d6e21386c1671eb640b8d49
2015-06-08 19:15:50 +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
dan
4f20cd402b
Avoid passing constraints that are unusable due to LEFT or CROSS joins to virtual table xBestIndex() methods.
...
FossilOrigin-Name: 80ee56dda7db3860f8be5f6968c8745138f8453f
2015-06-08 18:05:54 +00:00
mistachkin
f5b5f9b972
Fix typo in comment. No changes to code.
...
FossilOrigin-Name: e49c291735e613e384f6da044ef865dd274cabc8
2015-06-08 17:42:57 +00:00
drh
6dcb2dbaf6
Split out some source code into new files: wherecode.c, whereexpr.c, and
...
treeview.c. Other minor refactoring changes.
FossilOrigin-Name: 50f336818c8509d8b8bde282e9399d2b2b5ea70a
2015-06-08 17:40:30 +00:00
drh
38b4149ca1
Factor out the TreeView parse tree printing module into a separate file.
...
FossilOrigin-Name: c32ce54ca46a4be4373983be6fd44b1f3a0250d1
2015-06-08 15:08:15 +00:00
drh
6c1f4ef217
Split more subfunctions of where.c out into a new whereexpr.c source file,
...
for improved maintainability.
FossilOrigin-Name: 46ef95c108ad8961f2bf3d2dc839d4fb1fddd770
2015-06-08 14:23:15 +00:00
drh
6f82e85a80
Split out the bulk of the actual VDBE code generation logic from where.c
...
into a new file, leaving behind the analysis logic. This makes the original
where.c smaller and hopefully easier to edit.
FossilOrigin-Name: faa0e420e93a2bc1c84df9eb9fef4748d29ce339
2015-06-06 20:12:09 +00:00
dan
90502c3dc7
Fix a comment in fts5.h.
...
FossilOrigin-Name: e964b5877497b16cf985d3d847e82529bb3fa4a3
2015-06-06 19:23:32 +00:00
drh
b121dd14ac
Code simplifications in select.c and where.c.
...
FossilOrigin-Name: 4f20ac90bce8bd7ba43ef59af5cc4ef7aa282fe8
2015-06-06 18:30:17 +00:00
dan
7193b69f52
Fix handling of fts5 rowid constraints in the absence of a MATCH clause. Add tests to cover recently added branches.
...
FossilOrigin-Name: 3a9cb648138a059862fb438c0787fdd888f5e88e
2015-06-06 16:28:29 +00:00
drh
adc57f6834
Minor cleanup of the sqlite3Select() procedure.
...
FossilOrigin-Name: f4c90d06bb941453d8110680c7b279e471e8f034
2015-06-06 00:18:01 +00:00
drh
4490c40b90
Split FROM-clause subquery flattening and code generation into separate loops.
...
FossilOrigin-Name: be8e3fc70e4c13b28b07985df3457960f58ffddd
2015-06-05 22:33:39 +00:00
drh
bc8edba10a
Provide one final Select tree dump prior to WHERE clause analysis
...
when ".selecttrace 0x400" tracing bit is set with SELECTTRACE_ENABLED.
Analysis and debug changes only - normal builds are unaffected.
FossilOrigin-Name: 283bf0b64da7acc5aa5812fc659954965002d409
2015-06-05 20:27:26 +00:00
dan
e4449454c5
Make use of range constraints on the rowid field of an fts5 table in full-text queries.
...
FossilOrigin-Name: 32cbc0ed3699cc21302f0b6a159493117ad4bd4f
2015-06-05 19:05:57 +00:00
drh
97bae794c2
Add a new opcode to the VDBE that gives the b-tree a hint about the set
...
of columns in a table or index that are actually used by the query.
FossilOrigin-Name: f167bba446b78dd7538d0b2bae3e6678f3b1ba28
2015-06-05 15:59:57 +00:00
drh
d62fbb50e6
Change the name of SrcList.a[].zIndex to the more descriptive
...
SrcList.a[0].zIndexedBy.
FossilOrigin-Name: 6a9cf063379118dbb95c6cdc6d60af50e9867177
2015-06-04 12:08:53 +00:00
dan
6f277eb6bc
Fix an fts5 problem in extracting columns from position lists containing large varints.
...
FossilOrigin-Name: 4ea015ab983300d420ef104cca550b22a6395866
2015-06-03 11:23:30 +00:00
dan
f67bb4a21b
Change the fts5 multi-column syntax to use parenthesis instead of square brackets.
...
FossilOrigin-Name: ab85a6fc4f7580278fc9d1f0090fdcf0a90d065b
2015-06-02 19:38:15 +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
drh
4c393a82df
For FROM-clause subqueries that cannot be flattened, try to push relevant
...
WHERE clause terms of the outer query down into the subquery in order to help
the subquery run faster and/or use less memory.
FossilOrigin-Name: 6df18e949d3676290785143993513ea1b917d729
2015-06-02 18:09:18 +00:00
dan
167fd757f0
Merge latest trunk changes with this branch.
...
FossilOrigin-Name: c9ffda4abb4390bbc5719e269196e2807b254f97
2015-06-02 18:07:58 +00:00
dan
dbef6e752e
Reimplement [ec69e09a] so that each call to the xNext() method does not involve two iterations of the match expression tree (only one).
...
FossilOrigin-Name: 80fe305b3eefb17310a9d6185d1c8cd73ee38b1e
2015-06-02 17:57:01 +00:00
drh
467c1c70fb
Add test cases for type affinity rules.
...
FossilOrigin-Name: 9678646d9a14ba283a83839be329599a676a537a
2015-06-02 17:25:05 +00:00
drh
a88994ee57
Rename SQLITE_AFF_NONE to SQLITE_AFF_BLOB to avoid confusion with
...
"no affinity".
FossilOrigin-Name: 29ad9e917330969810ac1bc685bba4282401bdae
2015-06-02 16:19:56 +00:00
drh
05883a3409
Rename SQLITE_AFF_NONE to SQLITE_AFF_BLOB.
...
FossilOrigin-Name: bce3f04186cd2d69414a5a98b5b77dc8f060554a
2015-06-02 15:32:08 +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
69b72d5a29
For FROM-clause subqueries that cannot be flattened, try to push WHERE clause
...
terms of the outer query down into the subquery in order to help the subquery
run faster and/or use less memory.
FossilOrigin-Name: 297fae7551a2af9e600d833801ff79fca0602ad5
2015-06-01 20:28:03 +00:00
dan
5350d91ed3
Improve performance of the fts5 AND operator.
...
FossilOrigin-Name: b43e9a5b7a0483ccb102316a4dbc5e32b5bc69ec
2015-06-01 19:17:06 +00:00
drh
fcb9f4f3ca
Corrections to comments in expr.c. No code changes.
...
FossilOrigin-Name: f925389eaf5bf8962a28fcaa652b75caa606efba
2015-06-01 18:13:16 +00:00
drh
5fea985851
Typo fixes and additional background information in README.md.
...
FossilOrigin-Name: 9b8e5823bccf69f5cdedd8655e75df6e9718b809
2015-06-01 11:10:39 +00:00
dan
34efc82eed
Change fts5 expression processing to avoid linear scans of long doclists caused by phrases that match specific columns only.
...
FossilOrigin-Name: ec69e09a55b4daf1c40aeaaf9ee95091fe86f5c0
2015-06-01 09:15:20 +00:00
drh
f960a64d29
Updates to configure.ac to help it find where the TCL libraries hidden
...
on Ubuntu 14.04.
FossilOrigin-Name: c864ff912db8bc0a3c3ecc1ceac61a25332e76c5
2015-05-30 22:57:49 +00:00
mistachkin
2efcf2aac2
Fix minor typo in comment. No changes to code.
...
FossilOrigin-Name: 73fc058b3a74c1b018cff990de793f19a602c12f
2015-05-30 22:05:17 +00:00
dan
3f3074e0c1
Remove the "#include sqlite3Int.h" from fts5Int.h.
...
FossilOrigin-Name: e008c3c8e29c843ec945ddad54b9688bbf2bdb44
2015-05-30 11:49:58 +00:00
dan
a8c024905c
Add extra tests and fixes for multi-column matches.
...
FossilOrigin-Name: ae6794ffa23ef6191bd8834422abf322d978c11b
2015-05-29 19:00:22 +00:00
drh
1c8badeb26
Ensure that allocateBtreePage() always clears the MemPage pointer when
...
it fails due to an I/O or memory allocation error.
FossilOrigin-Name: 09a38bf665902834936d39341627ded88142e6ae
2015-05-29 18:42:11 +00:00
drh
e726622579
Move two unreachable conditionals inside of NEVER() or assert().
...
FossilOrigin-Name: db4e9728fae5f7b0fad6aa0a5be317a7c9e7c417
2015-05-29 17:51:16 +00:00
drh
1f2d968622
Remove a corruption test in balance_nonroot that is superceded by a prior
...
better check.
FossilOrigin-Name: 00693682d8664fa608ba43684f6376a9bd5b84eb
2015-05-29 17:13:14 +00:00
dan
6d21f42db2
Add syntax to fts5 used to specify that a phrase or NEAR group should match a subset of columns. For example "[col1 col2 ...] : <phrase>".
...
FossilOrigin-Name: 0fc0ea20920615f3e48ea2dbe2b7dcd979b0993e
2015-05-29 15:55:30 +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
9d69464adc
Add support for automatic indexes on FROM-clause subqueries that are
...
implemented via co-routine.
FossilOrigin-Name: 020b8b106fc8f840f6b506e1c9c3bc75676daec3
2015-05-29 14:47:18 +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
7b3aa08e22
An attempt to allow automatic index creation on subqueries accessed via
...
co-routine.
FossilOrigin-Name: 521345add67e9dfd7df1446eb942aa0d84b9e6eb
2015-05-29 13:55:33 +00:00