]>
git.ipfire.org Git - thirdparty/sqlite.git/log
drh [Wed, 8 Jul 2015 14:13:44 +0000 (14:13 +0000)]
Comment fix. No changes to code.
FossilOrigin-Name:
c1e2ed0ef4d3436d19d3203c5fb553caac53659e
drh [Wed, 8 Jul 2015 13:40:50 +0000 (13:40 +0000)]
Do not do the bulk pcache1 allocations if SQLITE_CONFIG_PAGECACHE specifies
a global page cache buffer.
FossilOrigin-Name:
75d98dae676996a05e97b09b19e34463e8f30d51
drh [Wed, 8 Jul 2015 01:22:52 +0000 (01:22 +0000)]
Avoid left-shifting bits into the sign of a signed integer, as such behavior
is technically undefined.
FossilOrigin-Name:
9417b4021b779876dcb3b9be636f01f4055eb54e
drh [Tue, 7 Jul 2015 21:14:42 +0000 (21:14 +0000)]
Add a compile-time constant for configuring the default pagecache setup.
FossilOrigin-Name:
ad5fdfbac85682f0f0dee62e1086f40026a58be2
drh [Tue, 7 Jul 2015 15:14:16 +0000 (15:14 +0000)]
No need to test sqlite3GlobalConfig.bCoreMutex when SQLITE_THREADSAFE==0.
FossilOrigin-Name:
26db0fee06947d75621237a641b9652b312b3b37
drh [Tue, 7 Jul 2015 14:06:18 +0000 (14:06 +0000)]
Simplify the page recycling condition in pcache1. Fix test cases to work
with the latest changes.
FossilOrigin-Name:
5b60df5503f61922326b3e10e94aa197b17afe4b
drh [Mon, 6 Jul 2015 20:57:22 +0000 (20:57 +0000)]
A unified cache is now only used for SQLITE_ENABLE_MEMORY_MANAGEMENT, or if
SQLITE_CONFIG_PAGECACHE defines a shared start-time page cache buffer and the
application is single-threaded.
FossilOrigin-Name:
d5ff1d69054d51a55eff6e1979971822db7f8f30
drh [Mon, 6 Jul 2015 18:54:52 +0000 (18:54 +0000)]
Enhance separate pcache1 to allocate a block of pages from heap on startup,
if possible, for a 5.2% performance improvement.
FossilOrigin-Name:
aa7341c8736732a0a59f6688cc34e78be02a7bfc
drh [Sun, 5 Jul 2015 22:15:10 +0000 (22:15 +0000)]
Do not allow recursive CTEs that use aggregate queries in the recursive part.
FossilOrigin-Name:
6d2999afbc25b9c238e4028f637c10eaaf0ec75e
dan [Sat, 4 Jul 2015 18:44:07 +0000 (18:44 +0000)]
Optimize seek operations on fts5 b-trees.
FossilOrigin-Name:
8cf02090ce53ec150492d77d9e5e5f27665bd34f
drh [Sat, 4 Jul 2015 18:15:04 +0000 (18:15 +0000)]
Preserve the number of requested PAGECACHE pages even if the memory pointer
or size is zero. Enhance the pcache1.c header comment to explain the memory
layout of a page cache line.
FossilOrigin-Name:
dacb2a615ce1c0573baf4518000454038745cf2a
dan [Sat, 4 Jul 2015 15:35:02 +0000 (15:35 +0000)]
Fix a problem in the fts5 integrity-check.
FossilOrigin-Name:
4e473559c9bdcf4d0b823e995a3642cd50ebd337
drh [Sat, 4 Jul 2015 11:14:20 +0000 (11:14 +0000)]
Do not preserve the btreeInitPage() results in PRAGMA integrity_check if
there were cell sizing errors because PRAGMA cell_size_check was turned off
during the btreeInitPage() call.
FossilOrigin-Name:
743bf1f184be316971f2e9c651bcf573bde8654a
mistachkin [Sat, 4 Jul 2015 00:04:37 +0000 (00:04 +0000)]
Sync up Makefile clean targets for FTS5.
FossilOrigin-Name:
43ead44ef6416d69602e123c3be7a258772837f1
mistachkin [Fri, 3 Jul 2015 23:29:55 +0000 (23:29 +0000)]
Correction to check-in [
1025873fdf ], tighten up the number of static test mutexes.
FossilOrigin-Name:
4e515897af97cb3a4158bcc34318992e8dcee77a
mistachkin [Fri, 3 Jul 2015 23:12:33 +0000 (23:12 +0000)]
Update clean target in MSVC makefile.
FossilOrigin-Name:
e6c03e72010e919dbac2055b6c3f3b13b1663b15
mistachkin [Fri, 3 Jul 2015 23:11:36 +0000 (23:11 +0000)]
Enhance mutex testing to include APP and VFS static mutexes.
FossilOrigin-Name:
1025873fdfd9e7e53094c48af1a79c60ae50ae97
mistachkin [Fri, 3 Jul 2015 21:38:09 +0000 (21:38 +0000)]
Add static mutexes for use by the built-in / third-party VFSs and use the built-in VFS mutex where appropriate.
FossilOrigin-Name:
b202e2a1d73d104d795d2252b1c6f61d65bfb295
dan [Fri, 3 Jul 2015 20:47:18 +0000 (20:47 +0000)]
Rework the Fts5MultiSegIter structure a bit to make it more efficient.
FossilOrigin-Name:
0778825d0ec9315c70659fae8d0640b209049dd8
dan [Fri, 3 Jul 2015 19:13:56 +0000 (19:13 +0000)]
Speed up eof checks on fts5 cursors.
FossilOrigin-Name:
3df4af5d8c28863783b0bc867abfbe31cc96f1b9
mistachkin [Fri, 3 Jul 2015 17:54:49 +0000 (17:54 +0000)]
Enable use of the __builtin_bswap32() only with GCC 4.3 and higher.
FossilOrigin-Name:
030f60a7ba171650ce8c0ac32dc166eab80aca32
dan [Fri, 3 Jul 2015 17:14:18 +0000 (17:14 +0000)]
Avoid freeing the array of instance matches each time the fts5 xNext() method is called.
FossilOrigin-Name:
b9b0c1e50d77f5d6e02f43fbb100c722cb692cc5
drh [Fri, 3 Jul 2015 14:34:25 +0000 (14:34 +0000)]
New command-line options for speedtest1: --multithread, --nomemstat,
--serialized, and --singlethread
FossilOrigin-Name:
2b7567229e3ba7e22271bb909ba977b3de19cca5
dan [Thu, 2 Jul 2015 20:12:34 +0000 (20:12 +0000)]
Copy fts5.h into the build directory as part of building fts5.c. Also remove code to edit fts5parse.c from various Makefiles and add it to mkfts5c.tcl.
FossilOrigin-Name:
4d8f03dc7b6529cf8d46fc0fcc82112c0394dc13
drh [Thu, 2 Jul 2015 19:47:08 +0000 (19:47 +0000)]
When doing coverage analysis of a btree page for pragma integrity_check,
make the first entry (that covers the header, cell index, and gap) implied,
for a performance boost and size reduction.
FossilOrigin-Name:
e53d497c2d2fbc5014b39f5624b52ce207800698
dan [Thu, 2 Jul 2015 18:52:16 +0000 (18:52 +0000)]
Minor change to mkfts5c.tcl so that fts5.c can be used according to the instructions in loadext.html.
FossilOrigin-Name:
edbcccd349090efff3f975e27451608136a429fc
dan [Thu, 2 Jul 2015 18:16:02 +0000 (18:16 +0000)]
Add fts5_source_id() SQL function, similar to sqlite_source_id().
FossilOrigin-Name:
ec2573487cb86664f7f056168a764c28ca8236fc
mistachkin [Thu, 2 Jul 2015 16:52:01 +0000 (16:52 +0000)]
Fix harmless compiler warnings and one macro VVA_ONLY macro usage issue.
FossilOrigin-Name:
bcc8a75509aafda61feb6dcc074668c79611a662
mistachkin [Thu, 2 Jul 2015 16:50:43 +0000 (16:50 +0000)]
Simplify FTS5 handling in the MSVC makefile.
FossilOrigin-Name:
f022e04343fc166a71b315d5aabbc5cc075a4767
drh [Thu, 2 Jul 2015 16:29:56 +0000 (16:29 +0000)]
Fix a (harmless) shadowed local variable definition in the integrity_check
logic.
FossilOrigin-Name:
3a26a919fd5550e5a0053a48cb93a27bb95cc916
drh [Thu, 2 Jul 2015 16:17:30 +0000 (16:17 +0000)]
Smaller and faster PRAGMA integrity_check that also does a better job of
detecting errors. Some output text describing discovered file corruption
has changed for clarity.
FossilOrigin-Name:
251a7590ff4f65f59a1c871892533e4e2c544515
dan [Thu, 2 Jul 2015 15:52:21 +0000 (15:52 +0000)]
Remove "#ifdef SQLITE_ENABLE_FTS5" from individual fts5 source files. Add a single "#if !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS5)" to fts5.c.
FossilOrigin-Name:
7819002ed85497bbd0f9cf4d39df641573324436
drh [Thu, 2 Jul 2015 01:38:39 +0000 (01:38 +0000)]
Add the --shrink-memory option to the speedtest1 test program.
FossilOrigin-Name:
c9ddbd88998d9523e72ad910ea67eb55024b3a88
drh [Wed, 1 Jul 2015 19:59:36 +0000 (19:59 +0000)]
Avoid create a stack from in sqlite3BackupUpdate() in the common case where
the first argument is NULL.
FossilOrigin-Name:
2a897b9e94acaf1fd91e9f8e94fa52e01694f011
drh [Wed, 1 Jul 2015 17:53:49 +0000 (17:53 +0000)]
Simplification of PRAGMA integrity_check logic. Make sure that the depth
of the right-most subtree is correct. Size reduction and performance increase,
with no change in output.
FossilOrigin-Name:
550705fcb64e7ad637686e47cabe2621d65851bf
drh [Wed, 1 Jul 2015 04:08:40 +0000 (04:08 +0000)]
Fix some harmless compiler warnings.
FossilOrigin-Name:
307195c8709d7fd2a642baa8011eb0c88cfdc0ac
drh [Wed, 1 Jul 2015 01:31:14 +0000 (01:31 +0000)]
Change integrity_check to analyze the cells of a page in reverse order, as
this will tend to insert the cells into the analysis heap in increasing order
by address, which is the most efficient way to load a min-heap.
FossilOrigin-Name:
59ad912c4c1f858e04d27b1b8f25581a5f6e5daf
mistachkin [Tue, 30 Jun 2015 17:28:40 +0000 (17:28 +0000)]
Make use of the _byteswap_ushort() and _byteswap_ulong() compiler intrinsics for MSVC, when available.
FossilOrigin-Name:
fe144dd73f7097a17c24c7812c2a1cc40466e6da
drh [Tue, 30 Jun 2015 15:10:29 +0000 (15:10 +0000)]
Make use of built-in bswap32() and bswap16() functions in GCC/Clang for a
significant performance improvement there.
FossilOrigin-Name:
8bfcda3d10aec864d71d12a1248c37e4db6f8899
drh [Tue, 30 Jun 2015 14:01:20 +0000 (14:01 +0000)]
Only use <nowiki>__builtin_bswap16()</nowiki> with GCC 4.8 and later.
FossilOrigin-Name:
ce8177e3e64d2ac4cd5d9e7757cdd5fcecd7d0ea
drh [Tue, 30 Jun 2015 13:28:18 +0000 (13:28 +0000)]
Remove the use of htonl() in the previous check-in due to linkage issues.
Add the get2byteAligned() macro and use it for access to the cell offsets
on btree pages for about a 1% performance gain.
FossilOrigin-Name:
79ff36b7170c9e7e7a9935c8b9d1665867771087
drh [Tue, 30 Jun 2015 12:47:09 +0000 (12:47 +0000)]
Make use of htonl() and <nowiki>__builtin_bswap32()</nowiki> for faster
implementations of sqlite3Get4byte() and sqlite3Put4byte().
FossilOrigin-Name:
bc27ebd7f73e9fc8e00da6ec82632e439fcce812
drh [Tue, 30 Jun 2015 11:07:32 +0000 (11:07 +0000)]
Change an unreachable branch into an assert() in sqlite3PagerAcquire()
and optimize sqlite3PcacheOpenSavepoint() by factoring out rarely used code
into a subroutine.
FossilOrigin-Name:
b406b20ecdf0bff63c5c222fab11cb9acee86765
drh [Tue, 30 Jun 2015 03:57:59 +0000 (03:57 +0000)]
Optimization to the sqlite3PcacheFetch() logic.
FossilOrigin-Name:
d9a0481ce0fd9824b1566f182d68ec46ef091b1b
drh [Tue, 30 Jun 2015 03:34:13 +0000 (03:34 +0000)]
Put all variable declarations for sqlite3PagerWrite()
at the beginning of the block. Syntax only - no logic changes.
FossilOrigin-Name:
a0fa6b3ba59716e53b8c035b497602050ed0ccb8
drh [Tue, 30 Jun 2015 03:18:33 +0000 (03:18 +0000)]
Implement sqlite3Strlen30() using strlen() from the C library.
FossilOrigin-Name:
8001aa52bd12f900092387fe3571463e89efd977
drh [Tue, 30 Jun 2015 03:13:47 +0000 (03:13 +0000)]
Change sqlite3ApiExit() so that its first argument is never NULL.
FossilOrigin-Name:
791b706ec6c3e80885666e48e01524f0e9a7557e
drh [Tue, 30 Jun 2015 02:47:36 +0000 (02:47 +0000)]
Put BtCursor objects on a singly-linked list instead of a doubly-linked list.
Add the BTCF_Multiple flag. Only invoke saveAllCursors() when using a cursor
that has BTCF_Multiple set.
FossilOrigin-Name:
429ccef2b36fc46e92914eb54afd5f800b1a40ff
drh [Tue, 30 Jun 2015 01:25:52 +0000 (01:25 +0000)]
Convert several 5-year-old and older NEVER() macros into assert().
FossilOrigin-Name:
ed54c14ea8a72d69d69e0c0d7f6936f54efc04c2
drh [Mon, 29 Jun 2015 23:01:32 +0000 (23:01 +0000)]
From sqlite3BtreeInsert(), bypass the btreeMoveto() routine for table inserts
and go directly to sqlite3BtreeMovetoUnpacked().
FossilOrigin-Name:
53fe685d56368af78238c8981cc41704929f7660
drh [Mon, 29 Jun 2015 20:53:18 +0000 (20:53 +0000)]
Add a bypass path in sqlite3PagerWrite() for pages with the PGHDR_WRITEABLE
bit set, for about a 1% performance increase.
FossilOrigin-Name:
ba425a6abb9886e6af87b5f6205202db450beba8
drh [Mon, 29 Jun 2015 19:08:18 +0000 (19:08 +0000)]
Combine subjRequiresPage() and subjournalPage() into a single
subjournalPageIfRequired() routine.
FossilOrigin-Name:
3b65eb56c422855ca47f709247205f0c77d98a5c
drh [Mon, 29 Jun 2015 18:29:10 +0000 (18:29 +0000)]
Add the PGHDR_WRITEABLE bit for PgHdr.flags which is used to
distinguish between pages that are on the dirty list and pages that are
safe to modify.
FossilOrigin-Name:
7c4ef7b7c8744af19075bb96d1e0b63e35978ed1
drh [Mon, 29 Jun 2015 18:14:02 +0000 (18:14 +0000)]
Fix over-length source code lines in pager.c.
FossilOrigin-Name:
14de3d39267a4005a0fa900bab4adc4c104e4084
dan [Mon, 29 Jun 2015 15:41:50 +0000 (15:41 +0000)]
Fix minor problems in the ota demo application.
FossilOrigin-Name:
6aaaec6e63cdf713b0d67e24a892088ff251c82a
drh [Mon, 29 Jun 2015 14:11:50 +0000 (14:11 +0000)]
Simplifications and performance improvement in pager_write().
FossilOrigin-Name:
ab7aeeead395a05b91a921ef9ebe9252fffad667
drh [Mon, 29 Jun 2015 04:21:15 +0000 (04:21 +0000)]
Add the new PGHDR_CLEAN bit to PgHdr.flags in pcache.c. This bit is always
the opposite of PGHDR_DIRTY. Use the extra bit to avoid a comparison
for a small performance boost.
FossilOrigin-Name:
8619fc346d9a5a66a3c4566b4cc032b6b6bf73fd
drh [Mon, 29 Jun 2015 03:28:43 +0000 (03:28 +0000)]
Very small size reduction and performance increase in sqlite3BitvecTest().
FossilOrigin-Name:
9b3a7281bd45994edf813a687e4b7a0761697929
drh [Mon, 29 Jun 2015 00:52:33 +0000 (00:52 +0000)]
Move an assert() and testcase() into their correct position within
getAndInitPage().
FossilOrigin-Name:
18115164e12509ec21f34598089a7f1310048819
drh [Mon, 29 Jun 2015 00:21:00 +0000 (00:21 +0000)]
Use tail recursion in pcache1Unpin() to get a small size reduction and
speed improvement.
FossilOrigin-Name:
fde70472aebc09b34a517131f676e6847d02b747
drh [Sun, 28 Jun 2015 17:33:11 +0000 (17:33 +0000)]
Comment typo fix and minor cleanup in the pager. No logic changes.
FossilOrigin-Name:
94ef17012855b7be725594c34bcea75f34c40190
drh [Sun, 28 Jun 2015 02:58:51 +0000 (02:58 +0000)]
Avoid unnecessary calls to sqlite3VdbeSerialTypeLen() for integer
serial types, for a small size reduction and a speed increase.
FossilOrigin-Name:
9cd30d33b1d02dc8c55c1d74bdbcefab63ebf2a7
drh [Sat, 27 Jun 2015 23:55:20 +0000 (23:55 +0000)]
Make greater use of BtCursor.curIntKey.
FossilOrigin-Name:
63998471d023dd846d5583ac856e2acc47ad41ea
drh [Sat, 27 Jun 2015 22:49:10 +0000 (22:49 +0000)]
Add the BtCursor.curIntKey field and use it for a small size reduction and
performance boost.
FossilOrigin-Name:
4a17df139ac41e29c9a2e58afbd1238a5e94bd36
drh [Sat, 27 Jun 2015 20:55:00 +0000 (20:55 +0000)]
Enhancements to the previous check-in to make it a little smaller and faster.
FossilOrigin-Name:
291d9e0c328a7bd0f255b0b7e819ca2c909701a3
drh [Sat, 27 Jun 2015 19:45:03 +0000 (19:45 +0000)]
Performance improvements in moveToChild() by shifting some work over
to getAndInitPage(). Net improvement is about 800K cycles at cost of 30 bytes.
FossilOrigin-Name:
1956a4ce8eca650d98a7f68fd2d82eb8a3d6069f
drh [Sat, 27 Jun 2015 15:51:06 +0000 (15:51 +0000)]
Manually inline the call from getAndInitPage() to btreeGetPage() for a
savings of 2.5 million cycles at a cost of less than 100 bytes.
FossilOrigin-Name:
7f65b96b4017413bd19624570efe8fb2b0f7b991
drh [Sat, 27 Jun 2015 14:59:26 +0000 (14:59 +0000)]
Add releasePageNotNull() as an alternative to releasePage() when the argument
is guaranteed to be non-NULL, and use it for a small performance gain.
FossilOrigin-Name:
9383a688701ac2c366a308efc287c9c0f8977d4e
drh [Sat, 27 Jun 2015 03:58:15 +0000 (03:58 +0000)]
Add the Mempage.aDataOfst field and use it in sqlite3BtreeMovetoUnpacked()
for about a 2 million cycle gain.
FossilOrigin-Name:
bee94dc3510745ba2efa044e8f3299793cfc7e34
mistachkin [Fri, 26 Jun 2015 20:45:43 +0000 (20:45 +0000)]
Treat compilation of FTS5 for the loadable extension specially with MSVC.
FossilOrigin-Name:
7c610276bb41dbc80fe169d35fe9a3a3f6525635
dan [Fri, 26 Jun 2015 20:25:59 +0000 (20:25 +0000)]
Merge fts5 branch into trunk.
FossilOrigin-Name:
d27d9965b5404cd32be1113215fd9feeb5b66acc
dan [Fri, 26 Jun 2015 20:14:23 +0000 (20:14 +0000)]
Merge latest trunk with this branch.
FossilOrigin-Name:
8671b9e137275d247e67e3d7d5d9c4cb1f380ff7
dan [Fri, 26 Jun 2015 20:13:56 +0000 (20:13 +0000)]
Remove unnecessary lines from fts3.h and main.mk.
FossilOrigin-Name:
c1b268ced38259706674ed2fcbf842d3fbd9fb8c
dan [Fri, 26 Jun 2015 20:08:25 +0000 (20:08 +0000)]
Fix a segfault that could follow an OOM error in fts5.
FossilOrigin-Name:
713239b8cf2900e8f7d97646c7f350248b4e804f
drh [Fri, 26 Jun 2015 19:43:55 +0000 (19:43 +0000)]
Small size reduction and performance increase on the OP_IdxInsert opcode.
FossilOrigin-Name:
b6bedc2e9c2f87709673799db9401b95fdb386b0
dan [Fri, 26 Jun 2015 19:33:04 +0000 (19:33 +0000)]
Merge latest trunk changes with this branch.
FossilOrigin-Name:
2a1af0f29e4c387721ec1fb3a2b55e8605b8401d
dan [Fri, 26 Jun 2015 18:50:29 +0000 (18:50 +0000)]
Fix some cases in the fts5 code where a corrupt database could cause a buffer overread.
FossilOrigin-Name:
360c57bbb8bad6cc84af140f61e0282fa06462b4
drh [Fri, 26 Jun 2015 18:47:53 +0000 (18:47 +0000)]
Further optimization of SQL function dispatch. Improvements to opcode
documentation.
FossilOrigin-Name:
eaddbf296aee98ffca82adade1b0d2fbefd09d7b
drh [Fri, 26 Jun 2015 18:16:52 +0000 (18:16 +0000)]
Cache the sqlite3_context structure in the P4 operand of VDBE programs
for faster SQL function dispatch.
FossilOrigin-Name:
2abc44eb3b9d489321baa50bc25e17dafbda3687
mistachkin [Fri, 26 Jun 2015 17:10:12 +0000 (17:10 +0000)]
Merge changes to get FTS5 working with MSVC.
FossilOrigin-Name:
954231d29d60460d423ecb132bbfb725b0ea375a
mistachkin [Fri, 26 Jun 2015 16:55:55 +0000 (16:55 +0000)]
Merge upstream changes. Get the test fixture working with FTS5. Fix compiler warnings.
FossilOrigin-Name:
bfcd16089cf8c65130c011a9718bf7812685c841
dan [Fri, 26 Jun 2015 16:42:17 +0000 (16:42 +0000)]
Remove fts5 initialization code from core file main.c.
FossilOrigin-Name:
c91a93b343b4d3b1a19afdb5d23d1c508f9779d2
mistachkin [Fri, 26 Jun 2015 16:17:36 +0000 (16:17 +0000)]
Add FTS5 DLL target for MSVC.
FossilOrigin-Name:
be85b82499f63dce4378f29adf8366651e965325
mistachkin [Fri, 26 Jun 2015 04:34:36 +0000 (04:34 +0000)]
Initial changes to get FTS5 working with MSVC.
FossilOrigin-Name:
ef2052f81e33ca98e85a60f8a78cdd19a7c1c35c
mistachkin [Fri, 26 Jun 2015 03:12:27 +0000 (03:12 +0000)]
Fix harmless compiler warning in assert statement.
FossilOrigin-Name:
7097716caed9d4aef49c7e766e41ea74abf5967f
drh [Fri, 26 Jun 2015 02:41:31 +0000 (02:41 +0000)]
Simplify the pcache by not keeping continuous track of page 1 but instead
just loading page 1 on the rare occasions when it is actually needed.
FossilOrigin-Name:
015302f15e46a087ec92f3644c6741600dbf4306
drh [Thu, 25 Jun 2015 23:52:48 +0000 (23:52 +0000)]
Optimization to sqlite3_value_bytes() for the common case that does not
require a data transformation.
FossilOrigin-Name:
8d79f3a1443391bee204bb8c49240f44477168db
dan [Thu, 25 Jun 2015 20:36:36 +0000 (20:36 +0000)]
Fix Makefile.in to account for recent changes. Update fts5 test scripts so that they do not run if SQLITE_ENABLE_FTS5 is not defined.
FossilOrigin-Name:
3175220747f5d4dadd17e09fb1899dc782c90926
dan [Thu, 25 Jun 2015 20:16:23 +0000 (20:16 +0000)]
Merge latest trunk changes into this branch.
FossilOrigin-Name:
fcd8f7ce601729dc51d880d16b97040c1be16aa2
dan [Thu, 25 Jun 2015 20:10:24 +0000 (20:10 +0000)]
Add a script to combine all fts5 code into a single file - fts5.c - that can be used to build an SQLite loadable extension.
FossilOrigin-Name:
46e86b0637248fb4d623c97778cc041eabe3636c
drh [Thu, 25 Jun 2015 19:53:48 +0000 (19:53 +0000)]
Simplifications and performance improvements in insertCell().
FossilOrigin-Name:
7d02e6c992ef92e1f77ebc13889e17c028454b06
drh [Thu, 25 Jun 2015 18:36:13 +0000 (18:36 +0000)]
More simplifications and performance improvements to cell allocation
logic associated with allocateSpace().
FossilOrigin-Name:
78da0f69cb3289e332018864004f319f2764a5c8
drh [Thu, 25 Jun 2015 16:01:44 +0000 (16:01 +0000)]
Reorder the terms of a conditional for a small performance gain.
FossilOrigin-Name:
d67b0ed1054cbb7ea2cdd74720d4d6e0227cec14
drh [Thu, 25 Jun 2015 15:21:52 +0000 (15:21 +0000)]
Remove a NEVER() that is in fact reachable.
FossilOrigin-Name:
f824e66b0dc120bed227c7446e2663fcad7cc4f6
drh [Thu, 25 Jun 2015 15:04:56 +0000 (15:04 +0000)]
Minor optimization to allocateSpace().
FossilOrigin-Name:
d007bc339b9ea6d59a3dd2b0c5e77e9c801b16f6
drh [Thu, 25 Jun 2015 13:03:10 +0000 (13:03 +0000)]
Enhance the Btree object to remember whether or not it is holding an
Incrblob cursor. Use this knowledge to improve performance in the common
case where it does not.
FossilOrigin-Name:
476b11563c08c6d9c0abd69e4d865c4edcdd45f5
drh [Thu, 25 Jun 2015 02:26:45 +0000 (02:26 +0000)]
Remove a line of code that doesn't do any useful work.
FossilOrigin-Name:
3ee888beb974e015bd11ae79381b208eaa310f6f
drh [Thu, 25 Jun 2015 02:25:28 +0000 (02:25 +0000)]
Increase the default timeout on fuzzcheck to 120 seconds - sufficient for
running under valgrind on a slow workstation.
FossilOrigin-Name:
fad0eacc64b1810f60cab73bc88ba380f99e4b2d
drh [Wed, 24 Jun 2015 23:44:30 +0000 (23:44 +0000)]
Add the --timeout option to fuzzcheck.
FossilOrigin-Name:
a8f4f7fa99e5e4131c1b59c0ac0597d62cedc0cd
drh [Wed, 24 Jun 2015 23:17:35 +0000 (23:17 +0000)]
Fix fuzzcheck so that it works with SQLITE_OMIT_PROGRESS_CALLBACK.
FossilOrigin-Name:
7a9c4eb30e6a834da20931b535c2894837d7d5d7