Commit Graph

15184 Commits

Author SHA1 Message Date
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
e9eb1593f5 Fix an fts5 problem with using both xPhraseFirst() and xPhraseFirstColumn() within a single statement in detail=col mode.
FossilOrigin-Name: 72d53699bf0dcdb9d2a22e229989d7435f061399
2016-01-23 18:51:59 +00:00
dan
e17b646fd5 Merge trunk changes (including fixes for warnings in fts5) with this branch.
FossilOrigin-Name: ceccc9ad788fb4da9120915741995b9f088f85ff
2016-01-23 16:20:16 +00:00
dan
c66d03f1e1 Fix some signed/unsigned comparison compiler warnings in fts5.
FossilOrigin-Name: 3be336aa893f9eb0837d7d66c83bab1489792b9a
2016-01-23 15:57:06 +00:00
dan
8498f387be Fix a problem involving detail=col and column filters.
FossilOrigin-Name: 7558a0ad2276e91f2faced8ea405d9fdb4fa0c6e
2016-01-23 14:45:36 +00:00
drh
c615097d3d Remove an assert() that can be false if compiled with SQLITE_USE_ALLOCA.
FossilOrigin-Name: f0a551edf87ef061deae34d88b02c3b484ae9adc
2016-01-23 14:05:27 +00:00
mistachkin
4cfea5c794 More work on the MSVC build.
FossilOrigin-Name: a79c46bc61a35edbaf6112c26e8052314b0eb16a
2016-01-23 00:07:51 +00:00
drh
147ef39486 In the TCL interface, if a database connection object was opened with
the -uri 1 option, then also honor URI filenames for the "backup" and
"restore" commands.

FossilOrigin-Name: a1c8116ced62d81f3f5ca26bbe0877e829d4cc56
2016-01-22 23:17:51 +00:00
mistachkin
a8a1873485 More MSVC makefile cleanup.
FossilOrigin-Name: df22556fd75997111e52f96572da8379dfe948be
2016-01-22 22:16:50 +00:00
dan
795502d26c Experimental performance enhancements for fts5.
FossilOrigin-Name: b5a57b812fd6a734cf2a342bf0b730ae18912d73
2016-01-22 19:48:34 +00:00
drh
c3dfa5eba7 Reenable the xCurrentTime and xGetLastError methods on the unix VFSes as long
as SQLITE_OMIT_DEPRECATED is not defined.

FossilOrigin-Name: c11c85fdb6514cae54bb44945cc197dcaba72307
2016-01-22 19:44:03 +00:00
drh
40aced5c65 Add the sqlite3TokenInit() utility function.
FossilOrigin-Name: 7323175337b7ba85ac932ca892b28860f6a5b688
2016-01-22 17:48:09 +00:00
dan
b5c557b87e Have the dbstat module dequote any argument passed to the CREATE VIRTUAL TABLE statement before attempting to match it against the names of attached databases.
FossilOrigin-Name: e60461e984b8df09256bb0d733dbfae52568a145
2016-01-22 15:44:07 +00:00
mistachkin
d7d305a25a Enable FTS4 when building the shell with the MSVC makefile.
FossilOrigin-Name: e4c07df557cd50786b05eecf011bf94708e6e31b
2016-01-22 04:22:36 +00:00
mistachkin
5d4d941e94 Further refinements to the MSVC makefile.
FossilOrigin-Name: 67625b963a6f5a0c6dff1a04a323e693569c2d94
2016-01-22 03:54:36 +00:00
mistachkin
edcb4ebba1 MSVC makefile enhancements for use with the Windows 10 SDK.
FossilOrigin-Name: ac2e9d3de54d299f92fc35927b6df6d3aaa2dc59
2016-01-22 01:25:15 +00:00
mistachkin
153d3e91db Fix typo in 'Makefile.in'.
FossilOrigin-Name: 29a51c6dcc0ef7cab51aba0024e9c5bec89c6973
2016-01-21 18:56:10 +00:00
drh
9c0c57a4ca Improved comments on the FORDELETE hint. No logic changes.
FossilOrigin-Name: a3cec529f0238e4ca1196fec420f2de80d28db78
2016-01-21 15:55:37 +00:00
mistachkin
b5a5a23e92 Add 'rbu' to the clean targets.
FossilOrigin-Name: f60f025027ab3acdbc97701f81ff9c11c8463022
2016-01-20 18:47:59 +00:00
dan
bd5af9ea31 Add a -detail option to the loadfts5.tcl script. For creating tables with the detail= option set.
FossilOrigin-Name: 81e830e21f81b6428209afa0b8f42f2fd9bd7aab
2016-01-20 16:36:10 +00:00
dan
30908c97ac Fix a problem in autoconf/configure.ac causing --enable-readline to fail if libedit was not present.
FossilOrigin-Name: e8adeb64d4e463772feb58dbd6f00715b92e735c
2016-01-20 15:19:56 +00:00
drh
fb3972602c Case folding in the LIKE operator should look at all bits of the character,
not just the lower 8 bits.  Fix for ticket [80369eddd5c94].  This is a
back-out of check-in [0a99a8c4facf] with a testcase added.

