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
dan
7b2ec1ae41
Improve fts5 tests.
...
FossilOrigin-Name: c1f07a3aa98eac87e2747527d15e5e5562221ceb
2015-04-29 20:54:08 +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
dan
90dd70226f
Fix an fts5 bug in handling writes while there are active cursors.
...
FossilOrigin-Name: 07f70955392697556ca2951c9b6c3a5204cd5ec0
2015-04-28 20:24:50 +00:00
dan
cdbd150170
Improve coverage of fts5 tests.
...
FossilOrigin-Name: 8e8136f2dc08082c2984462719d9cba0f212c92a
2015-04-28 18:35:28 +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
dan
a3bdec7ee4
Change the fts5 content= option so that it matches fts5 columns with the underlying table columns by name, not by their position within the CREATE TABLE statement.
...
FossilOrigin-Name: e38e2bb637844dae8ae5d5f3e23d8369e1b91e45
2015-04-27 16:21:49 +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
dan
c1cea8f731
Further tests for fts5.
...
FossilOrigin-Name: ffeb3ef3cfec3681b72bb28cfa612aa15e07887d
2015-04-27 11:31:56 +00:00
dan
26c84373c4
Improve coverage of fts5_index.c slightly.
...
FossilOrigin-Name: e5aaa01306597ffd2475dcb83ae889393f68d315
2015-04-25 20:29:46 +00:00
dan
b33e64c83e
Add tests for fts5.
...
FossilOrigin-Name: e748651c940eae2389fe826cf5c25f1166a5e611
2015-04-25 18:56:48 +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
dan
ef8b74324d
Merge latest trunk changes with this branch.
...
FossilOrigin-Name: 1c78d8920fb59da3cb97dd2eb09b3e08dfd14259
2015-04-24 20:18:21 +00:00
dan
df5bd1fed2
Add the "unindexed" column option to fts5.
...
FossilOrigin-Name: 86309961344f4076ddcf55d730d3600ec3b6e45c
2015-04-24 19:41:43 +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
dan
def90aae18
Add extra tests for corrupt database handling in fts5.
...
FossilOrigin-Name: 41449f7a0b5da6332eef48386c91ef63382c4783
2015-04-24 15:56:09 +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
dan
9686db7770
Fix an fts5 build problem in main.mk.
...
FossilOrigin-Name: 60045cedef109f03317dc878fe6bb3d03867ae69
2015-04-24 06:02:29 +00:00
dan
6758959ec3
Fix a problem in the "ota" utility program causing it to crash if SQLite failed to open the target database.
...
FossilOrigin-Name: a1a2b4a2eff4f641fa80e8ffa805c97afb73be95
2015-04-23 19:38:20 +00:00
dan
e11afed562
Merge latest trunk changes into this branch.
...
FossilOrigin-Name: 1506e99eca19f72fb59b55ec9e2534505dfa7a6e
2015-04-23 19:32:19 +00:00
dan
55d46f01c5
Fix a performance problem in calls to sqlite3ota_close() made after the OTA update has been completely applied and checkpointed.
...
FossilOrigin-Name: fa62093b2531424846ea500c4155170d1bc7110e
2015-04-23 19:18:42 +00:00
dan
1cdd523a50
Have OTA maintain a small LRU cache of UPDATE statements. This reduces the amount of time it spends compiling UPDATE if a single data_xxx table contains many different ota_control strings.
...
FossilOrigin-Name: baee3556ea10d96f1623cf4dce112fa1a1070820
2015-04-23 18:14:21 +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