dan
cddb6ba03b
Fix a problem causing the OR/covering-index optimization to be disabled if compile time parameter SQLITE_MAX_ATTACHED were set to greater than 30.
...
FossilOrigin-Name: a17712bf8d98dd485560f434a5350e6381cf1411
2016-02-01 13:58:56 +00:00
drh
b0c886510f
Minor simplification to the OP_AutoCommit opcode. Fix some code comments
...
related to transaction control.
FossilOrigin-Name: a9b6a0672f84dd205f9333951e4c2a608d027d71
2016-02-01 13:21:13 +00:00
drh
38bace84cd
Fix an assert() that might fail on a corrupt database.
...
FossilOrigin-Name: 22eaced7274764eaf7ab4b5fc52cc2fcfc285708
2016-02-01 00:21:08 +00:00
dan
482721ab75
Fix new test cases in stat.test so that they work with -DSQLITE_DEFAULT_AUTOVACUUM=1 builds.
...
FossilOrigin-Name: a2810cf65db13479e2ab255c37abac7841ee985d
2016-01-30 21:09:02 +00:00
dan
52f5d1ba6b
Performance enhancement for fts5 column filter queries on detail=full tables.
...
FossilOrigin-Name: 13fb4aa6a87c5c6258979953da82eedc1a7bf14f
2016-01-30 19:16:11 +00:00
drh
784c1b93fb
Merge the implementation of OP_IdxRowid and OP_Seek so that OP_Seek no longer
...
requires the rowid register and a separate OP_IdxRowid call. Shorter and
faster prepared statements result.
FossilOrigin-Name: 9bec50a1e7796a6e038db9b1cc7cc1e7e350bf74
2016-01-30 16:59:56 +00:00
drh
b8d66dc4ec
Only honor the register subtype value if the MEM_Subtype flag is set.
...
Revised and improved fix for ticket [f45ac567eaa9f9].
FossilOrigin-Name: 1f4c667f37d63fc3ef2e8f2581ecd3a66c054426
2016-01-30 15:52:39 +00:00
dan
5b6c8e4e1d
A different way to clear the subtype on VDBE registers when the value of the register is overwritten with new content. To fix [[f45ac567eaa9f93].
...
FossilOrigin-Name: 2e9fb1295cd31fc29c97444c3dec82fef68e939f
2016-01-30 15:46:03 +00:00
drh
af30fdf6ed
Output subtype information on register traces for PRAGMA vdbe_trace.
...
FossilOrigin-Name: 96b780209cc95c3f3769bb880591380d94bfe38d
2016-01-30 14:17:10 +00:00
drh
4b09ec6e11
Add the BTREE_FORDELETE and BTREE_AUXDELETE flags to the b-tree layer interface
...
and use them. Add assert() statement to verify that they are correct.
FossilOrigin-Name: 85c467041c9378cae3038756da815e9117ee8c7d
2016-01-30 13:32:30 +00:00
drh
5f4a686f8c
Simplification and size reduction to the printf logic. Remove the bFlags
...
parameter from sqlite3VXPrintf() and sqlite3XPrintf(). Use sqlite3XPrintf()
instead of sqlite3_snprintf() for rendering P4 values in EXPLAIN output.
FossilOrigin-Name: 0bdb41c45aa1cc8e5c136aaa6605d54b401483bd
2016-01-30 12:50:25 +00:00
drh
8ea0056d5c
Make use of covering indexes in the OR optimization.
...
FossilOrigin-Name: 9de3d7123007636aa97da1c70bc34344b0391078
2016-01-30 02:10:38 +00:00
drh
b17020265b
Change the P4_INTARRAY so that always begins with a length integer. Print
...
the content of the INTARRAY on EXPLAIN output.
FossilOrigin-Name: 6c520d5726e80b4251338c43c405270d150ea81e
2016-01-30 00:45:18 +00:00
dan
eaa6cd87e8
Add tests for the change on this branch.
...
FossilOrigin-Name: 7cb697f82932a2581af69350117a29c9c8a2544f
2016-01-29 21:16:13 +00:00
drh
945d302215
Different comment on the alternative cursor fields of VdbeCursor.
...
FossilOrigin-Name: 6e3dcb6d7d960bb513d9a4a002b6cf5ab7159686
2016-01-29 20:58:40 +00:00
dan
de892d9660
Experimental attempt to make better use of covering indexes within OR queries.
...
FossilOrigin-Name: a323ac3a9d42bd5cb38d724c7e1180584b91054c
2016-01-29 19:29:45 +00:00
drh
df31221d33
Improvements to FORDELETE processing, including bug fixes and adding
...
assert() statements to help verify correct operation.
FossilOrigin-Name: 46080b0474363ca6594d2e5c249a280e2b4fc67a
2016-01-29 19:04:11 +00:00
drh
47ab455c2b
Remove a stray "exit" in a test script.
...
FossilOrigin-Name: 10c88bf9f2c238abbbb54797ee2327ab72713e6f
2016-01-29 18:48:08 +00:00
drh
65875f37bc
Avoid unnecessary WHERE clause term tests when coding a join where one of the tables contains a OR constraint.
...
FossilOrigin-Name: 512caa1ad30e6f699e2d006d5ab7674d55d2c746
2016-01-29 18:11:04 +00:00
dan
83f0ab8087
Prepend "rc!=SQLITE_OK || " to the nExtraDelete assert() condition.
...
FossilOrigin-Name: 2a055ed0afd56e8c6b17cfc31e7808debe9ec765
2016-01-29 18:04:31 +00:00
drh
3b83f0cd8f
Avoid unnecessary WHERE clause term tests when coding a join where one
...
of the tables contains a OR constraint.
FossilOrigin-Name: ab94603974a0ad5342e5aee27603162652e70492
2016-01-29 16:57:06 +00:00
dan
98a4d5a7fa
Avoid two more instances of pointer arithmetic on freed pointers.
...
FossilOrigin-Name: 2910ef64097b890c9f8929bf609ea2827db7ac97
2016-01-29 08:38:35 +00:00
dan
895c00e16a
Modify the order of terms in an "if" condition to avoid implicitly comparing a dangling pointer to NULL following an OOM error.
...
FossilOrigin-Name: 5372f800835da61736a64dcee8b476bbe7ee2e46
2016-01-28 18:22:46 +00:00
dan
e61bbf4417
Modifications to ensure the nExtraDelete-related assert() statement does not fail.
...
FossilOrigin-Name: f43ff8f82d6c1239e6f9a32e7716421c1180ac74
2016-01-28 17:06:17 +00:00
dan
d5cafb380e
Remove a duplicate "p->magic = VDBE_MAGIC_RUN;" line from vdbeaux.c.
...
FossilOrigin-Name: 688eb3b400a3f2f8005c341e8259f4c1485cb0ed
2016-01-28 08:58:45 +00:00
drh
ba60fbb621
Fix for pthread detection in the configure scripts.
...
FossilOrigin-Name: 47633ffdbfead3ce7b1f6560660df99f950d24f8
2016-01-28 02:47:32 +00:00
mistachkin
00029a1add
Minor correction to the batch tool changes in the previous check-in.
...
FossilOrigin-Name: 7c89d75de1e8d44d7ebd8eac1320b50dd6c221a8
2016-01-28 00:04:32 +00:00
mistachkin
5a2412f418
Match the MSVC batch build tool sub-routine 'fn_UnsetVariable' a bit more robust.
...
FossilOrigin-Name: 1edd5f31b9e6f91bb5434055a539428c000f1084
2016-01-27 23:50:14 +00:00
drh
def19e3b48
Change the name of the BTREE_IDXDELETE flag to BTREE_AUXDELETE, to better
...
reflect its purpose.
FossilOrigin-Name: 1d3bf6bebdda9f96734bc139601e9b05344ea0b4
2016-01-27 16:26:25 +00:00
dan
127f720240
Fix tests in fordelete.test to test for the BTREE_AUXDELETE flag.
...
FossilOrigin-Name: bbd25cf179df5bda1fe729928d6746248f06e46f
2016-01-27 16:17:41 +00:00
drh
b89aeb6aa2
Add assert() statements on the nExtraDelete variable in vdbe.c to try to verify
...
that the FORDELETE and IDXDELETE flags are being generated correctly. Those
flags are not currently generated correctly, and so the assert()s trip on this
check-in.
FossilOrigin-Name: dde1db0dd2e2cf04706117629756c352b178ebb8
2016-01-27 15:49:32 +00:00
mistachkin
d5be6f01cd
Support building for Windows 10 desktop using 'MinCore.lib'.
...
FossilOrigin-Name: 4bf89891fbb076364dc45a6bf3246efa6bc33d5d
2016-01-27 07:28:33 +00:00
drh
8716bfd8cd
Merge all recent trunk enhancements.
...
FossilOrigin-Name: 9a71d56dcea953cb965f1fdda9a8b8f158cdeff6
2016-01-26 23:32:55 +00:00
dan
2f36f06e10
Performance improvements for fts5, particularly detail=col mode.
...
FossilOrigin-Name: a3d7b8ac53f94d29a11362f193fd1967f30583df
2016-01-26 20:19:55 +00:00
dan
18205c781d
Further minor performance improvements and code-size reductions related to fts5 column filters on detail=col tables.
...
FossilOrigin-Name: b4ac61aeee976296e7719949cd4fb496147a29e8
2016-01-26 20:08:50 +00:00
dan
1c16bccb79
Improve the performance of fts5 column filters on detail=col tables.
...
FossilOrigin-Name: 249a2d070c34bf884a04cb248b9691e239f2871c
2016-01-26 19:30:49 +00:00
dan
fee981e5b9
Enhance fts5txt2db.tcl, a script used to generate fts5/fts4 databases for performance testing.
...
FossilOrigin-Name: c646e40350e5aa91abcf52de61fb31275bad38f9
2016-01-26 17:08:22 +00:00
dan
8770677c1e
Fix issues on unix with opening database files via symlinks that are not in the current working directory. And with nested symlinks.
...
FossilOrigin-Name: 4003db4a49c6b623750e56f626fa492c8402067f
2016-01-26 14:48:02 +00:00
dan
2349670262
Ensure that unixFullpathname() always nul-terminates its output buffer, even when returning an error.
...
FossilOrigin-Name: 4a4385564dd3887a7953820b60c99d6ce289f96a
2016-01-26 13:56:42 +00:00
drh
f0fc992936
Remove an unused variable.
...
FossilOrigin-Name: 1c2656c1d37906230edc142d3a4253b16b6e925f
2016-01-26 00:12:42 +00:00
drh
9e0caad428
Add the ability to do Windows builds to the amalgamation tarball.
...
FossilOrigin-Name: abd2b357c55fdcdbc8e66a81a3fbb7f822ea0a4f
2016-01-25 23:24:38 +00:00
drh
a72d15b5f0
Minor changes to the autoconf/README.txt file.
...
FossilOrigin-Name: 6df8a9c00a9d067f67d492da7a4617908070c6c0
2016-01-25 23:19:58 +00:00
drh
2aac8c7ba1
Fix a compiler warning about doing pointer arithmetic involving a NULL pointer
...
even though the result of computation is never used.
FossilOrigin-Name: 7c49a9478bd36564e81d33458ca1f4063ddaca83
2016-01-25 22:08:11 +00:00
dan
af1b36b1df
Only use lstat() if the HAVE_LSTAT macro is defined. Fix some test file issues.
...
FossilOrigin-Name: 8a6e4147a680ad6c5fdd588468b6daac82349d2c
2016-01-25 18:43:05 +00:00
dan
caf6b150a1
Simplify the unixFullpathname() function. This adds a dependency on lstat().
...
FossilOrigin-Name: f71249d3db9242b8f38955db51a7a5789d002803
2016-01-25 18:05:49 +00:00
dan
e88ec187cd
Fix issues on unix with opening database files via symlinks that are not in the current working directory. And with nested symlinks.
...
FossilOrigin-Name: 80398fd44fb232193450103808e1854e0eba5652
2016-01-25 17:04:48 +00:00
drh
cc2fa4cf55
Replace the OP_SetIfNotPos operator with OP_OffsetLimit in the VDBE, for
...
simpler and smaller code.
FossilOrigin-Name: 7ac017a498b6fb28343eef2d24e400c7800660d6
2016-01-25 15:57:29 +00:00
drh
164c957b09
Add the SQLITE_EXTRA_DURABLE compile-time option.
...
FossilOrigin-Name: 30671345b1c1ee55a2d1aa17273213f1849efd81
2016-01-25 13:55:47 +00:00
drh
a7dc4a321d
Small simplification to the prepare statement opcode memory reuse logic.
...
Easier to read, and slightly smaller and faster.
FossilOrigin-Name: 8a1deae497edf3fa43fa96152d140405398c5ed6
2016-01-25 02:15:02 +00:00
drh
d0d0f8dc67
Small simplification and performance improvement in memsys5Free().
...
FossilOrigin-Name: 0a9cff5c4822874b74e90bfca3963bc7e5c753a5
2016-01-25 01:07:59 +00:00