FossilOrigin-Name: 204432ee72fda8e82d244c4aa18de7ec4811b8e1
2016-01-20 14:22:41 +00:00
dan
5c3aa0517e Improve performance of sqlite3VtabImportErrmsg().
FossilOrigin-Name: 18d61c8e40ed1466b6a3a2f53bf0eeb09687c20e
2016-01-20 08:47:55 +00:00
drh
1da26a48dd Performance improvement in sqlite3DbMallocRaw().
FossilOrigin-Name: ff8eadbed5004ab03438f737492387dee6b9750a
2016-01-20 03:36:32 +00:00
drh
939e778bc8 Suppress the display of the P4 operand in EXPLAIN output when an opcode
has been converted into a No-op.

FossilOrigin-Name: 9f8297f862a110ded686d091854fae20c6bc393c
2016-01-20 02:36:12 +00:00
drh
9bfb024de0 Remove an unnecessary memset() from the symbol name resolver.
FossilOrigin-Name: da527ddae06460ab4b706cdb871de2188ebaf5ac
2016-01-20 02:21:50 +00:00
drh
4b31bda2c5 Remove an unnecessary memset() for a small size reduction and speed improvement.
FossilOrigin-Name: 730d7efb6fef54ed7c1f4ae27e3b55778ea6ff01
2016-01-20 02:01:02 +00:00
drh
6d664b4bb3 During compilation, transfer the azVar[0..nzVar-1] array from Parse to Vdbe
rather than copying it.  Smaller and faster code.

FossilOrigin-Name: 80dd495f378614e4eca72e71e43061b1b94ee450
2016-01-20 01:48:25 +00:00
drh
36b78ee7d8 Very small simplification to the btree balancer.
FossilOrigin-Name: f421adf54c9db91ba6ca64a8ba3751680e47924a
2016-01-20 01:32:00 +00:00
drh
e40cf40c1a Fix an incorrect VFS version number check in the threadtest3.c test program.
FossilOrigin-Name: 5bf6442bec83977006bc5049adcdbd4dd39369fe
2016-01-19 21:36:26 +00:00
drh
b8763639bb Fix two harmless compiler warnings about comparisons of dangling pointers.
FossilOrigin-Name: 86944f193f1f06b64471953bb5713ecea7f3d803
2016-01-19 17:54:21 +00:00
dan
4684ffd495 Add further fts5 tests. 100% code coverage is finally restored.
FossilOrigin-Name: b914ece0d146cfc8adba4dc4e8633e14f174d6ea
2016-01-19 16:06:23 +00:00
dan
6d3c2889ec Add tests for fts5. Fix a crash that can occur in fts5 if the database content is corrupted.
FossilOrigin-Name: acaf426449bf6fd3140fd63141750ff69d1119a5
2016-01-18 17:48:28 +00:00
drh
c263f7c4b3 Avoid unnecessary calls to memset() for a small performance improvement.
FossilOrigin-Name: 9e8c23acf74944a165c733682a956948b15bd401
2016-01-18 13:18:54 +00:00
dan
0536a07c0e Add a debugging function to print human-readable versions of fts5 detail=none leaf pages.
FossilOrigin-Name: 8358af3658d888516cdef5f8c8d89e9bdee53f91
2016-01-18 09:08:56 +00:00
drh
e617bc8c0c Simplification of the VDBE bytecode for incremental blob I/O.
FossilOrigin-Name: d23849f64a110e336f26282bf2b961a2a2372468
2016-01-18 00:46:11 +00:00
drh
dad300d8e1 Fix a problem with SQLITE_TEST_REALLOC_STRESS.
FossilOrigin-Name: 0aaf3febb00f622c5ef0853b2491d69f7ca7a21e
2016-01-18 00:20:26 +00:00
dan
3ed7029921 Add extra tests to cover untested branches in fts5.
FossilOrigin-Name: 61deab043dcea860070dba6b02601a7de627fff1
2016-01-16 21:06:41 +00:00
drh
2ce1865dd8 Improvements to the way sqlite3VdbeAddOpList() works, resulting in a slightly
smaller and faster binary.

