dan
3480a01dad
Add documentation for the newly introduced sqlite3_vtab_config() and on_conflict() API functions. Test that encountering an SQLITE_MISMATCH in fts3 does not corrupt the full text index.
...
FossilOrigin-Name: abdd70ae0424ccadb7edaf16e970c78b5257d23c
2011-04-27 16:02:46 +00:00
dan
d9495cd0c6
Fix problems related to savepoint rollback and fts3.
...
FossilOrigin-Name: ff69f823f23e6fb6e8b2857c4576d9c0732d9572
2011-04-27 12:08:04 +00:00
dan
a311b80392
Extra tests for fts3. And fixes for conflict-handling related problems in fts3.
...
FossilOrigin-Name: fb4a355871d9482ccb28b6ba03b842b3cc87b696
2011-04-26 19:21:34 +00:00
dan
b061d058cb
Add support for on conflict clauses to fts3/fts4.
...
FossilOrigin-Name: 6d2633a6d0a9bb88fb1a6adac0827dc51df2d4d2
2011-04-25 18:49:57 +00:00
drh
713de341a7
Disable the transfer optimization if the destination table contains
...
any foreign key constraint and foreign key constraints are enabled.
Ticket [6284df89debdf].
FossilOrigin-Name: ddeea5ab5f6c0c4a86cdfbbb9f24d9d54bf8d301
2011-04-24 22:56:07 +00:00
dan
8e98037c1b
Test that it is now possible to use different VFSs for two databases attached to a single handle.
...
FossilOrigin-Name: 2af51f856c6203f836d8bb62b6b79b19554886e7
2011-04-23 19:06:26 +00:00
dan
3a6d8aec2a
Have the ATTACH command do URI interpretation in the same way as sqlite3_open() and sqlite3_open_v2() do.
...
FossilOrigin-Name: 68240e75e87a54cde93352b0ec364d34365a8170
2011-04-23 15:54:54 +00:00
dan
5de1537478
Fix parsing of %00 in uri handling code.
...
FossilOrigin-Name: 44f0874a95408c75a296964a04eef00341abb94a
2011-04-23 10:12:30 +00:00
dan
cd74b611f4
Add the start of the "uri-filenames" feature.
...
FossilOrigin-Name: b8a8132e7148a7c90ca1352f20ab71d97b0bc4b0
2011-04-22 19:37:32 +00:00
dan
fc083ab973
Update a comment in e_createtable.test.
...
FossilOrigin-Name: d8b149f5e465f7794739ed0210e1e5c53110ee9a
2011-04-20 13:35:44 +00:00
dan
355c53b6ef
Avoid passing NULL to the xOpen method of an FTS3/4 tokenizer.
...
FossilOrigin-Name: 0dd09fc034c127718366d3a3183e367d2f9fd82d
2011-04-19 06:43:22 +00:00
shaneh
35913a49db
Adjust some test cases in triggerC.test to handle non-default SQLITE_MAX_TRIGGER_DEPTH settings.
...
FossilOrigin-Name: 9d6c6129fd8be42c164f14bb90011b252c1f2c46
2011-04-17 00:55:13 +00:00
shaneh
b76ee876ba
Adjust test case in quota.test to handle Windows dir seperators.
...
FossilOrigin-Name: 75ed1bcee85587ddd54269156aa53df5f456a6c4
2011-04-15 21:37:33 +00:00
shaneh
9dd6e0801d
Updates to test code in os_win to bring winSync inline with unixSync (test code only).
...
Updated a few test scripts to account for dirsync counting issues on Windows.
FossilOrigin-Name: 8f99c5bf639ee4f6384cc3c2d7f056d1b08e4f16
2011-04-15 20:18:40 +00:00
drh
3e9548b30d
Do not do full table scans of unordered indices.
...
FossilOrigin-Name: a8761a9128de945aa4b6196df5ffe64115d66b61
2011-04-15 14:46:27 +00:00
dan
9020de6a81
Change exists.test to run all tests with and without "PRAGMA journal_mode=WAL".
...
FossilOrigin-Name: c4e624db1a981fe6e520af51efc6ce33bca2c714
2011-04-11 05:38:31 +00:00
dan
66f0dcb7df
Add test file unordered.test.
...
FossilOrigin-Name: f346dae1278b5b0cc0cd8e05aa3b4d8f70d2dc1d
2011-04-09 19:17:49 +00:00
dan
579667537a
Add VerifyCookie instructions to "DROP XXX IF EXISTS" statements if the specified database object does not exist when the statement is prepared.
...
FossilOrigin-Name: a46f32900a013aa6bb2dad2a9ed3ce00ab2493fd
2011-04-09 17:32:58 +00:00
dan
7687c83d4c
Add an OP_VerifyCookie instruction to "CREATE XXX IF NOT EXISTS" commands. This way, if the specified database object existed when the statement was compiled but removed from the database before sqlite3_step() was called, the statement still works as expected (and creates the object).
...
FossilOrigin-Name: b9dbd9936191666c3fc9889e938344a82cc03aeb
2011-04-09 15:39:02 +00:00
drh
2184fc75a2
Back out the SQLITE_OMIT_UNIQUE_ENFORCEMENT compile-option. It is an unneeded
...
complication.
FossilOrigin-Name: 927e955b93e869727c55b784401de3ea07bee257
2011-04-09 03:04:13 +00:00
drh
ea6dc4458b
Always make sure the left-hand side of the IS NOT NULL operator is a
...
smiple column, not a general expression, before applying the IS NOT NULL
query optimization.
FossilOrigin-Name: 543f75a6abe3aa4f49df43e71a462702d40b3251
2011-04-08 21:35:26 +00:00
dan
1c152101ca
Add some rtree tests to the backcompat.test script.
...
FossilOrigin-Name: 8ea3601cd11088ae4d62bd4a05d1675301b26ace
2011-04-08 18:47:24 +00:00
dan
e620c5e5ba
Fix incrvacuum2.test so that it works with the inmemory_journal permutation.
...
FossilOrigin-Name: 7b8e176143bb8b55e34fd70cbfa639b1097b2c34
2011-04-08 17:22:30 +00:00
dan
1b855bbd57
Add test case to verify [d03d63d77e] works.
...
FossilOrigin-Name: bf78acb9dfacde0f08a5b3ceac13480f12a06168
2011-04-07 15:24:08 +00:00
dan
fe98f9b216
Avoid running thread1.test or thread2.test if SQLITE_MUTEX_NOOP is defined.
...
FossilOrigin-Name: 532ae32ea0f5e821dac643cbc4b041c103cadfdc
2011-04-07 14:05:47 +00:00
dan
7329ed9b38
Do not run multi-threaded Tcl tests if the library was built with SQLITE_MUTEX_NOOP defined.
...
FossilOrigin-Name: e4e99606fdf1f1cecf914dc865b066bf07793d1f
2011-04-07 10:09:00 +00:00
dan
b73da5bd1c
Fix test script attach4.test so that it works with type 1 VFS implementations (no wal). And wal.test so that it work with a small default pager cache size.
...
FossilOrigin-Name: 29c7b42587000704d61f49badd584ac7040c3d7d
2011-04-07 05:17:32 +00:00
shaneh
18e2d06b5c
Fix an issue with an analyze test. No code changes.
...
FossilOrigin-Name: cddf79db83e5f121cc4ce8ab7ad3993fc96f5bc0
2011-04-07 01:54:14 +00:00
dan
dc5df0f824
Fix a benign inaccuracy in the os_unix.c SQLITE_FCNTL_SIZE_HINT code.
...
FossilOrigin-Name: 61a6ccbe3c9c3ad5f35fb325e3c327cb19409925
2011-04-06 19:15:45 +00:00
dan
56089737c1
Add configurations featuring the -ftrapv switch and large values for SQLITE_MAX_ATTACHED to releasetest.tcl.
...
FossilOrigin-Name: 989588abf3e88e198b7224604d54f7dc24d2576f
2011-04-06 12:37:09 +00:00
dan
ce8e5ffe1c
When committing a WAL transaction, do not write any pages to the WAL file with page numbers greater than the size of the database image in pages.
...
FossilOrigin-Name: 311d0b613d9cfa2dbcbb9ef2450041b1fd48770a
2011-04-05 16:09:08 +00:00
shaneh
14a7fa9034
Added ifcapable wal to some test scripts;
...
FossilOrigin-Name: 6b270381daad5d1a9ca5746cf439c90f9c735a1b
2011-04-05 02:33:44 +00:00
shaneh
6faa5fdfe1
Added ifcapable utf16 to a few test cases;
...
FossilOrigin-Name: 57e0919b08e3b839b7c71011707a19ae2511a625
2011-04-05 02:21:04 +00:00
shaneh
3a2d29f8f4
Changes for consistent use of SQLITE_OS_UNIX and removal of legacy OS_UNIX from testfixture source;
...
FossilOrigin-Name: 78b6eee200cab363be520d771375e44898f80e01
2011-04-04 21:48:01 +00:00
dan
6a64d67884
Add the "--start=[permutation:][testfile]" option to tester.tcl. For starting quick.test or all.test at the nominated permutation and/or test file.
...
FossilOrigin-Name: a97e8505f229e05bf97ef9edbe063a52b581f339
2011-04-04 15:38:16 +00:00
dan
26ec621a9f
Changes to oserror.test and syscall.test so that they work with the in-memory journal permutation test.
...
FossilOrigin-Name: 4e996f36c73c5e768a954394fcbbf5e17576c807
2011-04-04 07:05:38 +00:00
dan
51438a7936
Avoid returning SQLITE_NOTFOUND when the unix xSetSystemCall interface is invoked with NULL passed as the second argument, even if all the default system calls are already installed.
...
FossilOrigin-Name: 3b91eaaa0b3c25022332ba3d1a5651848fc5d84c
2011-04-02 17:00:47 +00:00
dan
82346d9873
Do not attempt to run tests that use the 'wholenumber' virtual table if the build does not support virtual tables.
...
FossilOrigin-Name: 20afd81a4cf4d23962ec841bbd375f36a5156fb6
2011-04-02 09:25:14 +00:00
dan
de17f94895
Fix additional test cases so that they work with DEFAULT_AUTOVACUUM.
...
FossilOrigin-Name: 139bc5655ed1d0fd1b7ca86d05a998fcc5fbc18e
2011-04-02 06:44:38 +00:00
drh
70586beb3d
Add the "wholenumber" virtual table module to the test suite - useful in
...
populating tables with many rows of content prior to a test.
FossilOrigin-Name: 975dff155bd9db42f2b6855b24c861852bb7a201
2011-04-01 23:49:44 +00:00
drh
f5a8a917ee
Merge the word-fuzzer branch into trunk.
...
FossilOrigin-Name: f77609d44194ee8871b3fb281ea6b90a9182f69f
2011-04-01 20:47:27 +00:00
drh
1b05c423fe
Add additional test data and documentation to the fuzzer virtual table.
...
FossilOrigin-Name: a6a81d4fdafabba514e8f8e1958d6132b3850772
2011-04-01 20:28:31 +00:00
dan
7fa65fbfa8
Changes to wal tests so that they work with DEFAULT_AUTOVACUUM defined.
...
FossilOrigin-Name: b477852f82c1fddbda61fad83d55055ad8503dda
2011-04-01 19:14:40 +00:00
drh
d820b42c29
Merge the multiplexer enhancements back into the trunk.
...
FossilOrigin-Name: 2c125710cbf04198464d436b16e5ef37c5b219cf
2011-04-01 18:39:24 +00:00
dan
e433235ec2
Change analyze7.test so that it works without SQLITE_ENABLE_STAT2 defined.
...
FossilOrigin-Name: 9415201c8a0b9b640f5997c5348c5df812e88230
2011-04-01 17:53:19 +00:00
dan
be53500356
Ensure that it is not possible to add a column to a system table using ALTER TABLE.
...
FossilOrigin-Name: d9707ef8dcd29667b6d366897f6ad02c87aa0041
2011-04-01 15:15:58 +00:00
drh
295867bd55
Merge the ANALYZE-index enhancement into trunk.
...
FossilOrigin-Name: 7e237aea22084416d02b89d5223de4e1ca76882d
2011-04-01 14:26:14 +00:00
shaneh
3801b65d62
Removed dependency on sqliteInt.h so that multiplex VFS shim can be compiled as loadable module.
...
FossilOrigin-Name: 718f1ad7df9115871ba6159012d3183183fc40a1
2011-04-01 14:22:46 +00:00
drh
be28a9b072
Test cases for ANALYZE-index.
...
FossilOrigin-Name: 365896cb0868fa476e3b4f5a965a1344a2914cc2
2011-04-01 14:04:36 +00:00
dan
ea83bc614e
In os_unix.c, do not return SQLITE_BUSY to SQLite following an error in fcntl(F_UNLCK), regardless of the value of errno.
...
FossilOrigin-Name: ff6dfe6ed74f9ff1669b2bda41d61a01cd0a1bc6
2011-04-01 11:56:32 +00:00