dan
c722cf7d03
Add the 'y' flag to the fts3/4 matchinfo() function.
...
FossilOrigin-Name: aef1e8f47123e2e865432a0abf194dea4f23447a
2015-05-04 12:29:50 +00:00
drh
1a57c17d0f
Improvements to fuzzershell: Avoid excess memory allocations when loading
...
many files. Show the total runtime on final output. Show individual filenames
as they are processed even if they are single test-case files.
FossilOrigin-Name: 34a722a2f3331c35211526c9ec055d4d9175c965
2015-05-02 19:54:35 +00:00
drh
1a51337af8
Add the ".limit" command to the command-line shell.
...
FossilOrigin-Name: 803cb60e75e0b09a526eefec11139cb3e8ae8c7c
2015-05-02 17:40:23 +00:00
dan
36b948f88a
Reorganize some multi-threaded code in vdbesort.c so that full MC/DC test coverage does not depend on the outcome of a race condition.
...
FossilOrigin-Name: 78c7ec95931265b89a92f6a799fc9b1a9f0476bf
2015-05-02 12:40:12 +00:00
drh
c049057242
Cleanup of the sqlite3StrAccumInit() function. No functionality changes.
...
FossilOrigin-Name: 7952c32268aa650d9ee946d5bfe190f712e3bbe6
2015-05-02 11:45:53 +00:00
dan
28f98455f4
Add the experimental matchinfo 'y' flag to fts3/4.
...
FossilOrigin-Name: 92941609af74044b3078e020324a37b04a0638b0
2015-05-02 09:44:15 +00:00
drh
c843016e36
Enhance the fuzzershell --uniquecases option to output results in order of
...
increasing runtime and to include the runtime in the comment separator of
the output.
FossilOrigin-Name: 04630b989d8794b9ed2553f4d223de2b322437c5
2015-05-01 20:34:47 +00:00
drh
b3df0c675c
Enhance fuzzershell to accept multiple input files. Add the test/fuzzdata2.txt
...
fuzz test content.
FossilOrigin-Name: ab5523aafe4817232388d28ea99be0953e7dccf3
2015-05-01 19:21:12 +00:00
drh
e9c5f97683
Fix an assert in RTREE that would fire if the rtree table is misdeclared.
...
FossilOrigin-Name: 9a45409cc4078f2b6e68aa777f6ab86a14309833
2015-05-01 18:00:37 +00:00
dan
929b923388
Fix an assert() failure caused by setting "PRAGMA journal_mode=off" on an database in exclusive-mode that has already opened the journal file.
...
FossilOrigin-Name: 40db3e40126db1035fcc12989026915744dc5651
2015-05-01 16:57:24 +00:00
drh
5789d1a46f
Remove obselete comment text from the description of the Table object.
...
No changes to code.
FossilOrigin-Name: 6566b72a9c68b347d126189b376f52ffd56edfba
2015-05-01 15:25:51 +00:00
drh
abf582509d
Use the sqlite3Fts3ErrMsg() function to set error message text in FTS3,
...
and to ensure that error messages are not overwritten and thus leaked.
FossilOrigin-Name: 605347e087ec5eb817f3c94f4616abe26c7ab66b
2015-05-01 14:07:30 +00:00
drh
6296a2ab4b
Enhance the CLI to initialize the dbstat virtual table if compiled using
...
SQLITE_ENABLE_STAT_VTAB.
FossilOrigin-Name: 822dfc00173dad7703aa6413bb94f72f0da8e2c6
2015-04-30 20:35:33 +00:00
drh
f2db338926
Fix a harmless comment typo.
...
FossilOrigin-Name: 012a0c4e8485b1c2206ecff1946bf036bae04f3c
2015-04-30 20:33:25 +00:00
dan
d154a43ed9
Avoid dropping an error code in test function sqlite3_dbstat_register().
...
FossilOrigin-Name: 9a9f633f035fc3f6484b2d8eeed937374f4558c4
2015-04-30 20:26:53 +00:00
drh
6c98415a1c
Modify the mkfuzzdata1.tcl script so that it retains the culled test vectors
...
in the tmp2 subdirectory.
FossilOrigin-Name: 431a958f3b605ef059119eaedd69796e14bec291
2015-04-30 13:06:15 +00:00
drh
6a412b8be9
Fix signed/unsigned comparison compiler warnings. Add the
...
SQLITE_OMIT_RANDOMNESS compile-time option to cause the PRNG to be seeded
identically on every run, for testing purposes.
FossilOrigin-Name: 93ce2bca701efc67aeb517c4d641bde71332e8a0
2015-04-30 12:31:49 +00:00
drh
f3cdcdccbe
Use sqlite3_malloc64() in place of sqlite3_malloc() internally.
...
FossilOrigin-Name: 48f553b05c05373c0af4b9c3a542979db3a2ee19
2015-04-29 16:50:28 +00:00
drh
b4a91a9a88
Improved support for OSTRACE on Windows.
...
FossilOrigin-Name: ca43812bde499a23244e2860d3ceddc97d29f09e
2015-04-29 00:35:07 +00:00
mistachkin
5824d44bab
Revise when the sqlite3ErrName() function is defined.
...
FossilOrigin-Name: 9e593fb3dbc58e86f499ba4399530e3e760eb84d
2015-04-28 23:34:10 +00:00
drh
0bdef92dc2
Update the test/fuzzdata1.txt file with the latest cases discovered by AFL.
...
FossilOrigin-Name: f2063f5320f5a5d884f9c931eb91b7cc94945b92
2015-04-28 14:49:41 +00:00
dan
d68d1f4863
Fix an assert() failure that could occur if the internal sqlite3_rename_parent() SQL scalar function was invoked directly.
...
FossilOrigin-Name: 36e515261825be60ffdc73d13340d77cf377e8e1
2015-04-28 14:07:02 +00:00
drh
bd6789e761
Fix sqlite3VdbeMakeWritable() to always clear the MEM_Ephem flag.
...
Change the OP_Move opcode to always deephemeralize moved content.
FossilOrigin-Name: fbb06727181eac1470b2dd458d2d159146439d21
2015-04-28 14:00:02 +00:00
drh
5fb71254e4
Shift the Mem.pScopyFrom pointer in the correct direction in OP_Move.
...
Fix for a defective check-in [a2135ad13049] and ticket [d6352363751].
Debugging code only - does not affect normal operation.
FossilOrigin-Name: add4e043b35f9c454dea7b888eef1c1e14d791f1
2015-04-28 12:44:55 +00:00
drh
06d83377e1
Add code to the shell to optionally initialize the dbstat virtual table.
...
FossilOrigin-Name: 7ed86dd3b85ee092a19fe5d1e2fba39ce0166a2a
2015-04-28 12:27:22 +00:00
drh
42c0a2b2f3
Fix comment typos. No code changes.
...
FossilOrigin-Name: 60174cf572f8788e67a0434d5fe763724d7425a3
2015-04-28 01:28:36 +00:00
drh
4d35c41f48
Add a TCL script that can be run to generate the fuzzdata1.txt file.
...
FossilOrigin-Name: fdc79fd14af8e05d1d5b4665303715b391f2e402
2015-04-28 00:53:26 +00:00
dan
995f8b9d73
Add fault-injection tests for the code in test_stat.c.
...
FossilOrigin-Name: ea5e0b74c997492025225cd86e65e8a8c86ca4a0
2015-04-27 19:53:55 +00:00
drh
a30c158c38
Update the fuzzer test data after having run it through afl-cmin to remove
...
redundant test cases.
FossilOrigin-Name: 8134d41b964428b3af022735bce9d07c6ad28b21
2015-04-27 15:08:53 +00:00
drh
b3f3d64b4b
Fix compiler warnings in sqldiff.
...
FossilOrigin-Name: 5f48d6f6c0a573ecc5bd42cb6c019288e22d295f
2015-04-25 18:39:21 +00:00
drh
375d9b1f1c
Update the AFL fuzzer data with newly discovered paths.
...
FossilOrigin-Name: d98219805d4596360ac6ae9647687f8dc709828a
2015-04-25 17:45:36 +00:00
drh
7c84c02ce3
Fuzzershell: change the error summary output to work with releasetest.tcl.
...
Reduce the maximum number of OOM interations.
FossilOrigin-Name: f5e6c4b28d25429aac53ea8cb334a2e6bd821f39
2015-04-25 16:39:49 +00:00
drh
f332071b7f
Add the fuzzoomtest target to the makefiles. Invoke fuzzoomtest from
...
releasetest.tcl.
FossilOrigin-Name: f60657c2ae8a11f1e546c953bca07d9396142f73
2015-04-25 13:39:29 +00:00
dan
f89aa47f80
Fix an obscure memory leak that could follow an OOM in where.c.
...
FossilOrigin-Name: 08ec9f2f5a446774bb8e9b9b0ef463dd5458d28e
2015-04-25 12:20:24 +00:00
drh
be5248f084
In fuzzershell: (1) comment fixes. (2) Set and clear g.zTestName[] correctly.
...
(3) Use the value in g.zTestName[] in error messages.
FossilOrigin-Name: b7394755fab81329d56bad1b506e536b2fcbe8cd
2015-04-25 11:35:48 +00:00
drh
0ee751fb67
In the fuzzershell, always invoke the trace and log callbacks even if output
...
is suppressed. Keep track of the current test name in a global variable
for simplified debugging.
FossilOrigin-Name: 3045f454817f657df801358c40c665b0b0d73c1f
2015-04-25 11:19:51 +00:00
drh
9a9705de5c
Do not send the extra ";" and "\000" tokens to the parser if a prior error
...
has occurred.
FossilOrigin-Name: 9aa70ddf2ca6044634560a801b43df121384eb64
2015-04-25 00:32:30 +00:00
drh
9f18f7434e
Add fflush() calls to fuzzershell to keep stderr and stdout synchronized.
...
FossilOrigin-Name: 2b98a25237d1b3e64aec2772b622e8b3be2df454
2015-04-25 00:20:15 +00:00
drh
048810b63b
Add the --oom option to fuzzershell.
...
FossilOrigin-Name: 14a9e4a377bf2974f5db148c8f86e2c5ffdfa28d
2015-04-24 23:45:23 +00:00
drh
61a0d6bc55
Fix fuzzershell so that it works with SQLITE_OMIT_TRACE.
...
FossilOrigin-Name: dc88fe7e641c52d27fba8c753cee590db87388c5
2015-04-24 18:31:12 +00:00
drh
0ef84d0e5e
Add the --with-tcl=DIR option to the test/releasetest.tcl script.
...
FossilOrigin-Name: 4dda916a572bcb54c8cf3b81d965328632a722eb
2015-04-24 17:50:37 +00:00
drh
8ea5eca183
Run fuzzershell as part of the valgrindtest makefile target.
...
FossilOrigin-Name: 0bb96a037bd7179cb3a6137bb29827fc7d72ec3f
2015-04-24 16:53:03 +00:00
drh
f1e1736fe1
Add the fuzztest target to the MSVC makefile.
...
FossilOrigin-Name: 98edc6152cdd935dc83c1330c088145e7adb9dd0
2015-04-24 16:16:31 +00:00
drh
e1a71a582f
Add AFL-generated test cases in the test/fuzzdata1.txt file. Automatically
...
run fuzzershell against those cases on a "make test".
FossilOrigin-Name: 627ea83c26b420088f101801eb8765127f47d2d0
2015-04-24 16:09:12 +00:00
drh
875bafa17a
Add the --unique-cases option to fuzzershell.
...
FossilOrigin-Name: 7cb718491b5de77d4a73d8484324b66a36815019
2015-04-24 14:47:59 +00:00
drh
1cbb7fa95c
Fuzzershell enhancements: (1) Add the --verbose and --quiet flags
...
(2) Show percentage complete and final test count for multi-test inputs
(3) Omit trace and result logs unless the --verbose flag is used.
FossilOrigin-Name: ed202ffac2eb85be9a18dca2a051ea3be16f8893
2015-04-24 13:00:59 +00:00
drh
41148f83c4
Fix a faulty assert() in the "AS" alias resolution logic of the parser.
...
FossilOrigin-Name: b5e43602833249aa4b73337bf85b7f308450dab6
2015-04-23 13:37:05 +00:00
drh
00808deed0
Improvement to "ID" formatting on the ".selecttrace 0x1ff" debugging function.
...
FossilOrigin-Name: 01c50cee37bfaddfecdda014728c35a1be1d991a
2015-04-23 13:00:42 +00:00
dan
38f2024062
Fix a problem causing the fts3 integrity-check to fail if run inside a transaction.
...
FossilOrigin-Name: 3b925189a75eae875da256b6e54999cad3cef1eb
2015-04-23 11:52:04 +00:00
drh
0ba51089c8
Improved filtering of input for fuzzershell for modes other than generic.
...
FossilOrigin-Name: 025e8370dde2918b66683f8d7fa9c7d23d03c9b4
2015-04-22 13:16:46 +00:00