drh
30aa3b93b6
Cleanup to the OP_Checkpoint opcode.
...
FossilOrigin-Name: f611a5a879b7dec1ed1d8bf32413c8a6b81c3172
2011-02-07 23:56:01 +00:00
dan
28f9b0b5fd
Fix some test cases in walfault.test. Extend one test case to restore code coverage. Add wal5.test to the "coverage-wal" permutation.
...
FossilOrigin-Name: f83b07ace340c9dd3e0cbe3cd3c106db003b0bd4
2011-02-07 16:24:39 +00:00
dan
9c5e3680df
Change blocking-checkpoint tests so that they run once using "PRAGMA wal_checkpoint" and once using calls to sqlite3_wal_checkpoint_v2(). Also fix edge cases surrounding the output variables set by wal_checkpoint_v2().
...
FossilOrigin-Name: 5a4b6652cf3780ffed6fe0fe669e8090b0b71e81
2011-02-07 15:12:12 +00:00
dan
2fe88b7ca4
Ensure fts4aux can handle a table name in single or double quotes as a constructor argument.
...
FossilOrigin-Name: 929d62e496bb36a3ee0e19ec4609329d79aaeddc
2011-02-05 15:47:12 +00:00
dan
bb7e77c758
Add test cases for fts4aux. Fix a bug affecting fts3 tables with multiple columns.
...
FossilOrigin-Name: dc511e60a65232a7087e12ff40b63506cf37a634
2011-02-05 14:37:57 +00:00
dan
4c600ac389
Change fts4aux to (additionally) report on term frequency in individual columns of an fts table.
...
FossilOrigin-Name: 3996f92a9aca9ac2628be003eca83c8f954c71de
2011-02-04 18:56:25 +00:00
drh
29362c204f
Significant changes have occurred since the 3.7.5 release so go ahead and
...
increase the version number to 3.7.6.
FossilOrigin-Name: 999c915a4a075a4d1736ae786cbe7d1587809fee
2011-02-04 14:28:34 +00:00
drh
47fe5533a6
Merge the stat2 query planner enhancements into the trunk.
...
FossilOrigin-Name: 499edcbc8ab70fcf35431d4e672c68dbcb6c5aad
2011-02-04 06:36:44 +00:00
drh
9ab724f196
If a deferred foreign key constraint fails on a statement that is not part
...
of a larger transation, make sure that the statement fully ends so that
subsequent invocations of the same statement will not pass the constraint
because they think the transaction is not closed. This is a merge of
the deferred-fk-quirk branch together with a test case.
FossilOrigin-Name: 2f94d4623f9aae1b5bc7041bd85f4e3a7462c60e
2011-02-04 05:47:51 +00:00
drh
0097eb3942
Fix the ATTACH command so that the filename argument can be any expression
...
and so that if authorizer callback gets a NULL pointer for the filename
if the filename argument is anything other than a string literal.
Ticket [9013e13dba5b58c7]
FossilOrigin-Name: e64e1453a9c204d93de1af92dc0b3ca26762b024
2011-02-04 00:51:16 +00:00
dan
767f9a8f9e
Extra tests for fts4 compress/uncompress hooks. Fix some minor problems with the same.
...
FossilOrigin-Name: 80225abe79b0a7723b922ec129954438af95855a
2011-02-03 12:48:17 +00:00
dan
16690ed167
Extra tests for the fts4aux module.
...
FossilOrigin-Name: cfc475690d85ea7e3547424289d9837f46ab7ef4
2011-02-03 10:56:00 +00:00
drh
e4737d203b
Fix a superlock test case to conform to the new wal_checkpoint returns.
...
FossilOrigin-Name: 8bf2d51b6a50da84cf6b0d2bd78e633d6810160b
2011-02-03 01:26:32 +00:00
dan
d42892ebaf
Fix minor problems with the output of "PRAGMA wal_checkpoint". In both code and tests.
...
FossilOrigin-Name: aef61036b31963e4c3ff4e8acf8c1734dc9394af
2011-02-02 19:17:39 +00:00
dan
20d5f354e9
Optimize handling of equality and range constraints on the "term" column of an fts4aux table.
...
FossilOrigin-Name: 386701ded2bcee5309ec9f285d94e6eb1eade193
2011-02-02 17:30:43 +00:00
drh
87fa53ee8d
Merge in the blocking-checkpoint enhancement, including the new
...
sqlite3_wal_checkpoint_v2() interface and the
PRAGMA wal_checkpoint(full) statement.
FossilOrigin-Name: bac7342c368a7c4f5f2878e08d9581dcbf57dd58
2011-02-02 16:34:08 +00:00
dan
4185db9007
Merge fts4aux branch.
...
FossilOrigin-Name: c6d9f7d8c48e1ff405e1c1d98a166974fc829f58
2011-02-02 04:40:07 +00:00
dan
ee85a51092
Add missing file fts3_aux.c.
...
FossilOrigin-Name: 0147d9739f318a02721d3ae0e7be339a19231f60
2011-02-02 04:26:46 +00:00
dan
290c939fbf
Remove extra instances of the text "checked out." from sqlite.h.in. Also add new file fts3_aux.c to mksqlite3c.tcl.
...
FossilOrigin-Name: 9897da22c5b51611597350efbe8d5dcaf39d748b
2011-02-01 18:59:34 +00:00
dan
6d311fb0ac
Fix a problem causing builds with SQLITE_OMIT_WAL defined to fail.
...
FossilOrigin-Name: b9b48dd8ddceec009b5a22a3699e1524542c004a
2011-02-01 18:00:43 +00:00
dan
0bfda98155
Fix a case in fts4 where a corrupt %_stat table could lead to a crash.
...
FossilOrigin-Name: 4ade96ce974244fc34bb97713d3cba10e3d33056
2011-02-01 17:55:48 +00:00
dan
a240fd01b6
Add virtual table module "fts4aux", used to inspect the full-text index of an fts4 table directly. Also add the "compress" and "uncompress" fts4 options.
...
FossilOrigin-Name: b010ddcc52889160af2183a33c5f483bb0ae91b9
2011-02-01 16:34:32 +00:00
drh
365852a6bc
SQLite version 3.7.5 release candidate 2
...
FossilOrigin-Name: ed759d5a9edb3bba5f48f243df47be29e3fe8cd7
2011-01-28 17:03:50 +00:00
dan
1af5e9a494
Add test script pagerfault3.test. No changes to code or existing tests.
...
FossilOrigin-Name: 682fe41efd3578e8c9abc7138b61f361c3adbe95
2011-01-28 16:45:42 +00:00
drh
bd1334dfd9
Change pager_truncate() to a different method for extending files while
...
also ensuring that writes are page-size and page-aligned.
FossilOrigin-Name: 874bc8844f6494cdbf700bd884dee67d40f11fc0
2011-01-28 15:46:14 +00:00
dan
fb3828c25f
When extending a database file, do so by writing one or more page-size chunks of data to the file, instead of just a single byte to the end.
...
FossilOrigin-Name: 58577135a81d3f19667b1de6167d2e3f1b74cd53
2011-01-28 15:07:55 +00:00
drh
40ad34c608
Reactivate the analyze5.test script.
...
FossilOrigin-Name: a2a9f6401c927f6259cda3ba35219cabef24e84d
2011-01-28 03:13:58 +00:00
drh
083310dfcc
Change the weighting of binary searches on tables to 1/10th the cost of a
...
search on an index. Change the assumed reduction in search space from a
indexed range constraint from 1/3rd to 1/4th. Do not let the estimated
number of rows drop below 1.
FossilOrigin-Name: 4847c6cb71423248b186ab7842b97c83e2f5fefd
2011-01-28 01:57:41 +00:00
drh
10431c306b
SQLite version 3.7.5 release candidate 1
...
FossilOrigin-Name: 35ac78f55159705af140b949ee33852aedd62816
2011-01-27 14:35:01 +00:00
drh
0b52b7d0cd
Update all built-in VFSes to return SQLITE_OK for the
...
SQLITE_FCNTL_SYNC_OMITTED file-control operation. Also change the
xFileControl methods to return SQLITE_NOTFOUND for unrecognized
operation codes.
FossilOrigin-Name: 6f2c72a0f6579db3f40c079436ca40e3e52bd6d9
2011-01-26 19:46:22 +00:00
dan
b69577d3b8
Update test file mutex1.test to account for [e3b500fb5d].
...
FossilOrigin-Name: c86e46f4fd8f485fa1d34c70e17ea3aa1b334ce3
2011-01-26 15:23:22 +00:00
drh
15ad92f2ae
More mutexes around another sqlite3StatusAdd() call.
...
FossilOrigin-Name: e3b500fb5d93d98e6e1ddf6d494a841274d1b68d
2011-01-26 13:28:06 +00:00
drh
9bf3da8eab
Add a mutex around an sqlite3StatusAdd() call to prevent the pagecount
...
overflow measurements from getting off in multithreaded applications.
FossilOrigin-Name: 3d8b298dc24fe13a3f390da41f79b8613a6f25a7
2011-01-26 13:24:40 +00:00
dan
6d4fb833b7
Update mutex1.test so that it works with the memsubsys1 permutation (pagecache memory). Change a few instances of SQLITE_MUTEX_STATIC_LRU2 in comments and test code to STATIC_PMEM.
...
FossilOrigin-Name: 456bd5c63b41bae8e389df81e318b830aa314000
2011-01-26 07:25:32 +00:00
dan
7cfbeb7fb5
Changes to exclusive2.test to make it more deterministic.
...
FossilOrigin-Name: 84b0c2bc7125623be2ee526b5ca75e1b72debb93
2011-01-26 06:13:14 +00:00
drh
25ca568251
Rename the PCache1.mxPinned field to n90pct (since it is 90% of nMax) in order
...
to distinguish it from PGroup.mxPinned. Fix the computation of n90pct so that
it does not overflow adversely on excessively large cache sizes.
FossilOrigin-Name: c85202baac49b22a4be36b9733d44f01d83edb28
2011-01-26 00:07:03 +00:00
drh
1e4040a4b4
Fix new compiler warnings in pcache1.c that were introduced by the recent
...
performance enhancement patches of [e14649301138b684].
FossilOrigin-Name: c17703ec1e604934f8bd5b1f66f34b19d17a6d1f
2011-01-25 18:30:51 +00:00
dan
4d26d585d6
Add a missing call to sqlite3PagerSync() removed by [ce552d975] to the backup code.
...
FossilOrigin-Name: 1965b85318c1fac62fae9691059021b298c17dde
2011-01-25 18:19:24 +00:00
drh
534a58a76d
Make sure the return code from doing an xSync is correctly initialized
...
so that a valid return code is produced regardless of the path taken through
the logic.
FossilOrigin-Name: f12b5d76854c2f294ac60afe38a6dac37eb5b174
2011-01-25 16:48:56 +00:00
drh
951596cdef
Change the name of SQLITE_FCNTL_SYNC to SQLITE_FCNTL_SYNC_OMITTED and only
...
send it when PRAGMA synchronous=OFF. Add better documentation to explain
what that file-control opcode is used for.
FossilOrigin-Name: 64914980855dbbf19512642836ca962a507b3ddb
2011-01-25 16:20:16 +00:00
dan
0ecdeb2414
Fix a couple of typos in comments. No changes to actual code.
...
FossilOrigin-Name: 9167fdb3560b1567a0bdc9a1906a87ec98e161f1
2011-01-25 13:43:35 +00:00
dan
d1cf7e2972
Fix a broken assert() in pager.c.
...
FossilOrigin-Name: 13108ce13c281f31aa60b403567710ae3d925797
2011-01-25 11:33:01 +00:00
dan
ff07ccadee
Fix a problem in memsubsys1.test. Modifications to test code only.
...
FossilOrigin-Name: 7ef3f7cba768ef0c4782a6c80424833b4df6a059
2011-01-25 09:54:53 +00:00
drh
41692e9d7c
Shave a few cycles so that performance is better than 3.7.4 in speed tests.
...
FossilOrigin-Name: e14649301138b6840e24a4bbd2cf5205c0f72409
2011-01-25 04:34:51 +00:00
drh
3778ac15dd
Modify the test_quote.c demonstration shim so that it works when
...
SQLITE_THREADSAFE=0 is defined.
FossilOrigin-Name: b70bcccaf5597c8a59cccb64fb997523f7b8fe4f
2011-01-24 20:18:05 +00:00
drh
2afc704ad8
Fix a typo in the documentation for sqlite3_snprintf(). No changes to code.
...
FossilOrigin-Name: 8d1065411aadf189880606c48ab63dd2a56b9793
2011-01-24 19:45:07 +00:00
drh
906b662060
Fix a harmless compiler warning (a shadowed local variable) in analyze.c.
...
FossilOrigin-Name: a1ad7fb38bb38909ca2fddee31c7a8001f10686f
2011-01-24 19:14:06 +00:00
drh
fc4491366b
Restructuring and generalizing analyze5.test. The whole script is
...
currently disabled and will need to be reenabled prior to merging with trunk.
FossilOrigin-Name: 31fcc7067bd76da4bf19232811b90cf8b76eed74
2011-01-24 17:46:35 +00:00
dan
19611b1a88
Ensure that if a deferred FK constraint is violated by a statement that creates its own implicit transaction, the statement is not an "active-write" after sqlite3_step() returns.
...
FossilOrigin-Name: 8063197ef141c0c62ba710efdd2b3421fbee4e5d
2011-01-24 16:00:58 +00:00
drh
b966194a63
Change the cost estimator in the query planner to take into account the
...
logN rowid lookup cost when going from an index to a table.
FossilOrigin-Name: b442525b0ba642bb8d57b87b7b9e373b6046454a
2011-01-24 15:11:23 +00:00