0bab6c3ef7
Add the -DBUILD_sqlite option to the compiler when building testfixture.exe
...
using the configure script.
FossilOrigin-Name: 15a13b6c59ddf145c3fc860d993a7fa5587a0799
2011-09-23 16:34:49 +00:00
790a55171e
Merge the latest trunk changes into the stat3-trunk branch.
...
FossilOrigin-Name: 0beb88a92c8f75231df120bef54616c7e4bb68c8
2011-09-23 14:40:31 +00:00
567211ed0e
Testability enhancements.
...
FossilOrigin-Name: be44928cf2a3c063c8228b769d90947acbfad1ef
2011-09-23 13:59:33 +00:00
369980189b
Fix typos in the format description comment of analyze.c.
...
FossilOrigin-Name: 74e27fad339a2d7899c1f42805e615128929f07a
2011-09-23 13:25:03 +00:00
2b9cf669d8
Remove the restriction on the number of entries per index in sqlite_stat3.
...
FossilOrigin-Name: 374343c8ad53829c4ad715ed623d16635797de9a
2011-09-22 20:52:56 +00:00
5c62486cd8
Fix an issue in ANALYZE when STAT3 is disabled but both sqlite_stat2 and
...
sqlite_stat3 tables exist. Also add testability tweaks to the STAT3 code.
FossilOrigin-Name: 3ca7e449e2e20d95e516cf7fe87bfa0b51c07086
2011-09-22 18:46:34 +00:00
40f048f54b
Remove a redundant (and undefined) "forcedelete" command from corruptE.test.
...
FossilOrigin-Name: 6d8d4e1694694c3e961fc1922f732d1da40caa6f
2011-09-22 15:31:30 +00:00
b5126dde0d
Remove the SQLITE_PAGECACHE_BLOCKALLOC compilation option.
...
FossilOrigin-Name: 4eb4689834b538b9eeec5a5803528260e1aff78d
2011-09-22 14:56:31 +00:00
58ca31c905
Add the SQLITE_DB_STATUS_CACHE_HIT and MISS options. For querying the number of cache hits and misses on a per-connection basis.
...
FossilOrigin-Name: 5100b6e9dc5107f0f835d0aac26fe6d4938ffc73
2011-09-22 14:41:16 +00:00
0fe0c466ca
Update the version number to 3.7.9.
...
FossilOrigin-Name: 14e28eb9546906b33eb03e596ad104c8ca049d6c
2011-09-22 00:56:38 +00:00
93c6384ca6
Fix an uninitialized variable and a misuse of memcpy().
...
FossilOrigin-Name: ee110d5a4a6f29400bb632a9a18c7dcd04638657
2011-09-22 00:28:55 +00:00
9a55e31f4d
Integrate build changes for sqlite3_analyzer into the MSVC makefile. Also, more cleanup of build files, including sqlite3_analyzer, for all makefiles.
...
FossilOrigin-Name: af1c5718292c0326b785416b7109eafefaeb59a7
2011-09-22 00:06:44 +00:00
565621a57e
Minor tweaks to the TCL code for sqlite3_analyzer.
...
FossilOrigin-Name: 3a261f383f11d839d3a23d454b4422298bef9c88
2011-09-21 20:10:42 +00:00
8d43aa10cb
Remove unnecessary dependencies from the sqlite3_analyzer targets in
...
makefiles.
FossilOrigin-Name: 0bd8fd352d290637d8c4d4fb76e8dd28f0149fa0
2011-09-21 18:29:49 +00:00
c42cdce5e0
Fix the sqlite3_analyzer target in the configure-generated Makefile.
...
FossilOrigin-Name: 256cdbdc810cae23388ccf73583c591304294dbb
2011-09-21 17:04:21 +00:00
0ae479dff2
Change the way the sqlite3_analyzer executable is built.
...
FossilOrigin-Name: 05e3cced8a884e8bca6f208d2f09e335d3929eac
2011-09-21 16:43:07 +00:00
d3ed73406c
Pull in the latest changes from trunk. Update the STAT3 documentation.
...
FossilOrigin-Name: 63fc3e4bea6a7f5dc34b2af83f30458eb10b8fe0
2011-09-21 00:09:41 +00:00
9d56acdcfc
Minor comment change in the description of the different memory allocator
...
options. No changes to code.
FossilOrigin-Name: 36be31ff0af7f811fe2c6f7e26f058cffb7257e1
2011-09-19 20:56:59 +00:00
72949adc95
Merge in all changes through the 3.7.8 release.
...
FossilOrigin-Name: 9607600b6ca9b546dd248982fd8e8d64f708be5c
2011-09-19 20:36:42 +00:00
1335f8c21f
Version 3.7.8 release candidate
...
FossilOrigin-Name: 3e0da808d2f5b4d12046e05980ca04578f581177
version-3.7.8
2011-09-19 14:49:19 +00:00
432e0bc6dc
Increase the default lookaside cache line size from 100 to 128 bytes.
...
FossilOrigin-Name: db019465036171fcad31181bec7d6ac185f50430
2011-09-19 13:01:53 +00:00
73ac46da31
Remove a stray merge-sort related change from pager.c and pager.h.
...
FossilOrigin-Name: 69823ed163049d6fa1e24a9810c3c99f2a8fdd46
2011-09-19 11:57:34 +00:00
168f9f5aa3
Add a new script to build an amalgamation that omits FTS3/4 and RTREE.
...
FossilOrigin-Name: b31a7d7db9040d8eedaf1ecd89ea0033f579d0f1
2011-09-17 17:29:20 +00:00
f1c40f4fd4
Make sure the file structure is zeroed prior to calling the VFS to open a file.
...
FossilOrigin-Name: 29c4d0dd43d41650e54824afd70dd40f1b91cc86
2011-09-17 15:34:50 +00:00
dfd2d9f6c9
Fix a problem with SQLITE_OMIT_TRACE that was introduced by the recent
...
OP_Once change.
FossilOrigin-Name: 96be3f7b59b3ed4703b907e29db629df34b2b56f
2011-09-16 22:10:57 +00:00
c377f3106b
Fix #if's in winSync to avoid compiler warnings about unused local variables. Also, update version numbers in the MSVC makefile.
...
FossilOrigin-Name: 2e66e41457422449ac5918b16be443e737dfb149
2011-09-16 20:43:44 +00:00
a3b2ff5182
Silence harmless compiler warning about redefinition of the _CRT_SECURE_NO_WARNINGS macro by shell.c.
...
FossilOrigin-Name: 690220717f3d92d4fb7bd72226fc8d5f38f5fbcf
2011-09-16 20:16:36 +00:00
5c4e5e53fe
Merge all the latest trunk changes into the experimental STAT3 branch.
...
FossilOrigin-Name: 51908c8f2bc6c086570f7493a29b096f0a40ce34
2011-09-16 19:29:58 +00:00
a464c23429
Remove unreachable branches from the previous change. Add additional
...
test cases.
FossilOrigin-Name: cf51ef8ab8a610ddf64f66970dd689fe1df405b8
2011-09-16 19:04:03 +00:00
8850177924
When analyzing the right-hand side of IN operators to see if the IN operator
...
can work with an index, be sure to decend into nested subqueries.
Fix for ticket [1a1308d2538d7]
FossilOrigin-Name: 0156f10e23daca0e2504cd293a67ed0233d254d0
2011-09-16 17:43:06 +00:00
7157e8eac1
Further streamlining of the subquery materializer. New test cases for
...
ticket [002caede898a]
FossilOrigin-Name: ff8b76b25b42497a7374de56c6a8f34cbe70cd6a
2011-09-16 16:00:51 +00:00
ffd5075d7c
Merge the [002caede898] fix into trunk.
...
FossilOrigin-Name: 95708ae2235658c3a49679e2fe252a058793366a
2011-09-16 01:38:53 +00:00
48f2d3b10a
Add the new OP_Once opcode. Use it to clean up and simplify various
...
one-time initialization sections in the code, including the fix for
ticket [002caede898ae].
FossilOrigin-Name: 7f00552b739fad79517b042a6ed61abe743a917b
2011-09-16 01:34:43 +00:00
5b6a9ed495
Materialize subqueries using a subroutine and invoke that subroutine
...
prior to each use of the subqueries manifestation. Fix for
ticket [002caede898aee4]
FossilOrigin-Name: 4b8357ee3c4ccdbd34e0cd077efd84cca677f496
2011-09-15 23:58:14 +00:00
4327aeaafd
Adding test case for ticket [002caede898]
...
FossilOrigin-Name: 62dfc51a495be017605cf315d72e2db91bfa28f7
2011-09-15 19:39:42 +00:00
ac43e1a6a5
Cleanup/fix error handling when no arguments are supplied to the SQLite analyzer.
...
FossilOrigin-Name: 3fc566ac5dfce314ee414a3fb79daeeed6d0f179
2011-09-15 00:40:11 +00:00
0fe5f95c7f
Remove 'const' from a variable that might actually be written when an OOM error occurs. Also, fix a couple MSVC/Win32 compiler warnings.
...
FossilOrigin-Name: 3035dc1c7398791d550f4c02774ef7f961b4bb02
2011-09-14 18:19:08 +00:00
244b632cf7
Remove unused parameters from internal routines in vdbesort.c. This is
...
an additional simplification made possible by recent optimizations.
FossilOrigin-Name: a1f3aeeb0988c848d40ce8f6da6e902935a997e2
2011-09-14 13:41:40 +00:00
59ebc99161
Remove code from vdbesort.c that was made unreachable by the recent
...
sqlite3VdbeRecordUnpack() optimizations.
FossilOrigin-Name: 607aba6cd7020973200fa376cf8df55360165266
2011-09-14 13:23:21 +00:00
5a9f90b574
Merge the latest trunk changes into the stat3-trunk branch.
...
FossilOrigin-Name: 11ca4ed8bf850dae1a24b7182f70039f32bd8dd1
2011-09-13 19:09:28 +00:00
f9556a1a3d
Allocate the correct size for the output buffer in fts3DoclistOrMerge(). Fix for [56be976859].
...
FossilOrigin-Name: 07788c0f7f3740c1c280f6ce4dc68401c30bae6e
2011-09-13 19:08:43 +00:00
649591af23
Cleanup pdb/ilk files generated by the MSVC makefile.
...
FossilOrigin-Name: a9db247b752bcda0131b8f01c6f0182f3101d154
2011-09-11 10:14:37 +00:00
42acb3e597
Fix a minor performance regression in btreeMoveto().
...
FossilOrigin-Name: d0712dfb24867a807c9cddcc12bd0aebe1d3e085
2011-09-05 20:16:38 +00:00
03e9cfc223
Refactor the sqlite3VdbeRecordUnpack() interface to better accommodate the vdbesort.c module.
...
FossilOrigin-Name: f115b2303509c678dbe83b2fa3d9c40d82882813
2011-09-05 14:20:27 +00:00
19c88c1a99
Fix a compiler warning about an unused parameter in the merge-sort code.
...
FossilOrigin-Name: 6b657ae75035eb10b0ad640998d3c9eadfdffa6e
2011-09-04 01:27:00 +00:00
c2bb3282f1
Improve the testability of the merge-sort logic.
...
FossilOrigin-Name: b5179baf87aa00ed5cecbdcaa65bee10e112a9e9
2011-09-04 01:11:46 +00:00
d40807ddef
Performance improvements to the external merge-sorter. Keep content on an
...
in-memory linked lists rather than an ephemeral table prior to spilling to
disk. Use the external merge-sorter to implement ORDER BY and GROUP BY
in addition to CREATE INDEX.
FossilOrigin-Name: 4c43e8b2d2c1d8dcba3cd1c3f2ec4e19ab419430
2011-09-03 17:07:26 +00:00
04a962fe02
Simplification and performance tweaks in vdbeSorterMerge().
...
FossilOrigin-Name: 99e34bdce4ccca15b79159b03b96787e7a7ff85b
2011-09-03 16:42:38 +00:00
8b1ea14f8c
Reduce the number of VdbeRecordUnpack() calls made in vdbesort.c.
...
FossilOrigin-Name: 666c2c3cff51dac2ba5689b75705d99c3705673b
2011-09-03 14:36:13 +00:00
ca892a7252
The build works again with -DSQLITE_OMIT_MERGE_SORT. The merge-sorter now
...
avoids spilling to disk (letting the in-memory linked list grow without
bound) if PRAGMA temp_store=3.
FossilOrigin-Name: 68e26c4487696d194ee85370380e4b0e56d206ee
2011-09-03 00:17:51 +00:00