dan
e91a54e1be
Add test file pager1.test, containing tests of inter-process locking in non-wal mode.
...
FossilOrigin-Name: 6e43eed9310bae9ca5e91f8fd9eafc45a16b7019
2010-06-15 17:44:47 +00:00
dan
0626dfc3dc
Changes to the way tcl test scripts work. No changes to production code.
...
FossilOrigin-Name: 2c5e48a4855e2ec4572697c8fcfe4433e302ef33
2010-06-15 06:56:37 +00:00
dan
430e74cd9b
Change all.test, quick.test and permutations.test so that they use a separate interpreter for each test file.
...
FossilOrigin-Name: 7c33eb5a5add8fe76dd412ecab5b6ff8cd78a98d
2010-06-07 17:47:26 +00:00
dan
c1a60c51dc
Refactor some of the global variables and commands used by tester.tcl.
...
FossilOrigin-Name: c2edf8e17f874d0ca4e94b75575bf6e14eea1f05
2010-06-07 14:28:16 +00:00
dan
80a1526a9a
Fix other problems in the WAL test scripts.
...
FossilOrigin-Name: dcb31181db246dd3f81ce63b144dd0cf95f06ee3
2010-04-13 11:45:31 +00:00
dan
9281bf2a9f
Fix a pager bug introduced by the wal code.
...
FossilOrigin-Name: 4a0b29dc5e573a5d696ede17db5d7acf8d23aa98
2010-04-13 11:18:40 +00:00
dan
64eac557f3
Do not run fts3rnd.test as part of quick.test.
...
FossilOrigin-Name: 3bb64842acdca2a4e81f1c72130a90c23b0804f1
2009-12-04 05:41:03 +00:00
dan
e2e5145441
Fix an incorrect assert() in fts3.c. Add further fts3 tests.
...
FossilOrigin-Name: 75863c2d55e0801add5b8dcf88d575c5c870af04
2009-12-03 17:36:22 +00:00
dan
f59c5cacb8
Fix another OOM related problem in fkey.c.
...
FossilOrigin-Name: e2bc51bc61d54d103ccffd12106c27a574e4e997
2009-09-22 16:55:38 +00:00
danielk1977
d52acb3b5b
Modify quick.test to support the QUICKTEST_INCLUDE environment variable, which can be used to override the built-in EXCLUDE list. (CVS 6350)
...
FossilOrigin-Name: fdfe22f0a568b5e8a5a2ad302d7c06b2696809b0
2009-03-16 14:48:18 +00:00
danielk1977
20736d82e2
Make calls to sqlite3BtreeRollbackStmt() no-ops when passed a Btree* handle that does not have an open statement transaction. Ticket #3718 . (CVS 6342)
...
FossilOrigin-Name: a1bb1aef0e06140a2d5d5e4b6c10c73ce95c89e0
2009-03-12 14:43:27 +00:00
danielk1977
02b4e3b34e
In sqlite3_table_column_metadata(), hold the mutex on all attached BtShared objects while accessing schema objects. Fix for #3679 . (CVS 6328)
...
FossilOrigin-Name: d197afd658eecfc0e24913e5a779c8f1e2a138a6
2009-02-26 07:15:59 +00:00
danielk1977
0410302e58
Commit first version of the 'backup' feature. (CVS 6241)
...
FossilOrigin-Name: 663479b417fc06ba1790a544f28694f8797cee57
2009-02-03 16:51:24 +00:00
danielk1977
e7e6f12aaa
Add test file savepoint6.test. Contains pseudo random tests of savepoint related commands. (CVS 6105)
...
FossilOrigin-Name: 2946fbb7183d597b4db1db203eb5fd57c9762dc4
2009-01-03 10:41:29 +00:00
danielk1977
488af09972
Add some crash-tests for savepoint. Fix a bug revealed by these tests. (CVS 6043)
...
FossilOrigin-Name: 6f36c16678b6e3baa5a9d9ceba1a756a8034f3e1
2008-12-19 16:31:11 +00:00
drh
959403f894
Rework the rowid lookup logic in the query optimizer to fix various
...
boundary value problems. Ticket #3536 . Renamed the OP_MoveXX opcodes
to OP_SeekXX. (CVS 6024)
FossilOrigin-Name: e545490a2828f7f703172dda6d2b9f3342dc134a
2008-12-12 17:56:16 +00:00
drh
1554262148
In rollback.test, do not check for journal deletion if the journal mode
...
is not DELETE. Call show_memstats after each test module in all.test
and quick.test. (CVS 5814)
FossilOrigin-Name: df2c28dc7310510bada292a2e8c1be073803858c
2008-10-13 14:16:11 +00:00
danielk1977
f2fb044bca
Add fuzz3.test. For testing the library's response to corrupted database files. (CVS 5685)
...
FossilOrigin-Name: 7fd4dd95791974b0ef6cf30a186b32df25ee2211
2008-09-09 18:28:06 +00:00
danielk1977
51d2d03636
Fix a threads/mutex problem in pcache.c. (CVS 5630)
...
FossilOrigin-Name: 1928f15b78eee0fbf0a8ecdbbdd38dbbde2942b8
2008-08-28 08:31:48 +00:00
drh
255538e947
Add the trans2.test script designed to stress statement rollback and
...
no-write optimizations on large transactions with a small cache. (CVS 5627)
FossilOrigin-Name: 39c34e2238c27b2a2f4f0b896126ccbd299114c5
2008-08-27 18:56:36 +00:00
danielk1977
71bc31c68d
Fix a race condition in sqlite3_initialize(). (CVS 5310)
...
FossilOrigin-Name: 70b2ed2afcf1757d1c58f3a83dad4a5fb226ae63
2008-06-26 08:29:34 +00:00
danielk1977
ff3c898d13
Change the makefiles so that "make test" now runs the veryquick.test script instead of quick.test. Also modify veryquick.test to reuse the code in quick.test. veryquick.test is now the same as quick.test except that it omits all testing related to malloc and IO error simulation. (CVS 5308)
...
FossilOrigin-Name: 8c65146ea0e77e8e31fffc467806b1edf91fb4db
2008-06-25 17:54:53 +00:00
danielk1977
9afe68477d
Add start of new test file "select9.test". To test LIMIT, OFFSET and ORDER BY on compound SELECT statements. (CVS 5293)
...
FossilOrigin-Name: 3a13e943d8fb4060fc1f0f827a156a730ee64be0
2008-06-24 11:21:20 +00:00
danielk1977
1077e3f7e0
Add test file permutations.test, which runs various other test files with sqlite configured in various ways. This adds a few new tests and replaces test files autovacuum_crash.test, autovacuum_ioerr.test, exclusive3.test, jrnlmode2.test, jrnlmode3.test, jrnlmode4.test, mutex2 and onefile.test. (CVS 5265)
...
FossilOrigin-Name: 0e9df3507bd30d320b7ccfeaf3e06e10938022e1
2008-06-21 18:07:37 +00:00
danielk1977
959e3a9b80
Remove mutex2.test. It will be replaced later today by permutations.test. (CVS 5261)
...
FossilOrigin-Name: 98a6a0a30f16cbc60c655663b5895429a34da0ba
2008-06-21 12:15:04 +00:00
danielk1977
59f8c08ecc
Implement the 'CONFIG_SINGLETHREAD' and 'CONFIG_MULTITHREAD' configuration modes. (CVS 5234)
...
FossilOrigin-Name: 5059644c4bc5f6679afd939e0bc26080f42a9918
2008-06-18 17:09:10 +00:00
drh
16e45a4306
Continuing work on journal_mode. Journal_mode=persist now appears to be
...
working, though additional testing would be welcomed. (CVS 5033)
FossilOrigin-Name: 277e4099cee9105e1801a6d7f5d477f0d2efa858
2008-04-19 20:34:18 +00:00
drh
26c9b5eaba
Speed improvements by removing unnecessary memset() operations.
...
Also: do not resize the opcode array of a virtual machine to its
minimum size after code generation completes. The extra resize
merely uses time. (CVS 4987)
FossilOrigin-Name: 2589955507fc1717891c4e07d1d658eb41660b87
2008-04-11 14:56:53 +00:00
drh
9e6675f73f
Add the veryquick.test script for a very fast overview test that omits
...
all i/o and malloc testing. (CVS 4944)
FossilOrigin-Name: f61df8daa89f07dad2a0ded00c326ef35dead257
2008-03-31 23:51:35 +00:00
danielk1977
5f09613545
Changes to the Mem structure to reduce the frequency of freeing and reallocating the dynamic buffer. (CVS 4928)
...
FossilOrigin-Name: d0bf73d81453da1d8e602e0445064d9f5e348063
2008-03-28 15:44:09 +00:00
drh
c9e8493e27
Added the speed4p.test script for testing performance of views and triggers. (CVS 4923)
...
FossilOrigin-Name: adf7645f9a1e12389a7511d2adca9013b7f330fa
2008-03-27 15:07:04 +00:00
drh
1e968a0cbf
Removed the direct btree tests - part of the ongoing effort to test by
...
calling only public interfaces. Modify the sqlite3VdbeRecordCompare
interface to used a pre-parsed second key - resulting in a 13%
performance improvement on speed1p.test. (CVS 4911)
FossilOrigin-Name: 0e1d84f2f456e7680bb667266745b629ddf3605f
2008-03-25 00:22:21 +00:00
drh
45c236d81e
Add the speed1p.test script. Like speed1.test except that it tries to take
...
advantage of prepared statements. (CVS 4907)
FossilOrigin-Name: ece4fb9f7b93dc3e3cb77e40b011d013d0750dcf
2008-03-22 01:08:00 +00:00
danielk1977
81a392f7d7
Do not run crash7.test as part of a quick test. (CVS 4898)
...
FossilOrigin-Name: 53b4a09040341a981b2f33399a1ddcee952ba3ef
2008-03-20 16:26:48 +00:00
danielk1977
67c007bf4b
Write the page-size into the first journal-header of each journal file. (CVS 4894)
...
FossilOrigin-Name: 79f573cc7be89b3dd5540c45ef132b5cedc98e9b
2008-03-20 04:45:49 +00:00
danielk1977
24acd8f939
Use 1<<$x instead of pow(2,$x) in the test suite code. (CVS 4715)
...
FossilOrigin-Name: 3a289b6d28bcf399845586b15f100d7c3a78b550
2008-01-16 18:20:41 +00:00
drh
04adf4161d
Finish registerizing the core logic of INSERT and UPDATE. (CVS 4696)
...
FossilOrigin-Name: 5fd1036788dbbc48ff1c746d2e1ba12b04a7e58c
2008-01-08 18:57:50 +00:00
drh
f998b730dd
Additional out-of-memory testing. Fix bugs caused by malloc failures in
...
where.c. Tickets #2794 , #2795 , #2796 , and #2797 . (CVS 4560)
FossilOrigin-Name: 5e02dbabcfa42173adff234c086df1e962824c92
2007-11-26 13:36:00 +00:00
drh
613a0fe455
Changes fts3 to use only sqlite3_malloc() and not system malloc.
...
Ticket #2762 . (CVS 4554)
FossilOrigin-Name: 460af6bb668094c99a1d4dc1540b44b6d1d036b6
2007-11-23 17:31:17 +00:00
danielk1977
0d6e7a00d6
Add speed4.test, with some speed tests for triggers, sub-selects, views and joins. (CVS 4504)
...
FossilOrigin-Name: 3e3475b9e0f996841aa40419693c7c3eaa6c71aa
2007-10-23 10:25:30 +00:00
danielk1977
a15db35304
Minor fixes for the OMIT_INCRBLOB compilation option. (CVS 4430)
...
FossilOrigin-Name: 87e37eabf0ddef252bbc12f6857d33c2b136dcd3
2007-09-14 16:20:00 +00:00
danielk1977
e9dcd5e6e3
Add another test file to help verify thread-safety. (CVS 4419)
...
FossilOrigin-Name: c758cc1d885b4528c0b0ef6382119f20956d4816
2007-09-10 10:53:01 +00:00
danielk1977
6897ca30b5
Add some warm-body tests for rollback journal i/o enhancements. (CVS 4279)
...
FossilOrigin-Name: ff3770f855c1dd75025b1f2496f8c75e9f17ee44
2007-08-23 16:27:21 +00:00
drh
4a50aac564
Improvements to memory leak detection. The --backtrace=NNN option is now
...
recognized by tester.tcl. Memory leak summaries are automatically written
to the file ./memleak.txt and each leak is tagged with the test in which
it occurred. The quick.test script runs on Linux with no errors and
no leaks. (CVS 4273)
FossilOrigin-Name: 21f6b31097692171c6493e6ca6de6acbd62dc595
2007-08-23 02:47:53 +00:00
drh
dce8bdb8c0
Remove the thread specific data subsystem from the unix build. Remove
...
legacy cruft from sqliteInt.h. Use the new mutex subsystem in the PRNG. (CVS 4237)
FossilOrigin-Name: 3d60c14a32955b69e714a73372924d421899f83b
2007-08-16 13:01:44 +00:00
drh
44548eccb9
Documentation updates prior to release 3.4.0. Enhanced support for
...
soak testing in the test scripts. (CVS 4084)
FossilOrigin-Name: eec387103869940697487ec5226eaed0b51ede7a
2007-06-18 12:22:43 +00:00
danielk1977
c9cf901d8c
Add some extra tests for malloc failure during expression parsing and execution using fuzzily generated SQL. (CVS 4043)
...
FossilOrigin-Name: 7522d2fb3204d107b8b4816d7f39c88741f20230
2007-05-30 10:36:47 +00:00
danielk1977
5453b8da9e
Add the start of the soak-test infrastructure. (CVS 4042)
...
FossilOrigin-Name: 5d0b247ca1667f5d773bda337cb6f58c3b14676a
2007-05-30 08:18:04 +00:00
danielk1977
4aeff62ee0
Fix an obscure b-tree bug that applied to transient trees used for IN(...) expressions. (CVS 3987)
...
FossilOrigin-Name: 96c7232f8b208cd1c50063f7946bb6dbc386abd6
2007-05-12 09:30:47 +00:00
danielk1977
def0fec8e0
Add new test file fuzz.test, to test SQLite with fuzzily generated SQL. (CVS 3971)
...
FossilOrigin-Name: 1e9e6fe75d01d8cf4e1a23505c45f28491f1e902
2007-05-10 15:37:52 +00:00