]>
git.ipfire.org Git - thirdparty/sqlite.git/log
drh [Mon, 21 Oct 2013 13:15:55 +0000 (13:15 +0000)]
Drop the mutex on the multiplexor before entering the xRead VFS call.
FossilOrigin-Name:
a00d2ed49c9f53263cd76ad41dad9e35e646ebb5
drh [Sat, 19 Oct 2013 16:51:39 +0000 (16:51 +0000)]
Improved header comment with better instructions on the vfslog.c
extension.
FossilOrigin-Name:
4bd592c8f0e011e203443a6e88008a61d6926df5
dan [Sat, 19 Oct 2013 15:07:49 +0000 (15:07 +0000)]
Fix a bug causing an "malformed database schema error" error if a temp table with the same name as an existing table that has at least one temp trigger attached to it is created.
FossilOrigin-Name:
56dca4a65c3b14123272fa0cc5c15530c06fda28
drh [Fri, 18 Oct 2013 20:03:43 +0000 (20:03 +0000)]
Add the SQLITE_FCNTL_TRACE file control and generate it for OP_Trace
when compiled with SQLITE_USE_FCNTL_TRACE. Update vfslog.c to make
use of the new file control. Also update vfslog.c to log UNLOCK events
before the fact, rather than afterwards.
FossilOrigin-Name:
e801f35a96d861a1e5f223655af4c8a6a7e356bc
drh [Fri, 18 Oct 2013 17:42:35 +0000 (17:42 +0000)]
Further enhance the vfslog extension to record the number of freelist pages
and the first freelist page in CHNGCTR-READ and CHNGCTR-WRITE records.
FossilOrigin-Name:
08157524ca816a81f3c341097e23982727eaa125
drh [Fri, 18 Oct 2013 14:37:26 +0000 (14:37 +0000)]
In the vfslog extension for FILECONTROL records, show the pragma name for
SQLITE_FCNTL_PRAGMAs and the requested size for SQLITE_FCNTL_SIZE_HINT.
FossilOrigin-Name:
f062969548da26850ceeb48d4283f6567f828887
drh [Thu, 17 Oct 2013 12:57:35 +0000 (12:57 +0000)]
drh [Wed, 16 Oct 2013 23:58:21 +0000 (23:58 +0000)]
Fix a typo in a requirements mark comment. No changes to code.
FossilOrigin-Name:
e5a439cfa5c921187e4aa7050832ec2660fba13d
dan [Wed, 16 Oct 2013 11:39:07 +0000 (11:39 +0000)]
Clear a valgrind error by zeroing the first 4 bytes of the temp-space allocation used by the b-tree module.
FossilOrigin-Name:
8651aba1865a8f82d21d3345f33fbd239fd9a042
drh [Wed, 16 Oct 2013 11:31:51 +0000 (11:31 +0000)]
Fix memory and resource leaks for WinCE and Cygwin, and a compiler warning
on windows with SQLITE_THREADSAFE=0.
FossilOrigin-Name:
9905cea9d45c90f2241f56dc32a25501476983bc
mistachkin [Wed, 16 Oct 2013 09:49:10 +0000 (09:49 +0000)]
Fix memory/resource leaks for WinCE and Cygwin.
FossilOrigin-Name:
2470d1bb08b2661bcfde7a605208eb6044836d5c
dan [Tue, 15 Oct 2013 19:06:17 +0000 (19:06 +0000)]
Add the "languageid" hidden column to fts4aux.
FossilOrigin-Name:
891df358e51075fb937f34952ce43bf51130b0d0
dan [Tue, 15 Oct 2013 15:35:27 +0000 (15:35 +0000)]
Changes to test code to make sure no server threads are left running after server1.test finishes.
FossilOrigin-Name:
1086e00bcaacc88ef2a9dda8a20698b0899ad2f7
drh [Tue, 15 Oct 2013 14:29:32 +0000 (14:29 +0000)]
Fix an 8-byte alignment problem on the "crash test" harness (test code,
not in the core) that causes problems on Sparc.
FossilOrigin-Name:
bcbc65030fa7c61f94100142e94ba2a5774f85b0
drh [Tue, 15 Oct 2013 11:58:34 +0000 (11:58 +0000)]
Fix harmless macro redefinition warnings in the totype extension.
FossilOrigin-Name:
c9c1f8d6701b0a1bc939a7e35e565d4160dbf8d3
mistachkin [Tue, 15 Oct 2013 10:43:04 +0000 (10:43 +0000)]
Fix harmless macro redefinition warnings in the totype extension.
FossilOrigin-Name:
a38adeb7ffd77474754b66877d60717cdb3cb865
mistachkin [Mon, 14 Oct 2013 22:35:40 +0000 (22:35 +0000)]
Fix harmless compiler warning in the totype extension. Include all standard whitespace characters in totypeIsspace. Minor adjustments to style and comments.
FossilOrigin-Name:
73238f655a58c810876f46cc04eab1ac2d5b8ef7
drh [Mon, 14 Oct 2013 21:14:42 +0000 (21:14 +0000)]
Move the tointeger() and toreal() functions out of core and make them into
a run-time loadable extension.
FossilOrigin-Name:
9f66dd7e3790c04f0ab724419f5381bd21f9ebad
dan [Mon, 14 Oct 2013 20:30:51 +0000 (20:30 +0000)]
Fix a crash in FTS incremental phrase processing that can occur if the second or subsequent token is much more common in the dataset than the first.
FossilOrigin-Name:
0bf438fc30582a08fddfc3cec49366ee17ae2abe
drh [Mon, 14 Oct 2013 19:35:33 +0000 (19:35 +0000)]
Add implementations for the toInteger() and toReal() SQL functions.
FossilOrigin-Name:
a0f7cbc068416cf55b86056f2ce7ee505c6cc3ea
dan [Mon, 14 Oct 2013 15:41:39 +0000 (15:41 +0000)]
Fix for building with SQLITE_OMIT_FOREIGN_KEY.
FossilOrigin-Name:
b8b5f6c8f646989bc62bb59416de9bca003a5896
drh [Mon, 14 Oct 2013 14:30:02 +0000 (14:30 +0000)]
Update the foreign_key_check pragma so that when a parent table is undefined
it is treated as an empty table.
FossilOrigin-Name:
208b259ad73b51e7df163fee3d7ed2bd79767597
drh [Mon, 14 Oct 2013 14:21:59 +0000 (14:21 +0000)]
Corrects to comments on the STAT4 implementation.
FossilOrigin-Name:
e06f74d32d44f281dd21908d401184f35f9455a4
drh [Mon, 14 Oct 2013 13:21:00 +0000 (13:21 +0000)]
Make subroutines sampleCopy() and valueFromExpr() have file scope.
FossilOrigin-Name:
1660efbe46439734c7dc1674994ceb86a9b41d1a
drh [Mon, 14 Oct 2013 10:46:05 +0000 (10:46 +0000)]
Add a new application_id for GeoPackage version 1.0.
FossilOrigin-Name:
98ddfe45713775657e586f5a2499cf3c036f13dd
mistachkin [Sat, 12 Oct 2013 23:39:49 +0000 (23:39 +0000)]
Merge updates from trunk.
FossilOrigin-Name:
a88b5be01e68b26267ff6eb05e931ef2e7fc9f99
drh [Sat, 12 Oct 2013 20:22:00 +0000 (20:22 +0000)]
Restore the index_list pragma back to its former operation. Create a new
PRAGMA stats used to access the table and index widths and heights.
FossilOrigin-Name:
f0cf8c85dcbcc7778aed2816792c368d777f79cb
dan [Sat, 12 Oct 2013 19:06:48 +0000 (19:06 +0000)]
In "PRAGMA foreign_key_check", treat missing parent tables as empty (instead of as errors).
FossilOrigin-Name:
8c13a7fd738e5441af370537649b0bfa97679cda
dan [Sat, 12 Oct 2013 15:12:43 +0000 (15:12 +0000)]
Fix handling of "DROP TABLE" commands when "PRAGMA defer_foreign_keys=1" is set.
FossilOrigin-Name:
27001356ed8201529b3f31d4313f2010f1b4e1b1
drh [Sat, 12 Oct 2013 13:16:15 +0000 (13:16 +0000)]
Add tests that demonstrate that PRAGMA defer_foreign_keys will reset to off
at the conclusion of the next transaction.
FossilOrigin-Name:
67e28a11de97e97889f0c0f41c05605721c605c1
mistachkin [Sat, 12 Oct 2013 02:33:22 +0000 (02:33 +0000)]
Fix harmless compiler warning.
FossilOrigin-Name:
4b130f88fba216e088f61252bbcdde57ec7ee6a9
mistachkin [Sat, 12 Oct 2013 02:31:34 +0000 (02:31 +0000)]
Permit the creation of VSIX packages for Win32.
FossilOrigin-Name:
035d03e94252f31025b39da49d8401933352fb77
mistachkin [Sat, 12 Oct 2013 00:56:21 +0000 (00:56 +0000)]
Fix Unicode character encoding issues on Windows.
FossilOrigin-Name:
c9310c9a2bad11f1d033a57b33ea7aed43a8238d
drh [Fri, 11 Oct 2013 23:37:57 +0000 (23:37 +0000)]
Identify requirements text in the SQLITE_CONFIG_ documentation. Fix a typo
(a duplicated word) in part of that documentation. Add some requirements
marks for DETACH to the test scripts. No code changes.
FossilOrigin-Name:
1be0a3adaba2914c65c46fbebc4906ae4e70f899
mistachkin [Fri, 11 Oct 2013 23:02:13 +0000 (23:02 +0000)]
The split amalgamation option should be disabled by default.
FossilOrigin-Name:
7c24d22ffa1e12f3d24cad06b5ff7cc34219b2bb
mistachkin [Fri, 11 Oct 2013 23:01:18 +0000 (23:01 +0000)]
Enhance debugging support for the split amalgamation files when compiling with MSVC.
FossilOrigin-Name:
8ff17c553d8c159fa81c961441e16dbba8da62ba
drh [Fri, 11 Oct 2013 23:01:02 +0000 (23:01 +0000)]
Fix a harmless compiler warning in lemon.c.
FossilOrigin-Name:
62959c0ce3a2c486ebd82e6511efad0412b944a0
mistachkin [Fri, 11 Oct 2013 22:19:55 +0000 (22:19 +0000)]
Add -no-undefined option when linking the shared libraries.
FossilOrigin-Name:
977d2b12e5efc70c26129b08c1f6d65c9d6d211e
mistachkin [Fri, 11 Oct 2013 22:17:39 +0000 (22:17 +0000)]
drh [Fri, 11 Oct 2013 20:14:37 +0000 (20:14 +0000)]
Add requirements marks. No code changes.
FossilOrigin-Name:
5e0d43ab55de006b20c58cb18b938d1c7b658e51
drh [Fri, 11 Oct 2013 16:35:49 +0000 (16:35 +0000)]
Additional test cases and requirements marks for the unlikely(),
likelihood() and instr() functions.
FossilOrigin-Name:
5f01cd36ee8678a07b79f9e01855daffb6bb8c43
drh [Fri, 11 Oct 2013 15:05:05 +0000 (15:05 +0000)]
Fix various harmless compiler warnings. Change the "warnings.sh" script to
work with STAT4 instead of STAT3.
FossilOrigin-Name:
7df06684ab36bfdad9e9aca6940b7a665c2a0cb5
drh [Fri, 11 Oct 2013 13:27:26 +0000 (13:27 +0000)]
Make sure the sqlite3.h file occurs at the very top of the sqlite3.c
amalgamation.
FossilOrigin-Name:
03593817ab5abdd4bbaa5e47e2e4745eef025af9
mistachkin [Fri, 11 Oct 2013 05:51:15 +0000 (05:51 +0000)]
Fix compilation issue for WinRT.
FossilOrigin-Name:
7a2006ca94c458c7b1eae7b2b6df51da67546462
drh [Thu, 10 Oct 2013 17:33:52 +0000 (17:33 +0000)]
Add a rule to the main.mk makefile for building showdb.
FossilOrigin-Name:
fc5552da0d3c41aea58292d267c247f9ca8ed474
drh [Thu, 10 Oct 2013 15:04:52 +0000 (15:04 +0000)]
Enhancements to the vfslog.c module to show all change-counter changes and
to show the hostname and pid of the process that creates each log file.
FossilOrigin-Name:
af7abebeb1f70466833bc766d294d721eaef746f
drh [Thu, 10 Oct 2013 13:41:04 +0000 (13:41 +0000)]
Another fix to the hash signature algorithm in vfslog.c.
FossilOrigin-Name:
34212aa8c405c4ff3f8045ec0cf2a860af61540f
drh [Thu, 10 Oct 2013 13:38:51 +0000 (13:38 +0000)]
Fix the hash signature algorithm in vfslog.c. Add a utility program to
show the hash signatures for every page of a database file.
FossilOrigin-Name:
eaf4de13a63b2294ae575432a022493308a4313a
dan [Thu, 10 Oct 2013 13:04:46 +0000 (13:04 +0000)]
Add ext/misc/vfslog.c, a VFS shim for unix that keeps a log of method calls made by SQLite.
FossilOrigin-Name:
24a827b87666670c56d68a18685f4f712852fa92
drh [Thu, 10 Oct 2013 12:38:11 +0000 (12:38 +0000)]
Estimate row sizes for tables and indices and use those estimates during
query planning. Enhance the index_info pragma to show the estimated row
sizes and to show the estimated row size for the main table as well. Allow
an alternative row size estimate to be specified in the sqlite_stat1 table.
FossilOrigin-Name:
d27b88b8c2705f444f794096c719e6f38a792165
drh [Wed, 9 Oct 2013 19:07:22 +0000 (19:07 +0000)]
Make sure the correct printf format is used for type tRowcnt regardless
of whether 32-bit or 64-bit row counts are specified at compile-time.
FossilOrigin-Name:
e97d7d3044aa6c5e21d1faab7d5e709d92faa261
drh [Tue, 8 Oct 2013 23:16:48 +0000 (23:16 +0000)]
Move a conditional inside of an #ifdef in order to make all branches
reachable regardless of compile-time options used.
FossilOrigin-Name:
f7cc30d45b77f58c258b21f5823c2b39a44e2bf5
drh [Tue, 8 Oct 2013 22:25:22 +0000 (22:25 +0000)]
Fix test cases for the new information in PRAGMA index_list.
FossilOrigin-Name:
dd03be1065537679c2daf5e4200902c47714fceb
drh [Tue, 8 Oct 2013 20:42:41 +0000 (20:42 +0000)]
Rollback some of the previous changes in the branch such that the estimated
row sizes are now only used as a tie-breaker for index scans.
FossilOrigin-Name:
65553ff34b41e54d129ff2fee96be714105503c4
drh [Tue, 8 Oct 2013 20:01:35 +0000 (20:01 +0000)]
Use #ifdefs to omit unused code in the columnType() routine depending on
compile-time options.
FossilOrigin-Name:
3fd5e33217a91402b3499fa0977469b91618a928
drh [Tue, 8 Oct 2013 18:40:37 +0000 (18:40 +0000)]
Further refinement of the idea of multiplying run-time cost estimates by
the estimated row size.
FossilOrigin-Name:
18bd6ba96d19de6047baebfa15b1f739577c9ec4
mistachkin [Mon, 7 Oct 2013 21:49:16 +0000 (21:49 +0000)]
Fix compilation issue with MSVC.
FossilOrigin-Name:
36d64dc36f18c166b2c93c43579fa3bbb5cd545f
drh [Mon, 7 Oct 2013 17:32:15 +0000 (17:32 +0000)]
Multiply all cursor step cost estimates by the estimated size of the row in
bytes, in order to get the query planner ot make use of estimated row sizes.
This check-in uses magic numbers in a few places (for example, estimates of
the size of output rows) and needs lots of refinement. Consider this a
proof-of-concept only.
FossilOrigin-Name:
cb34cfe57c2a664fbfae8106e95114400ea222d5
drh [Mon, 7 Oct 2013 10:48:06 +0000 (10:48 +0000)]
Merge bug fixes from trunk.
FossilOrigin-Name:
1d7b2dc0eae70c0c0e523b715acf758bb4cfa9ac
drh [Mon, 7 Oct 2013 00:36:01 +0000 (00:36 +0000)]
Restore the hexrekey pragma which was accidently deleted during the
pragma refactoring. Make sure the hexkey and hexrekey pragmas do not
overflow buffers with a over-length key.
FossilOrigin-Name:
0aca31e1514b3df254c049b4251bcb199831681a
drh [Sun, 6 Oct 2013 22:52:51 +0000 (22:52 +0000)]
Remove an incorrect debugging assert() that was accidently added during the
STAT4 enhancement.
FossilOrigin-Name:
2bb7f74bbd467b74581699d16b06758f9c9457dc
drh [Sun, 6 Oct 2013 22:12:41 +0000 (22:12 +0000)]
Accept the sz=N parameter on table-only lines of sqlite_stat1.
FossilOrigin-Name:
e9e932aa400f217e383cda9922fbde8a4356f57a
drh [Sat, 5 Oct 2013 20:18:25 +0000 (20:18 +0000)]
Fix an issue in the test8.c test module that arises because of the change
to PRAGMA index_list(). Remove an unused local variable.
FossilOrigin-Name:
029430c503f243a34439698779db7e591cfbe126
drh [Sat, 5 Oct 2013 19:18:00 +0000 (19:18 +0000)]
Completely remove the iScanRatio field. The PRAGMA index_list(TABLE) command
shows the estimated row size in the forth column. It also generates a row
for the table with an index name of NULL. The query planner still does not
take row size estimates into account - that is the next step.
FossilOrigin-Name:
8b4aa0c7a2122bbe60432edadf27e490e31ec987
drh [Sat, 5 Oct 2013 18:32:30 +0000 (18:32 +0000)]
Improvements to the LogEst command-line tool used to convert between
ordinary numbers and the LogEst representation.
FossilOrigin-Name:
5252aeb61988e511dcf8d527fa81e51a5c9385f9
drh [Sat, 5 Oct 2013 18:16:02 +0000 (18:16 +0000)]
Begin an experimental refactoring to estimate the average number of bytes
in table and index rows and to use that information in query planner.
Begin by renaming WhereCost to LogEst and making that type and its
conversion routines available outside of where.c.
FossilOrigin-Name:
66c4a251d61582b47d5cbe50cbca160a9209bd06
drh [Sat, 5 Oct 2013 02:56:25 +0000 (02:56 +0000)]
In the index_list pragma, make sure the "r" column is the same on output
as it was on input in the sqlite_stat1 table.
FossilOrigin-Name:
de78250ad2a6210dd4f03045248f7192d64427f2
drh [Fri, 4 Oct 2013 20:39:44 +0000 (20:39 +0000)]
Merge trunk changes.
FossilOrigin-Name:
c6ac80ed8d5240dd30783d62d9f133e159809dec
drh [Fri, 4 Oct 2013 18:29:25 +0000 (18:29 +0000)]
Further refinements of the index scanning speed logic.
FossilOrigin-Name:
e5d9371da92b4cc2c1df177cf40e0ced4d4c7421
dan [Fri, 4 Oct 2013 18:17:18 +0000 (18:17 +0000)]
If an "INSERT INTO ... SELECT" can use the xfer optimization, pass the OPFLAG_BULKCSR hint to btree cursors used to update indices. This results in a tighter key packing.
FossilOrigin-Name:
087af29ee2e1572f8668dd0152a14d7f9796a530
drh [Fri, 4 Oct 2013 15:58:59 +0000 (15:58 +0000)]
Fix test cases so that they work when the query planner uses index size
estimates to determine whether or not to try an covering index scan.
FossilOrigin-Name:
2f394de88f23dacd3c61e586a4214ffc6f927d97
drh [Fri, 4 Oct 2013 15:30:21 +0000 (15:30 +0000)]
Improved estimates of the relative speed of index scans based on declared
datatypes of columns in the table. Add "r" column to PRAGMA index_info,
showing the estimated relative scan rate.
FossilOrigin-Name:
07462bb6059f023c22a6c84a4a02afbd84e69255
drh [Fri, 4 Oct 2013 02:36:19 +0000 (02:36 +0000)]
Progress toward using the iScanRatio information on indices. Many tests
are still failing.
FossilOrigin-Name:
6c352edbba85a15ca356b5e131f4b3b2723d1774
drh [Fri, 4 Oct 2013 00:00:12 +0000 (00:00 +0000)]
Make sure the count(*) optimization works correctly even when partial
indices are present. Ticket [
a5c8ed66cae ].
FossilOrigin-Name:
9f2f4c0a50808910ad01c8c4352367f25747be08
dan [Thu, 3 Oct 2013 20:41:18 +0000 (20:41 +0000)]
Have FTS take advantage of "docid<?" constraints when they are present. Extend the FTS "incremental doclist" optimization so that it is used for tokens within multi-token phrases.
FossilOrigin-Name:
baf8ce5916ea9baf0ec557263cb9c7ecf716431f
dan [Thu, 3 Oct 2013 20:28:22 +0000 (20:28 +0000)]
Merge latest trunk changes.
FossilOrigin-Name:
24aa20da222a9cc181473bc41d0f8791be91fa97
dan [Thu, 3 Oct 2013 19:27:14 +0000 (19:27 +0000)]
Allow FTS4 multi-token phrases to use a combination of in-memory and incrementally loaded doclists. This allows phrases to (partially) benefit from incremental doclists without disabling the deferred token optimization.
FossilOrigin-Name:
f6819c5f3363d358e7ef65fe6978f13991bd44af
drh [Thu, 3 Oct 2013 19:21:41 +0000 (19:21 +0000)]
Experimental branch allowing different postulated scan rates for each index.
FossilOrigin-Name:
d59d97b0a8d70dc31d45db61bbc11ebb5375a224
drh [Thu, 3 Oct 2013 15:39:44 +0000 (15:39 +0000)]
The sqlite3FixInit() routine cannot fail. So change the return type from "int"
to "void".
FossilOrigin-Name:
500c5932fe3f5fcd0940522f7839d581c555e0eb
drh [Thu, 3 Oct 2013 14:08:07 +0000 (14:08 +0000)]
Rework the PRAGMA implementation to only call sqlite3ReadSchema() from a single
place, based on a flag in the pragma table, rather than separately from each
case which needs the schema.
FossilOrigin-Name:
8338232a111be16d6c2ab57176d0a23a001f02ad
dan [Thu, 3 Oct 2013 12:29:38 +0000 (12:29 +0000)]
Return an error if an attempt is made to create a trigger with an SQL variable embedded within it. If such a variable reference is found within a trigger definition loaded from the sqlite_master table, silently replace it with a NULL.
FossilOrigin-Name:
f35f6ae3da77dbdf5f7a4a9927475659fc6e0ca6
drh [Thu, 3 Oct 2013 11:27:56 +0000 (11:27 +0000)]
Remove unnecessary memset() calls from test code.
FossilOrigin-Name:
eec3187bc68ddebdbc2113f77c7f5cd32e9be61f
drh [Wed, 2 Oct 2013 20:46:30 +0000 (20:46 +0000)]
In the lemon parser generator, change all hashes to unsigned to avoid
potential problems with signed integer overflow.
FossilOrigin-Name:
8d399a03de63c15908d63ed69140ee15c6275b8d
dan [Wed, 2 Oct 2013 08:04:27 +0000 (08:04 +0000)]
Add a test to check that the new multi-token phrase optimization is actually helping.
FossilOrigin-Name:
bc3a2ed5fb2402805928b0002457eebf06f87c47
drh [Tue, 1 Oct 2013 20:29:30 +0000 (20:29 +0000)]
Bring some file format comments in btreeInt.h up to date.
FossilOrigin-Name:
012d54d0d2b40888d08915082592ba75d70891c1
dan [Tue, 1 Oct 2013 20:10:26 +0000 (20:10 +0000)]
Merge trunk changes with this branch.
FossilOrigin-Name:
65d9c6fafbc19d3582e07c31fd915a70e7fcfa8e
dan [Tue, 1 Oct 2013 20:02:32 +0000 (20:02 +0000)]
Allow multi-token phrases to load doclists from the database incrementally. This allows queries that feature such phrases to benefit from the "docid<?" optimization.
FossilOrigin-Name:
ea543f081d93ed1bf66c21ce2108ec94e349f4c5
drh [Tue, 1 Oct 2013 19:36:15 +0000 (19:36 +0000)]
Fix comments in the fast_vacuum.c demonstration program.
FossilOrigin-Name:
e0db7b38e1bc0edb1c3995cb23c46488aa6a0909
drh [Tue, 1 Oct 2013 19:02:56 +0000 (19:02 +0000)]
Add the "fast_vacuum.c" demonstration program to the tool/ subdirectgory.
FossilOrigin-Name:
2b60320d57a4638ebf97a2854527649c671d108e
drh [Tue, 1 Oct 2013 15:30:05 +0000 (15:30 +0000)]
Change the ".dump" command in the command-line shell so that it COMMITs
if there are database corruption errors but invokes ROLLBACK on any other
kind of error.
FossilOrigin-Name:
473234632ff7617680ab151076153f5c1088e55b
drh [Mon, 30 Sep 2013 19:33:06 +0000 (19:33 +0000)]
Fix a minor typo in a comment in where.c.
FossilOrigin-Name:
9c9fa151e9a3bdab0264c08b66cbcc89d61bfca5
drh [Mon, 30 Sep 2013 19:05:03 +0000 (19:05 +0000)]
Add some timing tests to the amatch test script.
FossilOrigin-Name:
ad71c72be56786d8dcf6917efd10a8d3c2d50419
dan [Mon, 30 Sep 2013 18:16:07 +0000 (18:16 +0000)]
Merge trunk changes with this branch.
FossilOrigin-Name:
e294a9c7c525d1da698259c2fef089579bfd1c0b
dan [Mon, 30 Sep 2013 18:14:45 +0000 (18:14 +0000)]
Fix a performance problem in the FTS4 auxiliary functions triggered by an OR clause in the full-text query.
FossilOrigin-Name:
fa0f2f0e3e79ae653118b901e1cca7725dfaf249
drh [Mon, 30 Sep 2013 17:37:15 +0000 (17:37 +0000)]
Fix memory leaks in the amatch extension. Add a few simple test cases.
FossilOrigin-Name:
604134732e309a738e21bcb4240b9ff285d2bfe4
dan [Mon, 30 Sep 2013 11:42:19 +0000 (11:42 +0000)]
Have fts4 full-text queries consider "docid<?" and similar constraints.
FossilOrigin-Name:
6622424a3a149edd35ba2ba0881aa41b4536417b
drh [Mon, 30 Sep 2013 11:01:28 +0000 (11:01 +0000)]
Update and modernize an obsolete comment associated with VACUUM. No
changes to code.
FossilOrigin-Name:
94c914e3fa632f88a0d0c14537f81aa46759e2be
mistachkin [Sun, 29 Sep 2013 04:56:43 +0000 (04:56 +0000)]
Fix typo in comment. No changes to code.
FossilOrigin-Name:
0b7bd46825b09c9e46290baee3e239344ca5bf0e
dan [Sat, 28 Sep 2013 16:43:49 +0000 (16:43 +0000)]
Add new test file fts3defer3.test.
FossilOrigin-Name:
a6cd14effef0a4e5520eea871523e6e7a7d30aef
drh [Sat, 28 Sep 2013 13:28:40 +0000 (13:28 +0000)]
In the nextchar.c extension, allow the second argument to the next_char()
function to be a subquery.
FossilOrigin-Name:
59b9fa223681a7329533b350be7bf5a0a3609255