drh
bd41d56629
Add the "mptester" tests to releasetest.tcl.
...
FossilOrigin-Name: 93094a68d3a6178779878cbbe0e5e09ef31a323f
2014-12-30 20:40:32 +00:00
drh
4c275b1fe7
Use sum() instead of total() in mptest/multiwrite01.test too.
...
FossilOrigin-Name: d0c2288c723e276957318be433e25746811b0ff7
2013-05-17 12:52:58 +00:00
drh
e314733295
Use sum() instead of total() in the mptest/crash01.test script.
...
FossilOrigin-Name: 8ba0fc98115f05ebed7ea945e156379c39e92de2
2013-05-17 12:51:49 +00:00
drh
93c8c457e8
Fix an incorrect comment (a copy/paste error) in the mptester. No code
...
changes.
FossilOrigin-Name: e94783f36ade43ef9d5b94db278622bcbce4179b
2013-04-18 20:33:41 +00:00
drh
bc08281954
Add the --breakpoint and --show-sql-errors commands to mptester.
...
FossilOrigin-Name: d0898fd76a54512894418e53ba28703e250c9ed3
2013-04-18 15:11:03 +00:00
drh
44fddcad02
Fix the --match command in mptester so that it checks the entire result,
...
not just a prefix of the result.
FossilOrigin-Name: 3e3ecad2b5d6c97032f2a9fb920c1b8a16ab8ef5
2013-04-17 19:42:17 +00:00
drh
87f9caa85c
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
2013-04-17 18:56:16 +00:00
drh
9b4c59fa1b
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
2013-04-15 17:03:42 +00:00
drh
739ee7ffac
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
2013-04-12 01:04:36 +00:00
mistachkin
fdd72c9a2f
For the multi-process tester on Win32, make use of the GetCurrentProcessId API.
...
FossilOrigin-Name: f1b524b9d9ea3db96d54ac55c39f15e6879085bd
2013-04-11 21:13:10 +00:00
drh
e3be8c8627
Show the process-id on log messages from mptester.
...
FossilOrigin-Name: 6748a83dc5c02db37ecd963e678c5c69db142cac
2013-04-11 11:53:45 +00:00
mistachkin
08d418904a
Enhance multi-process tester integration with the Win32 API.
...
FossilOrigin-Name: 0fdc743583c67a3a017b9ad812c62a5104b9aee7
2013-04-11 00:09:44 +00:00
drh
4c5298f352
Use symbolic names for tasks in mptester.
...
FossilOrigin-Name: f0d95afc73f8dbce8943dceb4a14b7de650c8823
2013-04-10 12:01:21 +00:00
drh
7de96f7fc1
Limit integrity_check output to 10 lines in mptester scripts.
...
FossilOrigin-Name: 67ee0dc0f4de5dc2ae92fb98932f1fdda3e76bdf
2013-04-09 20:04:09 +00:00
drh
ab755ac81a
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
2013-04-09 18:36:36 +00:00
drh
f90e50f60b
In mptester, handle startScript no-change commits using a retry rather
...
than grabbing an exclusive transaction.
FossilOrigin-Name: ae8bb24bfb014bdcb8aaa8159ddae0cd376afe99
2013-04-08 19:13:48 +00:00
drh
6adab7a1a8
Still more tests using mptester. Added test cases that leave rollback
...
journals that must be recovered by other threads.
FossilOrigin-Name: 437b674f00610e2b925dc00ca27b5022e3858994
2013-04-08 18:58:00 +00:00
drh
023dd903cc
Adding tests to the mptester scripts.
...
FossilOrigin-Name: e121adceb1e267e032dcbadb74eaa692a12a65bb
2013-04-08 17:57:26 +00:00
drh
e5ebd22d99
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
2013-04-08 15:36:51 +00:00
drh
554052c600
Merge the multi-process tester into trunk.
...
FossilOrigin-Name: ea53c45d79772986d2ad289f4f56f333541747e7
2013-04-08 14:41:34 +00:00
drh
bc94dbb661
Add the "mptester" target to the makefiles. Make mptester run with
...
synchronous off by default.
FossilOrigin-Name: 1397830bfead3699a7e6b1858ae67ae15259b89e
2013-04-08 14:28:33 +00:00
drh
841810cef6
Fix harmless compiler warnings in mptest.c.
...
FossilOrigin-Name: 59bdbb10ed67bf79e0991e2ad58a28321dedb959
2013-04-08 13:59:11 +00:00
drh
1bf44c7acb
Add the vfsname() and eval() SQL functions to mptest.c.
...
Enhancements to the test/config01.test script.
FossilOrigin-Name: 91397a147ce4f67a7ea1182f06a7dda3a96ec465
2013-04-08 13:48:29 +00:00
drh
7dfe8e2bde
Add --if, --else, --endif processing to mptest.c.
...
FossilOrigin-Name: 51265acae3088a51ac0ce6ab8731e6e15a48d4ae
2013-04-08 13:13:43 +00:00
drh
e348fc7fe8
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
2013-04-06 18:35:07 +00:00
drh
1790bb36c5
Add SQLITE_CONFIG_LOG error logging to the mptest program.
...
FossilOrigin-Name: 716c25bd125c8934499c1fb59a60d7e844c0691c
2013-04-06 14:30:29 +00:00
drh
896be7d93a
Get the build of mptest working on mac.
...
FossilOrigin-Name: a0bae686c9d7f08afac00f66067f5147be6231e0
2013-04-06 14:16:41 +00:00
drh
f012ae0759
Get the mptest program running on windows.
...
FossilOrigin-Name: 3966b33284355325afda627ed6f4e26f967438f8
2013-04-06 14:04:22 +00:00
drh
3f5bc38037
Many improvements to the mptest program. Added a simple test script.
...
FossilOrigin-Name: 07b0401a9b61b1664fc6dcddac3b5969fc0f481a
2013-04-06 13:09:11 +00:00
drh
27338e6ed7
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
2013-04-06 00:19:37 +00:00