]>
git.ipfire.org Git - thirdparty/sqlite.git/log
dan [Fri, 26 Apr 2013 16:09:29 +0000 (16:09 +0000)]
Avoid using posix_fallocate() in WAL mode, as it is not supported by all file-systems.
FossilOrigin-Name:
9c7523dabf4aee609287732ce787c9b9a9087e7f
dan [Fri, 26 Apr 2013 14:13:15 +0000 (14:13 +0000)]
Rebalance FTS expressions after parsing to limit recursion during evaluation. Avoid recursion when deleting FTS expression trees. Enforce a limit (currently 12) on the depth of an expression tree.
FossilOrigin-Name:
49d23ef61f9ce2ffe13237b51a0e01b0b46ba96b
dan [Fri, 26 Apr 2013 14:04:28 +0000 (14:04 +0000)]
Merge another trunk change.
FossilOrigin-Name:
2648966f17bc1b783ef6d3b2368c613f6e02945e
drh [Fri, 26 Apr 2013 13:14:19 +0000 (13:14 +0000)]
Fix harmless compiler warnings in the FTS expression parser.
FossilOrigin-Name:
3c78af8c535e16518f18733325f4cd1df7ec8282
drh [Fri, 26 Apr 2013 12:08:29 +0000 (12:08 +0000)]
Reduce the default SQLITE_MAX_MMAP_SIZE slightly so that it fits in a
signed 32-bit integer.
FossilOrigin-Name:
460752b8575320163d2659bb7ff24aff41e2bb66
dan [Fri, 26 Apr 2013 06:58:06 +0000 (06:58 +0000)]
Merge latest trunk changes.
FossilOrigin-Name:
4d08e74d34e82f3be588049c9576a5c1008435e7
dan [Thu, 25 Apr 2013 20:34:02 +0000 (20:34 +0000)]
Rebalance FTS expressions after parsing to limit recursion during evaluation. Avoid recursion when deleting FTS expression trees. Enforce a limit on the depth of an expression tree.
FossilOrigin-Name:
f968d43f80cc2f236e7d09ba1e8278343e2b6976
drh [Thu, 25 Apr 2013 19:31:33 +0000 (19:31 +0000)]
Added the nextchar.c extension. Minor changes to the spellfix.c extension
so that it can be appended to an amalgamation and compiled without duplicating
symbols.
FossilOrigin-Name:
56b9a417f5451631f11c5206d625f11472ee65f9
drh [Thu, 25 Apr 2013 17:27:08 +0000 (17:27 +0000)]
Fix the tool/build-shell.sh script to remove references to files that are
now loadable extensions.
FossilOrigin-Name:
aabeea98f53edde68f484f1794ae70789dac3889
drh [Thu, 25 Apr 2013 17:07:26 +0000 (17:07 +0000)]
Add wiki documentation files for the spellfix1 virtual table.
FossilOrigin-Name:
381564e91bbf619f99a48b0b7a94ac586cb9ee79
drh [Thu, 25 Apr 2013 16:52:19 +0000 (16:52 +0000)]
Merge the std-ext branch into trunk. This merge adds several new extensions
to the ext/misc folder, including transitive_closure, ieee754, and amatch,
and it convers some older src/test_*.c file into extensions in the ext/misc
folder.
FossilOrigin-Name:
bbe607c7d17c50b667990360e2ccfab8dd22f161
drh [Thu, 25 Apr 2013 16:42:55 +0000 (16:42 +0000)]
Added the transitive_closure, ieee754, and amatch extensions.
FossilOrigin-Name:
84018099c8715b982cd24ce9221f93c7379e8c08
drh [Thu, 25 Apr 2013 14:59:01 +0000 (14:59 +0000)]
Move the test_spellfix.c module to ext/misc/spellfix.c.
FossilOrigin-Name:
de556add10150140981a2e34b3712e96a7c262e3
drh [Thu, 25 Apr 2013 14:36:28 +0000 (14:36 +0000)]
Fix the MSVC makefile so that it works with the ext/misc/*.c extensions.
FossilOrigin-Name:
680822e892f3efdb702eea3b321bc5785239dd56
drh [Thu, 25 Apr 2013 14:31:46 +0000 (14:31 +0000)]
Convert the fuzzer virtual table into a loadable extension and move it
to the ext/misc/fuzzer.c file.
FossilOrigin-Name:
c8c69307f60c1d07ac666ae3797b7e3f286fd491
drh [Thu, 25 Apr 2013 11:58:36 +0000 (11:58 +0000)]
Make test_wholenumber.c into a loadable extension and move it to
ext/misc/wholenumber.c.
FossilOrigin-Name:
efcc9dd012b5f193324dfc2ee9c2410c16fc1b3b
drh [Thu, 25 Apr 2013 00:57:10 +0000 (00:57 +0000)]
Make sure the affinity and datatype of sub-subqueries are initialized
prior to subqueries as the latter relies on the former.
FossilOrigin-Name:
39b4e6ff9316cc78ea88349091e195b8104d1e9e
drh [Wed, 24 Apr 2013 13:50:09 +0000 (13:50 +0000)]
Fix a simple comment typo. No changes to code.
FossilOrigin-Name:
f136bd95824dc95b9e6acdc4d55db263ba13fbaa
drh [Tue, 23 Apr 2013 20:10:13 +0000 (20:10 +0000)]
Make "test_regexp.c" into a loadable extension and move it over to
ext/misc/regexp.c. Add the "load_static_extension" command for testing
purposes.
FossilOrigin-Name:
860fc393bff27045e0593c3c51bf5577accd0b79
drh [Mon, 22 Apr 2013 23:38:50 +0000 (23:38 +0000)]
Fix harmless compiler warnings.
FossilOrigin-Name:
1a1cf5aa86734c832d845e07780262a178188d56
drh [Mon, 22 Apr 2013 19:56:12 +0000 (19:56 +0000)]
Do not allow a virtual table to cancel the ORDER BY clause unless all
outer loops are guaranteed to return no more than one row result.
Candidate fix for ticket [
ba82a4a41eac1 ].
FossilOrigin-Name:
49cfa14fceeef2d55b449eb927c283ce6f650c07
drh [Mon, 22 Apr 2013 17:07:56 +0000 (17:07 +0000)]
Update MSCV makefile for the fts3tokenize virtual table. Clear some
harmless compiler warnings in the fts3tokenize code.
FossilOrigin-Name:
2b3fed09eb89f1e9d6a5f7487ef526b46eb51490
dan [Mon, 22 Apr 2013 15:30:37 +0000 (15:30 +0000)]
Add virtual table module 'fts3tokenize' to fts3. fts3tokenize provides SQL access to FTS tokenizer implementations.
FossilOrigin-Name:
c5a4b21a15bd8a184380817ff41657acbccb866d
drh [Mon, 22 Apr 2013 13:51:09 +0000 (13:51 +0000)]
Enhanced documentation for the SQLITE_CONFIG_SQLLOG mechanism and the
test_sqllog.c demonstration file. No changes to code.
FossilOrigin-Name:
206caf21f6f6963aa38a9aa0f6ea11c7230bb726
drh [Mon, 22 Apr 2013 02:39:10 +0000 (02:39 +0000)]
Use transitivity to move constraints into the outer loops of a join whenever
possible, thereby reducing the amount of work that needs to occur in
inner loops.
FossilOrigin-Name:
5f4907e1c6230e3dd904bd99e1c48c576c669f63
drh [Fri, 19 Apr 2013 12:32:52 +0000 (12:32 +0000)]
Add the "warning" command to the TCL test infrastructure. Fix problems
with the loadext.test module.
FossilOrigin-Name:
514adbbd8cf3e296f55e8f803bddaac8ad8b2c96
drh [Fri, 19 Apr 2013 02:47:05 +0000 (02:47 +0000)]
Enhance the extension loading mechanism so that the same source code
can be used for run-time loadable extensions and statically linked
extensions, and to mask architectural differences in shared libraries.
FossilOrigin-Name:
a85b6ecefa14fcfe6ebfceabf910f00c3721be7d
drh [Fri, 19 Apr 2013 01:23:06 +0000 (01:23 +0000)]
Make the SQLITE_EXTENSION_INIT1 and SQLITE_EXTENSION_INIT2 macros into
no-ops if the extension is statically linked.
FossilOrigin-Name:
86eb3eed4c70730dba0e319f243f8cb4fa8de06c
drh [Thu, 18 Apr 2013 22:56:42 +0000 (22:56 +0000)]
Experiments in making loadable extensions easier to program. The
shared library filename tries various operating-system specific extensions
if the bare library name does not work. And the entry point is derived
from the filename is the legacy entry point name "sqlite3_extension_init"
is not found.
FossilOrigin-Name:
6cfa1d73d79b9f0be8157f0a37c264dd95b031c8
drh [Thu, 18 Apr 2013 20:33:41 +0000 (20:33 +0000)]
Fix an incorrect comment (a copy/paste error) in the mptester. No code
changes.
FossilOrigin-Name:
e94783f36ade43ef9d5b94db278622bcbce4179b
drh [Thu, 18 Apr 2013 15:11:03 +0000 (15:11 +0000)]
Add the --breakpoint and --show-sql-errors commands to mptester.
FossilOrigin-Name:
d0898fd76a54512894418e53ba28703e250c9ed3
drh [Thu, 18 Apr 2013 03:10:43 +0000 (03:10 +0000)]
Fix a compiler warning in sqlite3_compileoption_used().
FossilOrigin-Name:
e9f9d84b223b69d36688cd7a4c7c696bfda8a1ad
drh [Thu, 18 Apr 2013 02:55:54 +0000 (02:55 +0000)]
Do not suppress the ORDER BY clause on a virtual table query if an IN
constraint is used. Fix for ticket [
f69b96e3076e ]. Testing done on
TH3 using cov1/where37.test.
FossilOrigin-Name:
61b2a7be3b9c04bf45bffa93a7d3a480fc5c947a
drh [Wed, 17 Apr 2013 19:42:17 +0000 (19:42 +0000)]
Fix the --match command in mptester so that it checks the entire result,
not just a prefix of the result.
FossilOrigin-Name:
3e3ecad2b5d6c97032f2a9fb920c1b8a16ab8ef5
drh [Wed, 17 Apr 2013 18:56:16 +0000 (18:56 +0000)]
In the mptester, add --glob and --notglob and --testcase. Make --exit work
on the main thread. Enable the load_extension() SQL function.
FossilOrigin-Name:
c273c171f511475045ef0aa68ecf8e22b8351996
drh [Wed, 17 Apr 2013 17:33:17 +0000 (17:33 +0000)]
In the command-line shell, allow a dot-command to occur after a
multi-line c-style comment.
FossilOrigin-Name:
e2c94ab930f0e5a6dbe8cdd34ebb8cfeeedca56c
drh [Wed, 17 Apr 2013 14:04:52 +0000 (14:04 +0000)]
Improvements to some of the comments that are used to render documentation
concerning loadable extensions. No changes to code.
FossilOrigin-Name:
76f4e31245fd1676a4520a2f7488bca6eb981e4a
drh [Wed, 17 Apr 2013 12:19:48 +0000 (12:19 +0000)]
Update the command-line shell to give an exit code of 0 when the ".quit"
command is run from the command-line.
FossilOrigin-Name:
467e218120d63d0f34c447f7324bac1364ac0eac
drh [Tue, 16 Apr 2013 18:24:34 +0000 (18:24 +0000)]
Omit sqlite3_compileoption_used() entries that are not explicitly stated
on the compiler command-line, except keep SQLITE_THREADSAFE around so that
there is always at least one compilation option.
FossilOrigin-Name:
109d6767d2626741db1d15ed55e699ac3184a536
drh [Tue, 16 Apr 2013 14:58:52 +0000 (14:58 +0000)]
Remove the unused SQLITE_CURDIR macro.
FossilOrigin-Name:
16f7ba4afaa69f6150b4defd4ddf5800f5d23084
drh [Tue, 16 Apr 2013 14:52:47 +0000 (14:52 +0000)]
Disable memory-mapped I/O when the codec is enabled.
FossilOrigin-Name:
340cca3079cd7aac2f51071435666e9e00ed8bd5
mistachkin [Mon, 15 Apr 2013 20:08:27 +0000 (20:08 +0000)]
Expand scope of the SQLITE_MAX_MMAP_SIZE define for the Win32 VFS.
FossilOrigin-Name:
f4b8faab45e217f227bd7ce65d4741754731b8cd
drh [Mon, 15 Apr 2013 17:03:42 +0000 (17:03 +0000)]
Refactoring the mmap interface. The controlling pragma is now "mmap_size"
instead of "mmap_limit". Also change SQLITE_CONFIG_MMAP_LIMIT and
SQLITE_FCNTL_MMAP_LIMIT to SQLITE_CONFIG_MMAP_SIZE and
SQLITE_FCNTL_MMAP_SIZE, respecctively.
The default mmap_size is now always 0, meaning that
memory mapped I/O is off by default. There is a new compile-time option
SQLITE_MAX_MMAP_SIZE that determines a hard upper bound on the mmap_size.
Setting SQLITE_MAX_MMAP_SIZE to zero disables the memory-mapped I/O logic
and causes it to be omitted from the build. An extra argument is added
to SQLITE_CONFIG_MMAP_SIZE that can optionally lower the SQLITE_MAX_MMAP_SIZE
at start-time. The SQLITE_MAX_MMAP_SIZE is zero for platforms where we
know that it does not work, meaning that it cannot be turned on by mistake
on those platforms.
FossilOrigin-Name:
ea1404a10abd7f68e1f8e0708c8a3199d1f79665
drh [Mon, 15 Apr 2013 13:10:30 +0000 (13:10 +0000)]
Fix a formatting typo in a comment. No changes to code.
FossilOrigin-Name:
3412424990c93d2978e819e6099811f1cdde316d
drh [Sun, 14 Apr 2013 23:51:27 +0000 (23:51 +0000)]
Only consider AS names from the result set as candidates for resolving
identifiers in the WHERE clause if there are no other matches.
In the ORDER BY clause, AS names take priority over any column names.
Fix for ticket [
2500cdb9be ].
FossilOrigin-Name:
d0d5af79a005de30194863c57c5018ee75e03581
drh [Sat, 13 Apr 2013 19:59:58 +0000 (19:59 +0000)]
Only consider AS names from the result set as candidates for resolving
identifiers in the WHERE clause if there are no other matches. In the
ORDER BY clause, AS names take priority over any column names.
Candidate fix for ticket [
2500cdb9be ].
FossilOrigin-Name:
ad53924dcadffb95c6497c46c228c67e8f5370e4
dan [Fri, 12 Apr 2013 16:53:19 +0000 (16:53 +0000)]
Add a test case for detaching a database referenced by an fts4aux table created in the temp schema.
FossilOrigin-Name:
6d6f0592abe237256dbdf30ab0ba0bb0c365dd95
dan [Fri, 12 Apr 2013 16:47:27 +0000 (16:47 +0000)]
Change the fts4aux virtual table module so that fts4aux tables created in the temp database may report on fts3/fts4 tables in any attached database.
FossilOrigin-Name:
546a187f1361dad340ed8f6c28dd89e6c19f9c33
drh [Fri, 12 Apr 2013 01:04:36 +0000 (01:04 +0000)]
In mptester: improve the way that child processes are dispatched. Pass
the --vfs option through to children. Log the command used to start
child processes when the tracing level is high enough.
FossilOrigin-Name:
55718ae3462b2b6e0774d49e1c4c74143bc9e3a5
mistachkin [Thu, 11 Apr 2013 21:13:10 +0000 (21:13 +0000)]
For the multi-process tester on Win32, make use of the GetCurrentProcessId API.
FossilOrigin-Name:
f1b524b9d9ea3db96d54ac55c39f15e6879085bd
drh [Thu, 11 Apr 2013 18:28:55 +0000 (18:28 +0000)]
Fix the xCheckReservedLock() method on the windows VFS so that it cannot
return a false positive when two or more processes use it at the same time
on the same file. Ticket [
7ff3120e4fa54abb55 ]
FossilOrigin-Name:
dd3510bb20ade173c81c9874c05466011c8a249d
drh [Thu, 11 Apr 2013 13:26:18 +0000 (13:26 +0000)]
Fix pragma code generation so that it always outputs an OP_Trace opcode so
that pragmas are shown in sqlite3_trace() output.
FossilOrigin-Name:
663f04bd48bc6f302230a22bd22b82bde2353943
drh [Thu, 11 Apr 2013 11:53:45 +0000 (11:53 +0000)]
Show the process-id on log messages from mptester.
FossilOrigin-Name:
6748a83dc5c02db37ecd963e678c5c69db142cac
drh [Thu, 11 Apr 2013 01:16:15 +0000 (01:16 +0000)]
Have the UNIX VFS issue warnings via sqlite3_log() if a database file is
renamed or unlinked or linked to more than one name while the file is open.
FossilOrigin-Name:
e238dcf9189c029fbdcf89339e21d9cdd8fbf2c5
mistachkin [Thu, 11 Apr 2013 00:09:44 +0000 (00:09 +0000)]
Enhance multi-process tester integration with the Win32 API.
FossilOrigin-Name:
0fdc743583c67a3a017b9ad812c62a5104b9aee7
drh [Wed, 10 Apr 2013 23:48:37 +0000 (23:48 +0000)]
Add new primary error codes SQLITE_NOTICE and SQLITE_WARNING for use with
sqlite3_log(). Add new extended error codes SQLITE_NOTICE_RECOVER_WAL and
SQLITE_NOTICE_RECOVER_ROLLBACK to use with sqlite3_log() messages that occur
on each recovery.
FossilOrigin-Name:
be7d2c5482c41baf000d7fb5dccc31b974e91064
drh [Wed, 10 Apr 2013 16:13:38 +0000 (16:13 +0000)]
Add the sqlite3_strglob() interface.
FossilOrigin-Name:
41d6ff32a6dd1311dc3aabe5156335a64a886919
drh [Wed, 10 Apr 2013 12:01:21 +0000 (12:01 +0000)]
Use symbolic names for tasks in mptester.
FossilOrigin-Name:
f0d95afc73f8dbce8943dceb4a14b7de650c8823
mistachkin [Wed, 10 Apr 2013 03:06:43 +0000 (03:06 +0000)]
Fix typo in name of mptest executable files in clean targets.
FossilOrigin-Name:
4c7d9e1ed8722e0c75b5fdbeffb9030ccef0bd64
mistachkin [Wed, 10 Apr 2013 02:56:24 +0000 (02:56 +0000)]
Correct test numbering on several rtree tests.
FossilOrigin-Name:
0adf8a3a4f2ca370568b35c9e8ce0e18f18701a2
drh [Tue, 9 Apr 2013 20:04:09 +0000 (20:04 +0000)]
Limit integrity_check output to 10 lines in mptester scripts.
FossilOrigin-Name:
67ee0dc0f4de5dc2ae92fb98932f1fdda3e76bdf
drh [Tue, 9 Apr 2013 18:36:36 +0000 (18:36 +0000)]
Change the rollback journal so that it invokes sqlite3_log() make a record
of a recovery, just as the WAL journal does.
FossilOrigin-Name:
7cd3f6cd3a39ed1c4bbf9e3508824150632c5bd9
drh [Tue, 9 Apr 2013 16:19:20 +0000 (16:19 +0000)]
Add extra #ifndef statements in os_unix.c and os_win.c to make sure the
memory mapped I/O really is disabled when SQLITE_DISABLE_MMAP is set.
FossilOrigin-Name:
c1e2523c9051782569291fff998140f7e0b70b6d
drh [Mon, 8 Apr 2013 20:47:49 +0000 (20:47 +0000)]
Disable the use of memory-mapped I/O if the SQLITE_DISABLE_MMAP macro is
defined. Automatically define this macro for OpenBSD and QNX. Other
systems are likely to be added to the disabled list over time.
FossilOrigin-Name:
8a4314a398c6c6efb25e6993c826b7e60d9bb1f9
drh [Mon, 8 Apr 2013 19:13:48 +0000 (19:13 +0000)]
In mptester, handle startScript no-change commits using a retry rather
than grabbing an exclusive transaction.
FossilOrigin-Name:
ae8bb24bfb014bdcb8aaa8159ddae0cd376afe99
drh [Mon, 8 Apr 2013 18:58:00 +0000 (18:58 +0000)]
Still more tests using mptester. Added test cases that leave rollback
journals that must be recovered by other threads.
FossilOrigin-Name:
437b674f00610e2b925dc00ca27b5022e3858994
drh [Mon, 8 Apr 2013 17:57:26 +0000 (17:57 +0000)]
Adding tests to the mptester scripts.
FossilOrigin-Name:
e121adceb1e267e032dcbadb74eaa692a12a65bb
drh [Mon, 8 Apr 2013 15:36:51 +0000 (15:36 +0000)]
Change mptester to avoid reporting SQLITE_BUSY errors if the busy handler
is turned off and the tracing level is set low.
FossilOrigin-Name:
d77407ae6a9e09dea124dd59b14fdbbc36ed3d4e
dan [Mon, 8 Apr 2013 15:30:41 +0000 (15:30 +0000)]
Handle the case in os_unix.c where SQLITE_FCNTL_MMAP_LIMIT requests that the mmap limit be set to a value smaller than the current mapping.
FossilOrigin-Name:
360473493ec1a7094a2b1c5436f3b70914a6dfdd
drh [Mon, 8 Apr 2013 14:41:34 +0000 (14:41 +0000)]
Merge the multi-process tester into trunk.
FossilOrigin-Name:
ea53c45d79772986d2ad289f4f56f333541747e7
drh [Mon, 8 Apr 2013 14:28:33 +0000 (14:28 +0000)]
Add the "mptester" target to the makefiles. Make mptester run with
synchronous off by default.
FossilOrigin-Name:
1397830bfead3699a7e6b1858ae67ae15259b89e
drh [Mon, 8 Apr 2013 13:59:11 +0000 (13:59 +0000)]
Fix harmless compiler warnings in mptest.c.
FossilOrigin-Name:
59bdbb10ed67bf79e0991e2ad58a28321dedb959
drh [Mon, 8 Apr 2013 13:48:29 +0000 (13:48 +0000)]
Add the vfsname() and eval() SQL functions to mptest.c.
Enhancements to the test/config01.test script.
FossilOrigin-Name:
91397a147ce4f67a7ea1182f06a7dda3a96ec465
drh [Mon, 8 Apr 2013 13:13:43 +0000 (13:13 +0000)]
Add --if, --else, --endif processing to mptest.c.
FossilOrigin-Name:
51265acae3088a51ac0ce6ab8731e6e15a48d4ae
dan [Mon, 8 Apr 2013 10:38:57 +0000 (10:38 +0000)]
Fix an incorrect type cast in an assignment in vdbe.c.
FossilOrigin-Name:
320b5295da57023399c7b9eed82eae40cf619803
drh [Sat, 6 Apr 2013 18:35:07 +0000 (18:35 +0000)]
Fix the --source command so that its argument is relative to the script.
Verify that the SQLite header and library match. Print SQLite version
and compile-time configuration information on startup.
FossilOrigin-Name:
15cb0db7583c3a24cbea0c72576047a93fba0801
drh [Sat, 6 Apr 2013 18:10:27 +0000 (18:10 +0000)]
Merge trunk changes into the mptest branch. The mptest needs the
SQLITE_MAX_SCHEMA_RETRY fix in particular.
FossilOrigin-Name:
fb7a7773965697855c12193408cb75300decc23c
drh [Sat, 6 Apr 2013 18:06:51 +0000 (18:06 +0000)]
Increase the default SQLITE_MAX_SCHEMA_RETRY to 50. Make sure that macro
covers every case where a prepared statement might need to be reprepared due
to a schema change. The sqlite3_exec() interface now uses
sqlite3_prepare_v2().
FossilOrigin-Name:
c1d7304c80c4a6244c8a9f6fad1eebd0f339c724
drh [Sat, 6 Apr 2013 14:30:29 +0000 (14:30 +0000)]
Add SQLITE_CONFIG_LOG error logging to the mptest program.
FossilOrigin-Name:
716c25bd125c8934499c1fb59a60d7e844c0691c
drh [Sat, 6 Apr 2013 14:16:41 +0000 (14:16 +0000)]
Get the build of mptest working on mac.
FossilOrigin-Name:
a0bae686c9d7f08afac00f66067f5147be6231e0
drh [Sat, 6 Apr 2013 14:04:22 +0000 (14:04 +0000)]
Get the mptest program running on windows.
FossilOrigin-Name:
3966b33284355325afda627ed6f4e26f967438f8
drh [Sat, 6 Apr 2013 13:09:11 +0000 (13:09 +0000)]
Many improvements to the mptest program. Added a simple test script.
FossilOrigin-Name:
07b0401a9b61b1664fc6dcddac3b5969fc0f481a
dan [Sat, 6 Apr 2013 11:03:09 +0000 (11:03 +0000)]
Add tests to "permutations.test coverage-pager" to cover uncovered branches.
FossilOrigin-Name:
07a0e4e9820a85bf1690214fef3577866c763f92
drh [Sat, 6 Apr 2013 00:19:37 +0000 (00:19 +0000)]
Add a prototype TH3-script-style test harness that starts multiple processes
operating on the same database file at the same time.
FossilOrigin-Name:
c318fafe686120d7fb8e487eb3bb4942d497665c
dan [Fri, 5 Apr 2013 20:40:43 +0000 (20:40 +0000)]
Improve the code coverage of "permutations.test coverage-pager".
FossilOrigin-Name:
b095e2cdb61ca8487255687f58fb1024d40f3986
dan [Thu, 4 Apr 2013 19:32:53 +0000 (19:32 +0000)]
Add further multi-client tests to mmap1.test.
FossilOrigin-Name:
a107f75d93b8acd3403d8473a75137378041a833
drh [Thu, 4 Apr 2013 17:28:11 +0000 (17:28 +0000)]
Disable memory-mapped I/O for the win32lock.test module
FossilOrigin-Name:
2b3d9805a28e51f646113e22c2dff2272342306e
drh [Thu, 4 Apr 2013 01:54:10 +0000 (01:54 +0000)]
Updates to the file-control documentation. No changes to code.
FossilOrigin-Name:
51fab480d0487107709e6c9e00bc0512b82ef1aa
drh [Thu, 4 Apr 2013 00:51:14 +0000 (00:51 +0000)]
Increase the version number to 3.7.17.
FossilOrigin-Name:
5c8c5a2a12f3f5e29c91c4d16e8b4afd4307354e
drh [Thu, 4 Apr 2013 00:40:17 +0000 (00:40 +0000)]
Try to use mmap() to speed access to the database file on windows, linux,
and mac.
FossilOrigin-Name:
fff2be60779571c8fb89158db976ec3755e9a223
drh [Wed, 3 Apr 2013 21:23:28 +0000 (21:23 +0000)]
Release resources prior to bailing out of the btreeCreateTable() routine
following an OOM error.
FossilOrigin-Name:
b2a72be9bab77f050bef75477a278a6294d3e854
drh [Wed, 3 Apr 2013 20:04:04 +0000 (20:04 +0000)]
Remove an unreachable branch in the direct blob I/O logic of btree.c.
FossilOrigin-Name:
f97d7274f48e3bb98ed17eae11abb55064134874
drh [Wed, 3 Apr 2013 13:38:46 +0000 (13:38 +0000)]
Fix a bug in the detection of iOS when setting the default mmap_limit.
FossilOrigin-Name:
ac1432b3a8e968be4cbc138b4a35f34187c0c36f
drh [Wed, 3 Apr 2013 13:09:18 +0000 (13:09 +0000)]
Change the mmap_limit pragma to report the new limit, or to report the
existing limit if called with no arguments. Report the default mmap_limit
as part of PRAGMA compile_options. Set the default mmmap_limit to 0 for
all systems other than linux, mac, windows, and solaris.
FossilOrigin-Name:
2d9f1327fe79e40435ce1e2594d7cd9a5aea0ef2
dan [Wed, 3 Apr 2013 11:52:16 +0000 (11:52 +0000)]
Remove the restriction on using xFetch to load the root pages of tables and indexes. It appears to have been based on a misconception.
FossilOrigin-Name:
5b082efead488a2fccc18171e640e0aa5252d1d0
dan [Wed, 3 Apr 2013 11:38:36 +0000 (11:38 +0000)]
When moving a page to make way for the root page of a new table or index in an auto-vacuum database, save the positions of any cursors that may be holding xFetch references to the page being moved.
FossilOrigin-Name:
9d9b1da54a555e8fb6037d63d1952458c12956d2
dan [Wed, 3 Apr 2013 11:17:39 +0000 (11:17 +0000)]
In btree.c, save the positions of other cursors open on the same table when writing via an incremental blob handle. Otherwise, they may be left holding an out-of-date xFetch page reference.
FossilOrigin-Name:
3f09fba18f7e61e21381ffea13c31b968efd7d77
drh [Wed, 3 Apr 2013 10:50:02 +0000 (10:50 +0000)]
Initialize the mmap_limit of temporary files to the configured mmap_limit.
FossilOrigin-Name:
24bab7596bb7385981a5d331df5eeb05353547f7
drh [Wed, 3 Apr 2013 03:53:15 +0000 (03:53 +0000)]
Make use of xFetch, if it is available when doing a VACUUM or a backup.
FossilOrigin-Name:
83bc37af07857960c11275891f853a358dcbbf05
drh [Wed, 3 Apr 2013 01:26:54 +0000 (01:26 +0000)]
Add the -mmap option to the command-line shell, for setting the default
mmap_limit.
FossilOrigin-Name:
fc30d06c94c8212abb0477fb4cec4520d05bea34