FossilOrigin-Name: 88ceb588bcdb3ca86d0c58cfdeb61b5fe070872f
2016-01-16 20:50:21 +00:00
dan
8631402e6a Add further tests for fts5. Fix some problems with detail=col mode and auxiliary functions.
FossilOrigin-Name: de77d6026e8035c505a704e7b8cfe5af6579d35f
2016-01-16 18:58:51 +00:00
drh
9b34abee30 Use sqlite3VdbeAddOp4() rather than a separate sqlite3VdbeChangeP4() call, for
a slightly smaller and faster binary.

FossilOrigin-Name: a4258cd4613c55acacb5c7b61faa3de7eb0759d2
2016-01-16 15:12:35 +00:00
drh
095fb474ef Fix a potential use-after-free problem when compiling with SQLITE_HAS_CODEC.
FossilOrigin-Name: 653ea15ad8e23b333e234eb5dde7b80134db2baf
2016-01-16 03:16:19 +00:00
drh
079d446dd2 Remove an unnecessary memset().
FossilOrigin-Name: 689421a9f73ceeab9786840a2d6ee008124d1f25
2016-01-15 21:55:46 +00:00
dan
25247435be Rationalize some code in fts5_storage.c. Add tests to cover recently added branches in fts5.
FossilOrigin-Name: 3b72df405ac9b3a71144f45317d32e25f0084c4b
2016-01-15 19:54:47 +00:00
drh
241873e55c Remove unnecessary de-initialization of the Parse object.
FossilOrigin-Name: 75ab30c5fcb51e556342dc3112f9acf122f79947
2016-01-15 16:11:58 +00:00
drh
055f298ad4 Work toward making the schema parsing logic simplier and more compact.
FossilOrigin-Name: c52ca2c0662bb30ab34574f933429512655b19ff
2016-01-15 15:06:41 +00:00
mistachkin
1e38927c12 Fix a couple C99-isms in FTS5 that cause compile errors on MSVC.
FossilOrigin-Name: 584848d4396d7755027fab377c97e40fbcc90d21
2016-01-15 05:39:55 +00:00
drh
2d80151f32 Combine the xFunc and xStep pointers of the FuncDef object into a single
pointer xSFunc.

FossilOrigin-Name: 0d1b3d7d3ca66cb0b97493f1aeade1703af3c9f4
2016-01-14 22:19:58 +00:00
dan
2cfe049f40 Add a test to verify that the fts3 and fts5 "unicode61" tokenizers are byte for byte compatible.
FossilOrigin-Name: 8ec8314354edc9d6f7d1c8a6370fd984a552a52f
2016-01-14 20:05:59 +00:00
drh
3349620e9e Simplification to the ISO8610 parser in the imnplementation of date/time
functions.

FossilOrigin-Name: b9159f42a517a95ae52464c96431708c00b7bb36
2016-01-14 19:32:46 +00:00