drh
2606aca80f
Merge recent enhancements from trunk. Default page size is 4096. Writes
...
to statement journals are avoided.
FossilOrigin-Name: 456df3365e2df60e34762f2024bb551538b3f72b
2016-03-04 16:42:43 +00:00
drh
3298a641a2
Defer opening and writing statement journals until the size reaches a
...
threshold (currently 64KiB).
FossilOrigin-Name: cb9302cca423de41305719a49208daa392ec09da
2016-03-04 14:43:44 +00:00
drh
3ac9a86415
Update test cases to taken deferred statement-journal opening into account.
...
FossilOrigin-Name: 5b2fe5219ab9ad15969e3374894a75979b65cb3c
2016-03-04 14:23:10 +00:00
drh
14520bfd23
Merge changes from trunk.
...
FossilOrigin-Name: a87305dfd49ee17632d0bce66ce7c2e9407b7b3e
2016-03-04 13:08:35 +00:00
drh
94580868f5
Change the default cache_size to -2000 (which means 2000*1024 bytes
...
independent of page_size).
FossilOrigin-Name: 2682e8e413fadbca0673f242769af17bfd291559
2016-03-04 04:01:43 +00:00
drh
9878fefd6f
Change the default page size for new database files to 4096 (from 1024).
...
Except, when building the testfixture, preserve the legacy page size.
Also fix a comment on SQLITE_MAX_ATTACHED.
FossilOrigin-Name: 2e8a9ca9d3d6efddc31f01074d14acae56568c37
2016-03-04 03:43:10 +00:00
drh
e808d7c1fe
Detect the presence of pread()/pwrite() system calls on unix systems and
...
use them if available.
FossilOrigin-Name: 82cbf5ad2ed988a006106e188e98096a52e6779d
2016-03-04 03:20:05 +00:00
drh
79a2ca3944
Further fixes to the pread()/pwrite() enabling logic.
...
FossilOrigin-Name: 38fb54e7854ac0500a88585ff9dd7487b4b2e586
2016-03-04 03:14:39 +00:00
drh
a46cadc42e
Fix the build for cases when pread()/pwrite() are not available.
...
FossilOrigin-Name: 7d67d876b70c7a4199697c5b112d809c600e140e
2016-03-04 03:02:06 +00:00
drh
ddebf16f1f
Add the test_bestindex.c file to Makefile.in and Makefile.msc so that
...
"make test" will work again.
FossilOrigin-Name: 6ec6b6a97e62be1abe1e349b5bc04c6f5ae88968
2016-03-04 02:59:35 +00:00
drh
e32a256acd
Update the configure script to detect pread/pwrite and update os_unix.c to
...
use those routines if they are available.
FossilOrigin-Name: 2cffb9e50bed77d1079603f5b4a71b7559de7294
2016-03-04 02:38:00 +00:00
drh
ff6b826631
Get in-memory subjournals working for builds without SQLITE_ENABLE_ATOMIC_WRITE.
...
FossilOrigin-Name: b5378dcea53d4cd1744d13ddee5e50869607b771
2016-03-04 00:13:29 +00:00
drh
a05fc913ab
Merge the latest updates from trunk.
...
FossilOrigin-Name: 55c00f716dc98b188c91f3a5a010242c9497785f
2016-03-03 21:29:10 +00:00
drh
862acaa3f4
Reduce the amount of heap memory required to store many schemas by storing
...
the column datatype appended to the column name (with a \000 separator),
rather than in separate memory allocation.
FossilOrigin-Name: 16fbf2e19c22df9441aef5c8b7f5670adc38a6b6
2016-03-03 21:22:53 +00:00
drh
2b33f6e775
Allow the left-hand side of IN operators on virtual tables to have the
...
aConstraintUsage[].omit flag clear.
FossilOrigin-Name: 3eb74342740cd393e03aa38cd01690ccab173b76
2016-03-03 20:42:18 +00:00
drh
5b38201708
Merge 3.11.1 changes into trunk.
...
FossilOrigin-Name: 7abc2dd953477797fa05421b061d73596aa025fb
2016-03-03 17:54:30 +00:00
drh
c5c1507612
Version 3.11.1
...
FossilOrigin-Name: f047920ce16971e573bc6ec9a48b118c9de2b3a7
2016-03-03 16:17:53 +00:00
drh
2396fce54e
Increase the default upper bound on scope to 30.
...
FossilOrigin-Name: b1258814f6100f594210775e9e3007b5b0c65025
2016-03-03 15:16:15 +00:00
dan
b78b83a2f6
Add new test script bestindex1.test to the utf16 permutation.
...
FossilOrigin-Name: 5893e97244126c80762e55249461f21a4e81bb70
2016-03-02 17:57:53 +00:00
dan
512c09b0bd
Add an extra test for the change on this branch.
...
FossilOrigin-Name: d2d28251566d2a0ec1a07fe5b8ed047136840bfd
2016-03-02 16:13:53 +00:00
dan
9cc24c8002
Enhance test_bestindex.c so that it can be used to test plans generated by xBestIndex.
...
FossilOrigin-Name: 3c15a9bf45cd7dae2fbd99123b8dd75ce278d6e4
2016-03-02 16:01:41 +00:00
dan
341b20fb12
Fix a recently introduced problem in permutations.test causing an error when the QUICKTEST_OMIT environment variable is defined.
...
FossilOrigin-Name: 45bc9557722cc2a1398a53fdb2acd8b6692f3121
2016-03-02 15:37:50 +00:00
dan
e18ec6acc2
Fix an error in an fts5 test script.
...
FossilOrigin-Name: b2a03e2d479aec2fc68dfc83a1fa34c740f44e13
2016-03-02 13:26:19 +00:00
drh
dbc49161c0
Allow the left-hand side of IN operators on virtual tables to have the
...
aConstraintUsage[].omit flag clear.
FossilOrigin-Name: 1622623cbbfc4325c53d731aba78ca9c382ec612
2016-03-02 03:28:07 +00:00
drh
47784529cc
Add the optional -DSERIES_OMIT_CONSTRAINT_VERIFY=0 option to the series.c
...
extension that implements the generate_series() virtual table.
FossilOrigin-Name: 3d9daa929c0abe6dc01e800ef343b0eef2f0c76a
2016-03-02 00:58:49 +00:00
drh
7434b1dbf4
New test cases and infrastructure for testing the xBestIndex method of
...
virtual tables.
FossilOrigin-Name: 1d41c161165006d6c2af47e476f05fb13039f8b8
2016-03-01 22:48:00 +00:00
drh
4fb48e4eb1
Improved debugging output with wheretrace. Fix some typos in test script
...
comments.
FossilOrigin-Name: 13a37fd487ce7d4f98a12f7a67a9c05dadc66557
2016-03-01 22:41:27 +00:00
dan
23c3c38dd6
Fix a memory leak in the test code on this branch.
...
FossilOrigin-Name: 7a1add56341f43dc41adc7b370e58860f4dd50a3
2016-03-01 18:35:55 +00:00
dan
a3a44dd379
Allow test_bestindex.c to set the omit flag for a constraint.
...
FossilOrigin-Name: 759b9d5b22aa60cc1d6b606f81eb7366c28cbcbe
2016-03-01 18:24:36 +00:00
dan
8e4251b633
Add test code useful for testing the planners use of teh virtual table xBestIndex() method.
...
FossilOrigin-Name: de034c0db66298454ae8418949d58eb6e223c0de
2016-03-01 18:07:43 +00:00
dan
bce50c734b
Do not attempt to run fts5bigtok.test or fts5merge2.test if FTS5 is not compiled in.
...
FossilOrigin-Name: f7ed373953c2dea0919a85dfb461dfef512cd5fc
2016-03-01 16:56:26 +00:00
dan
e82126c9d0
Add -DSQLITE_ENABLE_FTS5 to one of the release-test configurations in releasetest.tcl. Run fts5 tests as part of "make test" if SQLITE_ENABLE_FTS5 is defined.
...
FossilOrigin-Name: 3cee93716f2aece03bf9b835fb7b5294e4ddc176
2016-03-01 16:02:57 +00:00
drh
fb02bad04f
Remove a forgotten "breakpoint" command from an FTS5 test script.
...
FossilOrigin-Name: 61927c8f3156c6e61b768318b3cd3bcc4144e17b
2016-03-01 15:52:41 +00:00
drh
5ec04f0943
Increase the version number to 3.11.1
...
FossilOrigin-Name: 2dcd2fdafe933b74e2d90923986c5ee5791d8223
2016-03-01 15:41:31 +00:00
dan
a93cd623cf
Merge branch-3.11-matchinfo into this branch.
...
FossilOrigin-Name: 42358170b35cc3e25c42f20e56f3f67e809001ba
2016-03-01 15:09:15 +00:00
dan
b1e8d31edf
Fix a problem in fts5 where a corrupt db could lead to a (huge) buffer overread. Cherrypick of [c9a30e117f].
...
FossilOrigin-Name: daef5869f4d62ebb24eb03b79fe4be0812fa0496
2016-03-01 14:51:36 +00:00
dan
45a0e4eb59
Fix an fts5 problem causing 'optimize' to corrupt the fts index under some circumstances. Cherrypick of [251d6473f7].
...
FossilOrigin-Name: 5b1b7ab5d67f3d691e52ba57dbc14c52d90c6631
2016-03-01 14:50:55 +00:00
drh
889cb33b8f
Better estimatedCost in the xBestIndex method of the generate_series vtab.
...
FossilOrigin-Name: f2c16094a536e7ef62444d0fe38cbee2a4999426
2016-03-01 02:11:50 +00:00
dan
6e76326d18
When using a temporary file for a statement journal, store the first 64KiB in memory. If the file grows larger than that, flush it to disk and free the memory. Hardcoding to 64KiB is just an experiment to check that the memjournal.c code works.
...
FossilOrigin-Name: 44b2dc18e200e87cf062cb8f1659727c53fa36e9
2016-02-29 20:18:21 +00:00
dan
5f37ed5121
Fix minor problems with new code in memjournal.c.
...
FossilOrigin-Name: 9fd3f7b9c93325a83cdbe7dc9ee312b22a9c2898
2016-02-29 20:00:13 +00:00
dan
4e9d0d5418
Fix a problem in fts5 where a corrupt db could lead to a (huge) buffer overread.
...
FossilOrigin-Name: c9a30e117f2c6c9ef0cc0c6ca5227d2961715b8f
2016-02-29 17:34:16 +00:00
dan
437a54eaba
Fix an fts5 problem causing 'optimize' to corrupt the fts index under some circumstances.
...
FossilOrigin-Name: 251d6473f7c9ad95adbdcc49cb8eaf7c0956764b
2016-02-29 17:16:26 +00:00
drh
94eaafa9ce
Reduce the amount of heap required to store many schemas by storing each
...
column datatype appended to the column name, rather than as a separate
allocation.
FossilOrigin-Name: 842b21162713bb141b845b01c136457a31af4ab0
2016-02-29 15:53:11 +00:00
drh
743606c3d3
Very minor improvement to the performance and reduction in size to the
...
parser by capturing the name and datatype of table columns in a single
grammar rule reduction.
FossilOrigin-Name: 4b55c520f554163edc174e5995e66242f169cb04
2016-02-29 13:44:38 +00:00
drh
986dde7052
Further simplifications to the grammar.
...
FossilOrigin-Name: 519fd03b845c9b53df9e5397282df2e99f36a672
2016-02-29 13:37:21 +00:00
drh
2881ab6298
Update the parser so that it pulls out the column name and type all in one
...
go, rather than using separate reductions.
FossilOrigin-Name: ad3ffe2eec8e8ea2591a78c723d2665735553cb0
2016-02-27 23:25:36 +00:00
drh
94fa9c414a
Eliminate the need for the Column.zDflt (using Column.pDflt instead) to reduce
...
the amount of memory needed to hold the schema.
FossilOrigin-Name: d8c94a46dfa94930732c2de2aa79675c5087d36e
2016-02-27 21:16:04 +00:00
dan
2491de28f1
Extend the code in memjournal.c so that it subsumes the role of journal.c. And (untested) can flush journal or statement journal files to disk after they grow to a specified size.
...
FossilOrigin-Name: e0b0b4316531fc8afa74b4882d9c74a91030ec69
2016-02-27 20:14:55 +00:00
drh
fc1a84c57b
Tighter description of I/O stats in the shell. Show I/O stats on speedtest1.c.
...
FossilOrigin-Name: f681d800340e0e710f73d0f7c09101f899249183
2016-02-27 19:19:22 +00:00
drh
3478490332
Enhance the ".stats" command in sqlite3.exe to show one-time stats information
...
if invoked with one argument. Also show /proc/PID/io information if run on
Linux.
FossilOrigin-Name: 3c36948f16b58fe8042c37d0df634308b4e48217
2016-02-27 17:12:36 +00:00