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
dan
27381bd519
Modify the trace callback mechanism so that SQL commands executed from within virtual table or user function callbacks are passed to the trace callback without parameter expansion and enclosed in SQL comments.
...
FossilOrigin-Name: a764915b87564fa91ee68e9b1f41394ce0f1fc7e
2011-01-22 13:32:29 +00:00
drh
534230cf2e
Add the ability to use indices for constraints of the form "x IS NOT NULL"
...
when sqlite_stat2 is available and most entries for column x are NULL.
FossilOrigin-Name: 5d5bddd290e71a7b03bcc23ff29881c23233cbff
2011-01-22 00:10:45 +00:00
dan
a9ef7097c7
Change sqlite3StrAccumAppend() to use realloc instead of malloc.
...
FossilOrigin-Name: 380f61df0754ceec6b3f6a758d04e951cce8c3d9
2011-01-21 18:25:29 +00:00
drh
5ac0607169
Adjustments to the result row estimator for the IN operator so that it gives
...
the same estimates as the equivalent OR operator. Test cases for the same.
FossilOrigin-Name: c82cb9c028b3ba5463ae50c30196dbf157a7a305
2011-01-21 18:18:13 +00:00
drh
0c50fa0f61
Make use of histogram data to make better estimates for the number of rows
...
that will be returned from "x IN (v1,v2,v3,...)" constraints.
FossilOrigin-Name: fd3977a27ae68e694df12a4713e55515c1e87c5d
2011-01-21 16:27:18 +00:00
dan
f3aef49cbd
Add options to test command [do_faultsim_test] to support testing VFS implementations.
...
FossilOrigin-Name: 503ad889da675b3dd83da7338e2902e42f69acac
2011-01-21 15:52:02 +00:00
drh
9b3eb0adc1
Add the ability to use indices when a range contraint is bounded on
...
the lower end by NULL.
FossilOrigin-Name: f73a167b434fadcbbd15e3891c4b7f4f87f6363c
2011-01-21 14:37:04 +00:00
drh
3851b74ae1
Update ANALYZE test cases to check out the use of histograms for equality
...
constraints.
FossilOrigin-Name: c7b59afaf0c0bf85dbaf0a122cc8d65fca93680f
2011-01-20 20:36:13 +00:00
drh
82759754ce
Use histogram data to improve the row-count estimates on equality constraints.
...
FossilOrigin-Name: 6bfc5c69eb22938972bbf4e60179952dc215f770
2011-01-20 16:52:09 +00:00
drh
e847d3247f
The first of a planned series of enhancements to the query planner that
...
enable it to make better use of sqlite_stat2 histograms when the table
has many repeated values.
FossilOrigin-Name: 2cd374cd23fa2fd38f49090d6eeb9b1e521d51d5
2011-01-20 02:56:37 +00:00
drh
3a5676ce26
Comment improvements in pcache1.c. No changes to code.
...
FossilOrigin-Name: 9660a0a22547656cc3765b673d0cee9e1dd829ef
2011-01-19 21:58:56 +00:00
drh
bee29f4ac1
Do not use mutexes in the pcache implementation unless
...
SQLITE_ENABLE_MEMORY_MANAGMENT is defined. This is a performance enhancement.
A side effect is that pcaches will not steal pages from one another unless
ENABLE_MEMORY_MANAGEMENT is set, or unless SQLITE_THREADSAFE=0.
FossilOrigin-Name: e5ca59e63b18ac45a8c82ca39dc8cce1c4ce903c
2011-01-18 17:03:26 +00:00
drh
986d3b95bb
Get all test cases working with the mutex-free-pcache implementation.
...
FossilOrigin-Name: 2dc98d29995bef51108e99aa8f7a56427cf9e1d7
2011-01-18 16:13:27 +00:00
drh
40f9837ff6
Do not use SQLITE_MUTEX_STATIC_MEM2 since it has been reused as STATIC_OPEN.
...
Instead, create a new static mutex STATIC_PMEM which is an alias for the
unused STATIC_LRU2.
FossilOrigin-Name: f1cf02efcb3a871fef49f8b5f41bcf07622a6d29
2011-01-18 15:17:57 +00:00
drh
9f8cf9da27
Here is a completely new implementation of the mutex-free-pcache. This
...
one uses a common code base and automatically selects whether or not to
use mutexes depending on compile-time and start-time options.
FossilOrigin-Name: d094a1bfb7569a52b637fe9ba5d3fa6ce5ea6d94
2011-01-17 21:32:24 +00:00
drh
eee50ca5a7
Fix a typo in the documentation for sqlite3_stmt_readonly().
...
FossilOrigin-Name: 56417a3386fc84dd36bf1488e88149b1ac6a0d02
2011-01-17 18:30:10 +00:00
drh
602acb4871
Add the SQLITE_OMIT_AUTORESET compile-time option which if enabled causes
...
the sqlite3_step() routine to return SQLITE_MISUSE if it is called after
it has previously returned anything other than SQLITE_ROW, SQLITE_BUSY, or
SQLITE_LOCKED.
FossilOrigin-Name: 053ce76deb356d31358454507ba94947142e20ca
2011-01-17 17:42:37 +00:00
drh
c5aae5c90b
Add back an ALWAYS() to regain full test coverage.
...
FossilOrigin-Name: b93f6f3e679c7710f42580a8dd9ce43136376c1d
2011-01-17 02:24:12 +00:00
drh
c6aed5424b
On a backup from a smaller to a larger page size, do not begin committing
...
the transaction until the source pages after the pending byte have been
copied.
FossilOrigin-Name: 612e2599d3e1a17c268402fce018a53dee6dffe1
2011-01-16 22:37:09 +00:00
drh
d40d7ec78b
Make sure the change-counter and SQLite-version fields of the header are
...
set correctly even when doing a VACUUM with locking_mode=EXCLUSIVE.
Ticket [5d863f876ee9561b].
FossilOrigin-Name: 04fa1e16905183b948ee6456675799a873d5f97d
2011-01-16 00:56:19 +00:00
drh
0bf1f496b8
Make sure the change counter and SQLite version numbers in the header are
...
set correctly, even when running in WAL mode and when VACUUMing in WAL mode.
Ticket [5d863f876ee9561b9].
FossilOrigin-Name: 0be92a75769dbafbc08c3b229089aaac03a9a907
2011-01-15 21:42:23 +00:00
drh
54a7347aa1
Fix the change-counter increment for WAL pages so that it works even when
...
invoked from xStress. Ticket [5d863f876ee9561b95e2].
FossilOrigin-Name: 228e7c34c64114670fe015747d47fdaa3b7e1270
2011-01-15 18:11:12 +00:00
drh
104a7bba8c
Increment the change counter and update the SQLite version number whenever
...
page 1 is added to the WAL. Ticket [5d863f876ee9561b9]
FossilOrigin-Name: c1e0d09cd3f5feae123468a35f147021d839641c
2011-01-15 17:12:59 +00:00
dan
39210bdaa6
Add a test case demonstrating the problem described by ticket [5d863f876e].
...
FossilOrigin-Name: af54963f0fa0afafbc2d0847f30543c041b182ec
2011-01-15 16:52:10 +00:00
drh
a5657d710b
Rerun autoconf to bring the configure script up-to-date.
...
FossilOrigin-Name: 142174640d60e834cae27ccaa78b02ecef8bcfe5
2011-01-14 16:43:29 +00:00
drh
94e7bd55bd
Fix comments, including some documentation comments, in the page cache
...
logic. No code changes.
FossilOrigin-Name: c80e9c1a0dc0e501b209874e147e1cb1348cb4a4
2011-01-14 15:17:55 +00:00
dan
47e909bb15
Fix a bug in test code (test_vfs.c).
...
FossilOrigin-Name: 772a3845f8ef5cd3131992c45f6ce607977820f3
2011-01-14 11:51:28 +00:00
drh
5b3696e8a6
Fix a typo on the sqlite3_open_v2() documentation.
...
FossilOrigin-Name: b0add45abc9929c5b8d1124879bc3e8acf2ab7c7
2011-01-13 16:10:58 +00:00
dan
a8ab60c648
Fix a couple of crashes in fts3 that can occur if the database contents are inconsistent.
...
FossilOrigin-Name: 811e12cddfb3246c6cf3d5085bd9b72b12e05550
2011-01-13 11:20:04 +00:00
dan
86596e552e
Fix a segfault that can occur in matchinfo if an fts4 table contains mostly zero-length documents. Specifically, if the table contains more rows than it does bytes of text.
...
FossilOrigin-Name: fe9047668eaaf76e7aa1ef1f32dec7c7c4226e45
2011-01-13 10:58:26 +00:00
drh
efd95a7aca
Do not raise an SQLITE_CORRUPT error in Recoverymode
...
if the database size in the header is larger than the physical file
size. This facilitates recovery of a database in which the database size
field has been corrupted.
FossilOrigin-Name: 114640d920e16c85de90b19d53c485135875de5b
2011-01-12 17:56:26 +00:00
dan
da56b15e95
Merge accidentally created fork.
...
FossilOrigin-Name: b7d080b8e850bd262f53f29ba4687a62cf76d4ef
2011-01-11 17:40:30 +00:00
dan
354bfe0363
Add the SQLITE_FCNTL_SYNC file-control.
...
FossilOrigin-Name: b3f2f465c310a2cfef8731a0dae3453593b68de9
2011-01-11 17:39:37 +00:00
drh
ca94d8bf82
Change the page size of the destination database in a backup, if it is
...
changeable, prior to starting the backup.
FossilOrigin-Name: a5e4e0caad788318bc973e2550488a3b83128b8b
2011-01-11 17:38:03 +00:00
dan
9f4beedb6f
If a rollback is attempted in journal_mode=off mode, force SQLite to discard the contents of the pager cache before processing any subsequent queries.
...
FossilOrigin-Name: ece7efce2733b4fdd71db385abebbde464ac8f30
2011-01-11 16:09:55 +00:00
drh
bbd91944dd
Fix the sqlite3.h generator script so that it generates the correct
...
SQLITE_SOURCE_ID string with the latest versions of Fossil that
include fractional seconds on the date/time stamp.
FossilOrigin-Name: 3513bf6ee090d9be97f60e12a4b39f4361ee17b7
2011-01-11 12:46:05 +00:00
drh
444d26065e
Update pager requirements to accound for the ZIPVFS extension.
...
FossilOrigin-Name: d94e59b514c16c5f7ea506e0af1c6e2ffecc13be
2011-01-10 21:01:10 +00:00
drh
2e5de2f2b3
Reorder the fields in private structures in an effort to reduce alignment
...
gaps and thus make the structures smaller, and to put frequently accessed
fields first. Also update some obsolete comments. Valgrind shows a very
slight performance improvement.
FossilOrigin-Name: 378a1d13af4a6f4cb2bfa65944b3b0d444b9f21c
2011-01-07 02:50:40 +00:00
drh
b7787eef7a
Enhance the showdb tool to show overflow page pointers at the end of
...
overflow cells.
FossilOrigin-Name: cda5eab18f48d3836dfd3e1f8c76e5f83b43485f
2011-01-06 15:51:18 +00:00
drh
5240aebdd8
Enhance the showdb tool to show a btree page layout. Add limit checks so that
...
overflow content does not overflow the buffer.
FossilOrigin-Name: 57ffa07e26a26d2f4527c8e6d7a9c1f48f380bf7
2011-01-06 01:26:38 +00:00
drh
b2c062df71
Fix a bug in the showdb utility: the serial types for BLOB and TEXT where
...
reversed.
FossilOrigin-Name: 65a13faf1e3cd18f3459cd410f65d334cfa7c376
2011-01-05 21:46:52 +00:00
drh
100335be77
Enhancements to the "showdb" debugging tool. Add the ability to display
...
the content of a cell.
FossilOrigin-Name: e9023a4e1edd552a81dcb2dcd5a996edfa167709
2011-01-05 21:20:52 +00:00
drh
8a3d62224c
Increment the version number to 3.7.5.
...
FossilOrigin-Name: 9ec3896e2fda5b04e609300463dc5b6e79d6cff1
2011-01-05 13:43:23 +00:00
drh
db26d4c9e1
Add the sqlite3_vsnprintf() interface.
...
FossilOrigin-Name: fc67adea414320e0c0b24054f76070cfaeebb401
2011-01-05 12:20:09 +00:00
drh
65a0ce16aa
Fix a null-pointer dereference that can occur on an OOM error while running
...
ANALYZE with SQLITE_ENABLE_STAT2.
FossilOrigin-Name: 73128d4ef5d7703bf7af0553c307b55dc1b783f6
2011-01-04 20:06:33 +00:00
drh
4856698fa5
Fix the ANALYZE command so that it takes collating sequences into account
...
when gathering index statistics.
FossilOrigin-Name: a5867cfc4c9b9155fa345247dec29e38fffa8002
2011-01-04 19:01:26 +00:00
drh
8e93b10a4e
The ANALYZE command now counts at all rows of an index, even those containing
...
NULL values. A valid sqlite_stat1 entry is created even if the index contains
nothing but NULLs.
FossilOrigin-Name: 824c8dd3015bbd5c8a1dd661cfe09fe5bf7a80d3
2011-01-04 17:57:53 +00:00
dan
b29010cd4f
Have testfixture invoke C routine Zipvfs_Init() when creating a new interpreter if SQLITE_ENABLE_ZIPVFS is defined.
...
FossilOrigin-Name: 430635dacfa818e8266a88214aaf60c77862de1c
2010-12-29 18:24:38 +00:00
dan
72903821e3
Fix some off-by-one errors in the comments for API functions create_function() and value_blob(). No changes to code or tests.
...
FossilOrigin-Name: 7ded90baeb75db5af83345cd2c31211cbee1e91b
2010-12-29 10:49:46 +00:00
dan
b9a93d70b8
Reduce the number of calls to sqlite3_realloc() made by fts3 when querying for position information of a term prefix.
...
FossilOrigin-Name: 7088d9450f403f12f67eed558e368573101245d6
2010-12-24 15:49:27 +00:00
drh
b469f46083
Do not include <sys/mmap.h> if SQLITE_OMIT_WAL is defined.
...
FossilOrigin-Name: b82e85ece94c8e25c1dc3251f5444a295fbf8c89
2010-12-22 21:48:50 +00:00
drh
2a58e9cc32
Add test cases for the new lookaside hit and miss status outputs. Add
...
the output of lookaside hit and miss to the command-line shell statistics.
FossilOrigin-Name: b0888047bb6d9ac55e29b9224df2ff650728bb78
2010-12-21 21:28:38 +00:00
drh
e0a55f443b
Merge into the trunk the experimental enhancements to sqlite3_db_status()
...
for measuring lookaside memory allocator performance.
FossilOrigin-Name: 8c3b06c299554759b67437e09ee7ef6420dacafc
2010-12-21 20:36:45 +00:00
drh
697e965299
Remove the obsolete compile-time option SQLITE_THREAD_OVERRIDE_LOCK
...
from the autoconf makefile. Needed only for LinuxThreads, which we no
longer support.
FossilOrigin-Name: 09f6c053ff9239c22ecf527ae579446c6e21e550
2010-12-21 00:20:53 +00:00
drh
29ecd8a077
Rearrange a variable declaration in the proxy locking code to avoid a harmless
...
compiler warning on recent MacOS versions.
FossilOrigin-Name: 39bbd35599e735b32f7ed18143073165b805dd98
2010-12-21 00:16:40 +00:00
drh
08bd9f83ce
Clarify the documentation of the SQLITE_STATUS_MALLOC_COUNT parameter to
...
sqlite3_status().
FossilOrigin-Name: 3b41bcc3e36a9ef0146bc2f6ae86377bd1700afd
2010-12-20 17:00:27 +00:00
drh
0b12e7f860
Add additional DBSTATUS options for measuring the hit and miss rates against
...
the lookaside memory pool - information useful in tuning the lookaside size.
Currently experimental pending analysis of performance impact.
FossilOrigin-Name: 34613f1dc54c638531ca2f5907b71fbe8841233e
2010-12-20 15:51:58 +00:00
drh
9c88d68988
Add the "-heap" option to the command-line shell - to allocate a fixed heap
...
for use with SQLITE_ENABLE_MEMSYS5.
FossilOrigin-Name: 74fff692345fed4b247e2b34c1e63b4d50cddfd4
2010-12-17 14:03:01 +00:00
drh
cd2f58b374
Fix minor typos in the sqlite3_backup documentation.
...
FossilOrigin-Name: df430be59d0766a34a94ab85fec9aa3c3baeb740
2010-12-17 00:59:59 +00:00
drh
230bd63011
Improvements to the documentation for sqlite3_backup. No code changes.
...
FossilOrigin-Name: f83609f4703b5e74a91bca071a4ac2843189f463
2010-12-16 20:35:09 +00:00
drh
4278d53efa
Fix an assertion fault that can only occur if SQLITE_ENABLE_STAT2 is defined
...
and the constant folding optimization is disabled using sqlite3_test_control().
Problem introduced by [ad8bc68197f2b4] but we missed it prior to the 3.7.4
release due to taking shortcuts and skipping tests in the release checklist.
FossilOrigin-Name: 70a3d81742fcd481f83ccc8f7ff6af58bc29c4fa
2010-12-16 19:52:52 +00:00
drh
7d20844542
Make wal_checkpoint a no-op if a prior checkpoint has already copied all
...
WAL content into the database. This prevents a concurrent write to the
database from resetting the wal-index out from under the WalIterator of
the checkpoint as it is initializing.
FossilOrigin-Name: cf86affcb7d3089496e9849cbf43a211097e4f64
2010-12-16 02:06:29 +00:00
drh
d9c9b78e6c
Enhanced comments in wal.c and declare some procedure parameters "const".
...
No changes to the generated code.
FossilOrigin-Name: d0e4375b8a784d4e4ae66caababac919edd61883
2010-12-15 21:02:06 +00:00
drh
901e994b8b
When registering the built-in LIKE and GLOB functions, make sure that they
...
are tagged with SQLITE_UTF8 so that if other application-defined LIKE and
GLOB implementations are provided for UTF16, then the appropriate function
will be selected.
FossilOrigin-Name: e1660764f20fed3fe92156d2b7f06075ff6ac145
2010-12-15 18:54:37 +00:00
dan
d3842765ae
Fix a performance regression in matchinfo().
...
FossilOrigin-Name: fa37d8eb7cd8049689068af2a80fe2cbb4a603f1
2010-12-10 17:06:48 +00:00
drh
a4bfd7fde8
Add support for the SQLITE_DEFAULT_FOREIGN_KEYS compile-time option.
...
FossilOrigin-Name: c959945ab7129b67eb2364befb9bf5cc88a8b0bf
2010-12-09 19:15:17 +00:00
drh
7f322e791c
Mention the SQLITE_DEFAULT_WAL_AUTOCHECKPOINT compile-time option in the
...
documentation for the sqlite3_wal_autocheckpoint() interface.
FossilOrigin-Name: 5a52dd59ff577b071b4ed9316dc3bc753a18c8da
2010-12-09 18:55:09 +00:00
drh
10fc727d35
Update the sqlite3_stmt_readonly() interface so that its output is
...
well-defined for all prepared statements, and so that it gives the
correct result for VACUUM.
FossilOrigin-Name: 9c19b7ae3542fd1fac692b4471f1839b22685c76
2010-12-08 18:30:19 +00:00
drh
e14cd93f2e
The command-line shell ignore errors in sqlite3_close() when shutting down.
...
FossilOrigin-Name: 925332c3d79f6252895ff1a367f795630619247e
2010-12-08 03:28:17 +00:00
drh
81d7fd13e4
Changes to the shell which should, in theory, allow it to work with
...
libeditline as an alternative to libreadline.
FossilOrigin-Name: e474fd9e7f89644a7840e33e9df03dbaa4dd28bd
2010-12-08 00:02:26 +00:00
drh
91412b2446
Improved documentation for SQLITE_FCNTL_FILE_POINTER.
...
FossilOrigin-Name: 43935548ae79d4d1a71549820a77368cda77104a
2010-12-07 23:24:00 +00:00
drh
5480617fb1
Version 3.7.4 release candidate 4
...
FossilOrigin-Name: a586a4deeb25330037a49df295b36aaf624d0f45
2010-12-07 20:14:08 +00:00
shaneh
2c2e8eb1a8
Work around restriction in Windows file locking.
...
FossilOrigin-Name: fe441df9ba447d97571e919099846efa3ec87427
2010-12-07 17:12:21 +00:00
dan
c216eee7ce
Fix a bug in the demo "superlock" code preventing locks from being released in some circumstances.
...
FossilOrigin-Name: 65c393793ff5fdb935d5acfe5bdc3bca052f7314
2010-12-07 16:39:25 +00:00
drh
6568ffb14f
Version 3.7.4 release candidate 3
...
FossilOrigin-Name: 11c74c0dae0e302f248ec4af6dc8a9376203b034
2010-12-07 14:59:22 +00:00
dan
1ce1b4a780
Run some of the existing test scripts with optimizations disabled as part of all.test.
...
FossilOrigin-Name: b0634d2f909fb192d20315e59fa31fcd8f316541
2010-12-07 14:32:28 +00:00
dan
c60982408c
Add tests to tkt-80ba201079.test.
...
FossilOrigin-Name: c370338c772bcd0797a23f83c3f6dc019640c6dd
2010-12-07 07:57:49 +00:00
drh
b0a7c9cd2f
Fix the build so that it once again works with SQLITE_OMIT_SHARED_CACHE
...
and SQLITE_OMIT_AUTOVACUUM.
FossilOrigin-Name: fabcb6b95e1d4059d1e6c6183f65846f6cbd5749
2010-12-06 21:09:59 +00:00
drh
f58ee7f1aa
Add the ability to disable constant factoring using sqlite3_test_control().
...
Add a TCL interface to this new capability and add tests cases to the TCL
test scripts to actually use the new capability.
FossilOrigin-Name: ad8bc68197f2b47435149c3dbc035f4e7210fc76
2010-12-06 21:06:09 +00:00
drh
ef4c059843
Back out part of the previous change that was not really necessary in order
...
to fix [80ba201079ea60], and which in fact serves no useful purpose.
FossilOrigin-Name: fa9eef865f2f399870305bef82296db25e5b3e90
2010-12-06 18:59:13 +00:00
drh
48b5b041d1
Initialize all constants at the very beginning of a prepared statement.
...
Do not allow constant initialization to occur once control flow has a chance
to diverge, to avoid the possibility of having uninitialized registers.
Ticket [80ba201079ea60807].
FossilOrigin-Name: c5c53152d68218bb5e7f922271dd7c50da2361c1
2010-12-06 18:50:32 +00:00
dan
eefab7512b
Have sqlite3_blob_bytes() return 0 following a failed call to sqlite3_reopen_blob().
...
FossilOrigin-Name: 476a8b492124d31e0656e61a6183ab55684c0bdf
2010-12-06 17:11:05 +00:00
drh
7a856fa64a
Version 3.7.4 release candidate 2.
...
FossilOrigin-Name: 40756fe1f109da8bccac0ca28f05435792c62f81
2010-12-04 19:35:04 +00:00
dan
014153f092
Fix a memory leak in fts3 that can occur in an OOM condition.
...
FossilOrigin-Name: 507027b70f71689f77dee3e849ebc66a1c4c3166
2010-12-04 18:20:18 +00:00
drh
ea76f55562
Remove an over-zealous call to memAboutToChange() from OP_MustBeInt.
...
OP_MustBeInt will never invalidate the Mem.z pointer so the memAboutToChange()
call is not necessary.
FossilOrigin-Name: 841cf7a7dbf0947cb7bde864609a8d3294f78689
2010-12-03 18:57:17 +00:00
drh
c80491dbd1
Version 3.7.4 release candidate 1
...
FossilOrigin-Name: 2e800cb87ded1a080469ea46878ac61f945f789e
2010-12-03 15:41:57 +00:00
dan
c99415d216
Add tests for fts3 to backcompat.test.
...
FossilOrigin-Name: b4eafde823bf30ebbb9232a88c9ddfa52f3cbabf
2010-12-03 15:04:26 +00:00
dan
25568441f5
Add the "valgrind" permutation. This is the same as veryquick.test except that it omits the multi-process tests that do not work under valgrind. No changes to production or existing test code.
...
FossilOrigin-Name: 49531300676b303f2ccec8d8d587b389c9eae98b
2010-12-03 10:32:06 +00:00
dan
4d8d27813c
Fix a bug causing fts3 to incorrectly return SQLITE_CORRUPT.
...
FossilOrigin-Name: 099195b14829f375055345b8322905ccd073d442
2010-12-02 17:39:26 +00:00
dan
3ed4afef3a
Exclude a test case from the inmemory_journal permutation of multiplex.test.
...
FossilOrigin-Name: 474196d6452f5868a712a9b0116d5f64c90d67c1
2010-12-02 14:47:06 +00:00
dan
c79b6a8c51
Fix a (harmless) valgrind warning in the rtree extension.
...
FossilOrigin-Name: a94b9a395e0be9549d8c28e2b86b995c73c7b671
2010-12-02 11:24:58 +00:00
dan
659816e9c2
Update misc7.test to account for EQP changes.
...
FossilOrigin-Name: 917af565ac0c71c14fcba56632e687ed938a856c
2010-12-02 06:08:53 +00:00
shaneh
8fcfc3449c
Changed multiplex shim's xFilesize to return an error on mismatched chunk size.
...
Added test of same.
FossilOrigin-Name: 6818c6e42faf233afa6b30799c5b425aa42d0783
2010-12-01 23:42:42 +00:00
shaneh
f5913a27bf
Make sure a test of multiplex shim doesn't fail if a file already exists.
...
FossilOrigin-Name: 80de240a329d8df4aa1e437711bf6ed889d92c5f
2010-12-01 22:08:45 +00:00
shaneh
72fe10fd15
Added TCL test case for converting to WAL mode with multiple connections.
...
Added exception to the test case for Windows for not being able to delete the open journal file.
FossilOrigin-Name: 7061601f4935af483f4068d257d6f8a9c728fd33
2010-12-01 20:49:42 +00:00
dan
ce7e189d24
Change the type of a variable in struct SrcList so that it fits in a 100 byte lookaside buffer on a 64-bit architecture.
...
FossilOrigin-Name: 7df43f4892e628ecb8a83c5ed2dce5e24f6dd529
2010-12-01 19:00:48 +00:00
shaneh
556f6bbc92
Fix some warnings under MSVC in fts3 module.
...
FossilOrigin-Name: c7771c0b22f2b45a47070cf84b9ecf1011e40404
2010-12-01 15:36:00 +00:00
dan
798b0072eb
Add test file e_resolve.test.
...
FossilOrigin-Name: 6858df9c72b1e9fb6c1a0050035b11822f87a5a7
2010-12-01 11:46:53 +00:00
dan
271065704c
Avoid recursive calls to sqlite3VdbeMemRelease() when deleting VM frames used by trigger programs.
...
FossilOrigin-Name: 119ffe955eb1e8016cb8131a63bd17557f395f3f
2010-12-01 08:04:47 +00:00
dan
4a8198255d
Add test file e_dropview.test.
...
FossilOrigin-Name: 6197822cc8310fd7e1d7151683833e8b39fe631a
2010-11-30 12:12:24 +00:00
dan
3239053e69
Fix a warning in os_unix.c.
...
FossilOrigin-Name: ee8dc8c87ed15b76ba437df23e1d7b1b7fa30296
2010-11-29 18:36:22 +00:00
dan
675f85c41c
On *BSD systems, reduce the number of open connections used by wal3.test to avoid running out of file-descriptors.
...
FossilOrigin-Name: 0a3cba95a14ae7a24b2d268567a02d651ab278dc
2010-11-29 18:22:44 +00:00
dan
0cb3a1eca4
Fix compiler warnings discovered while building SQLite on [ http://www.devio.us/ ].
...
FossilOrigin-Name: 5602ec95aa2a74d0624bb6c7d53e7a0d35536253
2010-11-29 17:55:18 +00:00
dan
5957b1bc73
Add tests for very small cache-sizes (less than 10 pages).
...
FossilOrigin-Name: 46b3fbdafe191cd0974cc3f46bc6aa52b3f1270e
2010-11-29 16:10:01 +00:00
dan
ccc7ff4d34
Add new test file e_droptrigger.test.
...
FossilOrigin-Name: d23ef9b88c6705219e5138e50f0f351f6401c401
2010-11-29 12:06:45 +00:00
drh
6ea28d6d84
Fix various compiler warnings.
...
FossilOrigin-Name: c412f61229b6ab1ac90b932afd56f7c5e3ba1cfe
2010-11-26 16:49:59 +00:00
dan
102b7de0e9
Fix an uninitialized variable in fts3.c.
...
FossilOrigin-Name: 3c3d076b42da36cd5413749ec022d0349325edfa
2010-11-26 16:31:43 +00:00
dan
609be6c912
Merge fts3 matchinfo() changes with trunk.
...
FossilOrigin-Name: 7d660b91b748126c499285713bd0237530a1a601
2010-11-26 15:17:12 +00:00
dan
72de061fb1
Add a couple of comments to fts3_snippet.c.
...
FossilOrigin-Name: ad8df6c5ee0055cf1161a3b700d69dbe07d969bc
2010-11-26 15:13:31 +00:00
dan
a93ca34129
Merge with latest trunk changes.
...
FossilOrigin-Name: 515cb3f4e5282551d300ba79c8885b8ca016a408
2010-11-26 10:58:48 +00:00
dan
c2f16cb12b
Add coverage tests (and associated fixes) for new matchinfo() code.
...
FossilOrigin-Name: 70495ceccc793d608930f59e330777f287ba1ede
2010-11-25 17:49:28 +00:00
dan
cf56554f42
Fix bugs in fts3 function matchinfo() when used with deferred tokens.
...
FossilOrigin-Name: ddc2b7ec2618b010c981ecfa05b3e53a9fac686f
2010-11-25 10:33:54 +00:00
dan
f9376540fa
Add code for the matchinfo 'longest common substring' feature.
...
FossilOrigin-Name: 71011a4f9baf09ec6935ad591145252bf3c286ed
2010-11-24 19:26:18 +00:00
dan
d6e12384bd
Fix crashes that can occur when queries are run on an FTS4 table containing zero rows.
...
FossilOrigin-Name: ed61fd20adef44d0f6b2345e0205b25f3641a15e
2010-11-24 15:02:22 +00:00
drh
01a109e50e
Fix a couple of compiler warnings in test_superlock.c. Add superlock.c
...
to the Makefile.in used by the configure script.
FossilOrigin-Name: 461f1a010f55e7da6b43ea65550066b1ca7abad0
2010-11-24 13:04:22 +00:00
dan
ad3acbbfb3
Remove some unused code from fts3. Add tests to fts3matchinfo.test.
...
FossilOrigin-Name: ae40b34cf7c24c9601bdfb5cbe5b20f05a376ea8
2010-11-24 11:51:56 +00:00
drh
df60971765
Cherry-pick the lemon.c updates out of the lemon-update-2010 branch into
...
the trunk.
FossilOrigin-Name: 1541ae3fbd7b3d471e002c0ad14e7846f7ad9415
2010-11-23 20:55:27 +00:00
drh
c84e033c92
The previous check-in with changes to the max_page_count pragma was not
...
quite correct. This check-in fixes the problem.
FossilOrigin-Name: 30c26c3b13b29ce57683e91ac11641d4eb4d678f
2010-11-23 20:25:08 +00:00
dan
1e66e40eb9
Experimental changes to fts3 function matchinfo().
...
FossilOrigin-Name: 9cf0f2b76bc68c168e3fa861b7235f384db21d38
2010-11-23 19:16:47 +00:00
drh
60ac3f426c
Fix the max_page_count pragma so that it will not set to a value smaller
...
than the current database size, as the documentation requires. Also,
remove all occurances of atoi() from the core.
FossilOrigin-Name: 2031974b606ef713b5f34522b2221470d98687c5
2010-11-23 18:59:27 +00:00
dan
15eac4e48a
Fix a typo in unixCurrentTimeInt64() preventing compilation with NO_GETTOD defined.
...
FossilOrigin-Name: 3df3e79b56821201b4f5ecd23f94d485745c48c3
2010-11-22 17:26:07 +00:00
dan
18826195f2
Extra tests for "PRAGMA checkpoint_fullfsync".
...
FossilOrigin-Name: e38c81cc18d2ceaa1644aaba64530ba5d1fbf2cf
2010-11-20 12:01:35 +00:00
dan
e284a0e94b
Add extra tests for test_superlock.c.
...
FossilOrigin-Name: 1c4e58e7211522f0e7dfddd3a2b52f1d0c5421e7
2010-11-20 10:57:44 +00:00
drh
27f9aba18c
Merge the checkpoint_fullfsync pragma and the superlock demonstration into
...
the checkpoint-v2 experimental branch.
FossilOrigin-Name: ebf74015f09fe241c1c6902dc8954f2b59ab41ec
2010-11-19 18:51:31 +00:00
dan
11f273fc0e
Add tests for "PRAGMA checkpoint_fullfsync".
...
FossilOrigin-Name: 765aa1b862fa38cede89bafe0e10c094e0544b7e
2010-11-19 18:48:10 +00:00
drh
204eaecda4
Merge in the superlock demonstration changes.
...
FossilOrigin-Name: 570e79a8eb3bb2d2a15c46c55fbf52c9dd3e3ae8
2010-11-19 18:36:44 +00:00
drh
c97d84638e
Add the checkpoint_fullfsync pragma which enables F_FULLFSYNC on checkpoint
...
operations only, not during ordinary commit fsyncs.
FossilOrigin-Name: a069867301de3ca2e1753bd4d2e426d27365be4c
2010-11-19 18:23:35 +00:00
dan
e336b0017d
Add file test_superlock.c with example code for obtaining an exclusive lock on either rollback or wal mode databases.
...
FossilOrigin-Name: 1a3e7417a2184188fe21c3284e58720da9ca11cf
2010-11-19 18:20:09 +00:00
drh
3eb0811457
Add the SQLITE_FCNTL_FILE_POINTER verb to sqlite3_file_control().
...
FossilOrigin-Name: 4425b0645d0afebe3172201012d501c6992daa38
2010-11-19 14:37:49 +00:00
dan
24cd616ed8
Add file test/tt3_checkpoint.c that adds a multi-threaded test for blocking checkpoints to threadtest3.
...
FossilOrigin-Name: 648dd157ef3b7b790764698fd4dd7107c25212c9
2010-11-19 09:58:11 +00:00
dan
08756372d0
Add extra test cases for blocking checkpoints.
...
FossilOrigin-Name: ac348ae25cb0239dc525bb473cc83cdb1b3de205
2010-11-19 07:17:09 +00:00
dan
f2b8dd588d
Fixes for SQLITE_BUSY handling in blocking checkpoint code.
...
FossilOrigin-Name: 4c663a4dcc77e00558edd94f58410605b95db33a
2010-11-18 19:28:01 +00:00
dan
d2892119c8
Merge with latest trunk fix.
...
FossilOrigin-Name: a8910e89dee326d7788b29e77820eb1e114739ca
2010-11-18 16:59:24 +00:00
dan
38777db5fe
Ensure tcl is using utf-8 as the system encoding when running capi3e.test.
...
FossilOrigin-Name: 0a95589f2166f9ce420e647b73e8c797fe8f4833
2010-11-18 16:58:48 +00:00
dan
7e0454fc72
Merge with latest trunk changes.
...
FossilOrigin-Name: e376480f0855c598c91529abacbd73e31d9f4713
2010-11-18 16:32:53 +00:00
dan
bdd9af0fc8
Update test cases to account for the change in the previous commit.
...
FossilOrigin-Name: ae089ec881beb1c2d278303ba964aaeffad1afe4
2010-11-18 16:14:24 +00:00
shaneh
13acedf254
Added some tests to check that umlaut characters are supported in filenames.
...
FossilOrigin-Name: c36f275d70ec8f6dead6adac02885026fdff9666
2010-11-18 15:44:59 +00:00
drh
3b691b5466
Restrict the scope of the fts3ExprCost() subroutine inside of FTS3.
...
FossilOrigin-Name: 76681870a4705179f78976e7fda638a6fea0b9f9
2010-11-18 13:52:34 +00:00
drh
437261d077
Fix compiler warnings.
...
FossilOrigin-Name: 6c4f1d5c24522d1f541a2b96b229ad0374f99c19
2010-11-18 13:47:50 +00:00
drh
e5a8a1df0d
Prevent a possible segfault when the sqlite3_value_numeric_type() interface is
...
misused to try to determine the numeric type of the NULL value returned
from sqlite3_column_value() with an invalid column number.
FossilOrigin-Name: 501b743bcb60cda0acf63bcf8a4abbf00797b347
2010-11-18 12:31:24 +00:00
dan
cdc1f049bf
Modify the interface to the blocking wal-checkpoint functionality.
...
FossilOrigin-Name: 72787c010c8944e8fcf9c98aa4482f129142d8e9
2010-11-18 12:11:05 +00:00
drh
79d086dffc
Restrict the scope of the sqlite3_stmt_readonly() interface to a specific
...
subset of prepared statement types.
FossilOrigin-Name: 919b06c3a803abb9236606a9b5885f0d8181e730
2010-11-17 02:02:45 +00:00
drh
f03d9ccc45
Adding the sqlite3_stmt_readonly() interface.
...
FossilOrigin-Name: fd5b2f23dd5111d2f0934dd828bae36b755024c1
2010-11-16 23:10:25 +00:00
dan
a58f26f93f
Add experimental command "PRAGMA wal_blocking_checkpoint", which uses the busy-handler to block until all readers have finished in order to ensure the next writer will be able to wrap around to the start of the log file.
...
FossilOrigin-Name: 7e3fc2c833a5baa08820c499867b6902bdc2ed5a
2010-11-16 18:56:51 +00:00
drh
95aa47b10a
Use the estimated number of rows computed for subqueries in the cost
...
computations for outer queries.
FossilOrigin-Name: 56bbc539246a6dc9f1ae1edb898db7a4f6f6d322
2010-11-16 02:49:15 +00:00
drh
04098e6085
Change the EQP output for the min/max optimization from "SCAN" to "SEARCH".
...
Other changes in where.c in support of full branch coverage testing.
FossilOrigin-Name: d52b593978aa1776af7aeb957c4f8df0c5cb7e43
2010-11-15 21:50:19 +00:00
drh
03b6df1e8e
Fix the EQP logic so that it correctly reports OOM errors while formatting
...
"detail" text.
FossilOrigin-Name: 136c2ac24ee1663bc0904bce1a619ecef3d11c1c
2010-11-15 16:29:30 +00:00
dan
3985479b9d
Change some test cases to account for the new EXPLAIN QUERY PLAN output.
...
FossilOrigin-Name: 88a854e18fc6bd619fa8d8a911abff50a9b76b9e
2010-11-15 16:12:58 +00:00
dan
91da6b8397
Test some example code from documentation page eqp.html.
...
FossilOrigin-Name: 547bc2c232cbf7b7ff295287ab8fddb880e517f9
2010-11-15 14:51:33 +00:00
drh
4f48d644e9
Merge the EXPLAIN QUERY PLAN changes from experimental into trunk.
...
FossilOrigin-Name: ce27bf38405ce805dad95ec22cbe68ddc7af544a
2010-11-15 14:44:30 +00:00
dan
712322dff7
Minor additions to vacuum.test.
...
FossilOrigin-Name: a397ed162246fef32b8c5db36d995bf9a8005a2e
2010-11-15 11:35:50 +00:00
dan
4bc39fa188
Change the EXPLAIN QUERY PLAN output to use "USING INDEX" instead of "BY INDEX", and to use "SEARCH" instead of "SCAN" for loops that are not full-table scans.
...
FossilOrigin-Name: 6611b76b0296875fb9903b25dfaa783a9c12eaa1
2010-11-13 16:42:27 +00:00
dan
fa00aa2ea1
Add EXPLAIN QUERY PLAN test cases to check that the examples in the documentation work.
...
FossilOrigin-Name: 85fdad850a4da33fd74f5394b921a63ea6b40bdb
2010-11-12 17:41:37 +00:00
dan
fffadc52f9
Change the test_multiplex.c code to use wrapper functions for all sqlite3_vfs methods (instead of copying function pointers from the underlying vfs into the multiplex vfs). This is required to work with test_osinst.c.
...
FossilOrigin-Name: 1244ef9f7ef813d86dca6f8e01681fa55ee9eec8
2010-11-12 15:49:04 +00:00
drh
69174c490a
Reduce the number of branches that need to be tested in the
...
explainIndexRange() function of where.c.
FossilOrigin-Name: 6fdae9a635a43e1bf7e4a480de1413064732c6b0
2010-11-12 15:35:59 +00:00
dan
30969d3f26
Use "COMPOUND" instead of "COMPOSITE" in the EXPLAIN QUERY PLAN output to describe UNION, UNION ALL, EXCEPT and INTERSECT operations.
...
FossilOrigin-Name: 28643b85d93d27a44b9370e4087efa8fa2af7f8e
2010-11-11 17:48:51 +00:00
dan
7f61e92c3a
Add a row of EXPLAIN QUERY PLAN output for each composite select operation (UNION, EXCEPT etc.) in the query.
...
FossilOrigin-Name: 00fb8468b5f2c48a3c91b86803bf306a0331496f
2010-11-11 16:46:40 +00:00
dan
acf1987d18
Fix a bug in the EXPLAIN QUERY PLAN code.
...
FossilOrigin-Name: 7ae068952fba4395b4aa437613a5ed2bd9ddf941
2010-11-11 11:43:01 +00:00
dan
47eb16d4ce
Modifications to test cases to account for new EXPLAIN QUERY PLAN output.
...
FossilOrigin-Name: 30904ef8412348464e893e9e1551ef22cad24a3e
2010-11-11 10:36:25 +00:00
shaneh
eb5dae1a65
Fix an assert that fired incorrectly when PRAGMA omit_readlock was set.
...
FossilOrigin-Name: e068758222bcd3f2367e9346f7154780cd395ddd
2010-11-09 20:33:33 +00:00