drh
58a8a9236e
Change all references to 3.8.12 into 3.9.0. Comment changes only - no
...
changes to code.
FossilOrigin-Name: 6f2858f6817ca70c132f0437ac2f0f74deb273d2
2015-10-12 04:56:12 +00:00
drh
bfad7be78a
Detect and report circularly defined views even if the views have the
...
columns defined in the CREATE VIEW statement.
FossilOrigin-Name: 9ab9c8c6d747647f8ade58c2c4812fc69a813368
2015-10-11 20:39:46 +00:00
drh
2906490b71
Remove an unreachable branch in the query flattener substitution logic.
...
FossilOrigin-Name: 46ee3453a31b5e793d5aaad471cec1b1a11ab2cf
2015-10-11 20:08:31 +00:00
drh
d12b636330
Improved substitution logic in the query flattener. Saves code space, and
...
(more importantly) works correctly with table-valued functions.
FossilOrigin-Name: 3d0bd95e977db50c314d33ec292f99e0539d7b4a
2015-10-11 19:46:59 +00:00
drh
48310f8c51
Work around a "security feature" bug in memcpy() on OpenBSD.
...
FossilOrigin-Name: fab6f09044d033dd09ed8a22e06bc6a7851bbabf
2015-10-10 16:41:28 +00:00
drh
72724da95a
Remove another instance of strcpy() from FTS5, to mollify OpenBSD.
...
FossilOrigin-Name: 35e6248abb4435a8b26d270092b856beff867406
2015-10-10 15:57:20 +00:00
drh
c5971cc859
Omit the use of strcpy() in FTS5 since OpenBSD hates strcpy().
...
FossilOrigin-Name: bc24a5bbfd95df3518611b221de69b73776111bc
2015-10-10 15:11:49 +00:00
drh
728e0f91bb
Compiler warning fixes: Rename some local variables from "j1" to avoid a
...
name collision with the j1() bessel function in the math library. Omit a
dummy initializer that gcc 4.6.3 does not like.
FossilOrigin-Name: 9ddef84d432813f3ece8012047d08441caa3315d
2015-10-10 14:41:28 +00:00
drh
9a4718ff73
Add some #ifdef-ery to json1.c to avoid a duplicate typedef when used in the
...
amalgamation, since some compilers become upset over duplicate typedefs.
FossilOrigin-Name: de28acd42f29693341feb884b7223cd3d2b96730
2015-10-10 14:00:37 +00:00
drh
a0882fad7c
The previous fix to JSON1 was not complete. A few more tweaks are needed
...
for correct handling of all oversized integers.
FossilOrigin-Name: 4a47f0177851721cdf6c981df962b6e8862372e7
2015-10-09 20:40:44 +00:00
drh
8deb4b8b17
Fix the JSON1 extension so that it renders integers outside the range
...
of -9223372036854775808 to +9223372036854775807 as floating-point numbers.
FossilOrigin-Name: ae736e35fb59c9aed33a8c805cf2ecdee528051f
2015-10-09 18:21:43 +00:00
dan
6cac258245
Remove fts5 sources from TESTSRC2 in main.mk as there is no SQLITE_TEST code in said files.
...
FossilOrigin-Name: c1840639b8ce8314602cd2396a324de8fac98dbe
2015-10-09 17:54:10 +00:00
dan
2572751be8
Add --enable-fts5 and --enable-json1 options to the amalgamation autoconf package.
...
FossilOrigin-Name: 8a4e19888f512c3ee95aa3040924fc932fbdab1a
2015-10-09 14:37:15 +00:00
mistachkin
8381be4ace
In the MSVC makefile, adjust the names of two nmake variables for consistency.
...
FossilOrigin-Name: 92aa4b6b6fbb83f965e4c4be0aa21a8b7e330ed8
2015-10-09 14:23:56 +00:00
drh
c4e6d1775e
Change the version number of the next release to 3.9.0.
...
FossilOrigin-Name: aa8fdadf2defed00a28366a3b35a3e2eefecf0ed
2015-10-09 13:42:52 +00:00
drh
b5c8d27c7d
Add the JSON1 and FTS5 extensions to the amalgamation. Add new options
...
to ./configure: --enable-json1 and --enable-fts5.
FossilOrigin-Name: 1eb769933108cf401b25c8d784ea23f27324a0bd
2015-10-09 13:39:51 +00:00
drh
64db184efa
Fix a typo in the MSVC Makefile
...
FossilOrigin-Name: c8a12082380991781b5ecd2f479ec65600f4f695
2015-10-09 13:29:27 +00:00
drh
ce1d9f546b
Add configure script options --enable-fts5 and --enable-json1. Automatically
...
search for -lm when using --enable-fts5.
FossilOrigin-Name: a0c44f1d46f1f31043d66f20c8dc0df53db15c30
2015-10-09 12:48:33 +00:00
dan
0008ce7cc5
Makefile and fts5 changes so that fts5 works with main.mk. Still does not work with Makefile.in.
...
FossilOrigin-Name: 6ebac32d8378e46f44a6eb55aaa30baf4d7dde7d
2015-10-09 11:09:47 +00:00
drh
45fac88951
Trying to get FTS5 tests to build and run using main.mk. Not yet working.
...
FossilOrigin-Name: 206174f9b154c590a3e2e94236db38e111d64bdb
2015-10-09 01:42:49 +00:00
drh
c306e08ad5
Json1 tests are working. Builds without FTS5 enabled. Still some problems
...
building with FTS5.
FossilOrigin-Name: 2928f8e87d2e5d121e6e7e5993cbb773bb2b0603
2015-10-08 23:37:00 +00:00
dan
d3b90a2e41
Remove calls to "load_static_extension" from fts5 test scripts.
...
FossilOrigin-Name: 53dd7c4c65842c5c9ed3e84edd62e24f2c9be15b
2015-10-08 21:02:29 +00:00
dan
23fda8242c
Further tweaks to main.mk so that fts5 builds as part of testfixture.
...
FossilOrigin-Name: 97e11b79a52fb1c57f0afd2dbd6ee66cf00a922d
2015-10-08 21:00:46 +00:00
dan
56eac26897
Fix further fts5 compilation issues.
...
FossilOrigin-Name: 0d7f301fb03c8546a5dbce5d061a1d74e3c86bcf
2015-10-08 20:40:18 +00:00
dan
351ccb3825
Fix two more warnings in fts5 code.
...
FossilOrigin-Name: 5343e601fb6f0f24f4e4d5d442f7b5b074734143
2015-10-08 20:28:33 +00:00
dan
056d7acf25
Fix a couple of errors in fts5 compilation. This branch still does not build with -Wall -Werror.
...
FossilOrigin-Name: e9e76e12812b9b42b1142246b71cea98e26903aa
2015-10-08 20:11:42 +00:00
drh
50065656f7
First attempt to add json1 and fts5 to the amalgamation. This check-in does
...
not compile.
FossilOrigin-Name: d820a1bd1b8dd702d1b3a099af393530cc5a5d51
2015-10-08 19:29:18 +00:00
mistachkin
b2682eb14b
In the RBU extension, use MoveFile() instead of rename() on Windows CE.
...
FossilOrigin-Name: df9ef61f1ba2e3a3420fae84e3eaa2e0e235bc28
2015-10-08 17:35:51 +00:00
drh
d7fd6aa4ba
Remove two unused lines of code - discovered by scan-build.
...
FossilOrigin-Name: 77b707b77496a08703fe9405e8e4521a4e5b419e
2015-10-08 02:44:42 +00:00
dan
98e713bb8d
Further optimizations for fts5 prefix queries without a prefix index.
...
FossilOrigin-Name: 83dc1ff7fa010715ca7f406a572f4ee444a967d7
2015-10-07 19:06:21 +00:00
mistachkin
08114efde4
Fix harmless compiler warning in FTS5.
...
FossilOrigin-Name: 13adcd038fc20dd1b6f344f79b449b4034f8f8f2
2015-10-07 17:06:17 +00:00
dan
22c7cca21f
Allow the subsitute character (codepoint 26 - 0x1A) to appear in fts5 barewords.
...
FossilOrigin-Name: baec1b96cb64a6a6317143a8df841e502afe3914
2015-10-07 17:01:22 +00:00
drh
1dcc97cd3a
Adjustments to spellfix2.test so that it works reliably on mac.
...
FossilOrigin-Name: d591e860d3d7c61637b4b07989bf176cb337db2c
2015-10-07 16:14:18 +00:00
dan
d46cc33131
Add tests for fts5 phrase queries with column filters.
...
FossilOrigin-Name: f20f9f813f00cefcd427e506a09b0b973c782e3f
2015-10-07 13:24:27 +00:00
dan
92099b0753
Add further tests for fts5 prefix queries.
...
FossilOrigin-Name: accdc98b1291f07b802fd23f3ebc7dbc02ba09d3
2015-10-07 09:02:50 +00:00
mistachkin
6418ffab82
Fix a typo in the previous check-in.
...
FossilOrigin-Name: 80027709c3ba2a8c9bda4d37779f65104be1045c
2015-10-07 04:20:34 +00:00
mistachkin
6bd7456edd
When running tests on Tcl 8.6 under Windows, skip tests 'uri-1.12.*' due to a change in Tcl behavior related to NTFS ADS (alternate data streams).
...
FossilOrigin-Name: 8a0a2aa5a6df3d7b5995457b57f051e39d6cf9e9
2015-10-07 03:07:41 +00:00
drh
ee38148785
Remove three obsolete and unused files from tool/
...
FossilOrigin-Name: 0abd65294e6e8db68e7ce6724f02f17ba1cb3422
2015-10-07 00:35:18 +00:00
mistachkin
91a3ecb0ad
Fix typo in comments. No changes to code.
...
FossilOrigin-Name: a05f903c64edeba8a9748aad68f5981943e68b3c
2015-10-06 21:49:55 +00:00
drh
8b0cf38a12
Simplifications to the VDBE bytecode that handles LIMIT and OFFSET.
...
FossilOrigin-Name: 041df7c2f14b95868a08090354ebb3308050790e
2015-10-06 21:07:06 +00:00
dan
a2507137f3
Optimizations for fts5 expressions that filter on column. More still to come.
...
FossilOrigin-Name: bf1607ac155018573ca40fb58aca62c5fea7e60b
2015-10-06 20:53:26 +00:00
drh
9f1ef45f6a
Fix the LIMIT and OFFSET handling for UNION ALL queries that contain a
...
subquery with ORDER BY on the right-hand side. Fix for ticket
[b65cb2c8d91f668584].
FossilOrigin-Name: 4b631364354068af95a01630469cb6fbfe8b52fd
2015-10-06 17:27:18 +00:00
mistachkin
8d9837acd5
Adjustments to sqlite3MemoryBarrier() when compiling with MSVC and/or WinCE.
...
FossilOrigin-Name: 3168326ebfa1c961d8fc6435453b02be23d910cc
2015-10-06 01:44:53 +00:00
dan
6f832d3dff
Improve performance of prefix queries without a prefix index on fts5 tables.
...
FossilOrigin-Name: f2f0184e9e1c9f121ee2ac864cd28c8cd8efecb5
2015-10-05 19:41:16 +00:00
dan
f24bebe37a
Update fts3 so that expressions to the left and right of a NOT operator are balanced. This prevents relatively small expressions (a dozen terms or so) that are children of NOT operators from triggering the "expression tree is too large" error.
...
FossilOrigin-Name: d6b66cd7b89fbd964f798d160a34caac0ba7347a
2015-10-05 15:39:45 +00:00
dan
2c1023df09
Add fts5txt2db.tcl, a tool for creating sample fts4/5 databases from text files.
...
FossilOrigin-Name: 44f1ce30d1e446c9ee5f8bd8a62119e00356aa0e
2015-10-05 11:57:09 +00:00
dan
a0f197b842
Update fts5 to support the table function syntax. "... FROM fts5_tbl WHERE fts5_tbl MATCH ?1 AND rank MATCH ?1" can now be written "FROM fts5_tbl(?1, ?2)".
...
FossilOrigin-Name: 41d17d9e24303aed6d549ea23c62b93bf2f71691
2015-10-03 15:38:57 +00:00
dan
06f8c635ef
Add tests for the rtree module to verify that attempts to insert non-integer primary key values or non-numeric dimensions into an rtree table are handled correctly.
...
FossilOrigin-Name: f653fce90846b700441e8fa5f1930c1ec5e38e31
2015-10-03 12:23:18 +00:00
dan
bca189d5d8
Update fts5 to avoid using a statement journal for UPDATE and DELETE operations that affect at most a single row.
...
FossilOrigin-Name: 5c83b9db46d61cfa76a1abed50467e2f02db0eb0
2015-10-02 20:04:30 +00:00
dan
5171e911f2
Fix an fts3 bug causing NEAR queries on uncommitted data to malfunction.
...
FossilOrigin-Name: 6f90839e91024e2006042f5eb7f21ca5b47a9b4a
2015-10-01 18:31:29 +00:00