drh
f4b595b929
Update evidence marks on the URI filename tests to conform to the latest
...
documentation.
FossilOrigin-Name: 1bab03c4811b5e5b3d15632bc2a3844891f9fad7
2011-05-30 15:06:48 +00:00
drh
305ebab7cc
Changes to work with SQLITE_OMIT_VIRTUAL_TABLE.
...
FossilOrigin-Name: 03f7d36a8a24825b7542b5fed651af1622ae4eb5
2011-05-26 14:19:14 +00:00
drh
812d6088be
Fix the URI test script so that it works even if there is a subdirectory
...
named "test".
FossilOrigin-Name: 2018d4e108872f2436df046636401b89cfde589d
2011-05-20 01:50:01 +00:00
dan
fdf304d399
Add another test for [2d1a5c67df].
...
FossilOrigin-Name: 97fcd9e88891abd44037004e47862bcecfa1b0c9
2011-05-19 07:53:23 +00:00
drh
e5a1320d73
When committing a WAL transaction, make sure at least one page is
...
written to the WAL file so that the WAL subsystem will have a page
on which to set the commit flag.
Ticket [2d1a5c67dfc236].
FossilOrigin-Name: 67bf1c9a888b0d84d252d6c4c754c2c51994d208
2011-05-19 01:21:42 +00:00
shaneh
cc4e19be9a
Update multiplex VFS to handle empty filenames which can occur for during vacuuming (temp file names.)
...
FossilOrigin-Name: a074986045f1a81fb831ffee4a29af13c978b053
2011-05-18 02:22:41 +00:00
drh
81cc516352
Add the ability to limit filenames to 8+3 using the
...
SQLITE_ENABLE_8_3_NAMES compile-time option together with a URI
parameter of "8_3_names=1".
FossilOrigin-Name: 96d609856025919571f781207dfa6a24b1732e8d
2011-05-17 20:36:21 +00:00
dan
133d7dab17
Add extended return code SQLITE_CORRUPT_VTAB. Returned when the tcontents of the sqlite tables used internally by a virtual table module are invalid or inconsistent.
...
FossilOrigin-Name: 8844e8bfb87314fb40ecb92705e8fff88f72bb38
2011-05-17 15:56:16 +00:00
drh
85a8375580
Enhance WAL mode so that the WAL file honors the journal size limit set
...
by PRAGMA journal_size_limit.
FossilOrigin-Name: db7e500f69faf1906a84991ba67d26a195f02ae5
2011-05-16 21:00:27 +00:00
dan
1943299629
Have flags passed to sqlite3_open_v2() apply to the main and any attached databases. And change things so that any "mode=xxx" or "cache=xxx" options specified as part of a URI for the main database do not also apply to attached databases.
...
FossilOrigin-Name: 3e490915301216e242a5cdeb0febaff12ed53cb9
2011-05-10 18:39:10 +00:00
dan
eaadd59ab0
Update URI test cases to account for the new error message format.
...
FossilOrigin-Name: 5bde568028216f5bbf76fa0b61bf5b736699f4b1
2011-05-10 17:43:28 +00:00
dan
c46948a09d
Merge the uri branch with the trunk.
...
FossilOrigin-Name: 88df33c45fd5875ea82bc757b239fe3e61663c12
2011-05-06 18:55:31 +00:00
dan
8d7a2d3b45
Remove some unnecessary modifications from the uri branch. Add a test to show that ATTACH only interprets its argument as a URI if the connection was opened with SQLITE_OPEN_URI (or URI interpretation is globally enabled).
...
FossilOrigin-Name: aa90b943254cf348aa2d23ac05e1895b188e2101
2011-05-06 18:53:27 +00:00
dan
286ab7c2b1
Update comments and documentation associated with new URI parsing code. Add test file e_uri.test, containing tests mapped to documentation regarding URI filenames.
...
FossilOrigin-Name: 92751788eae082e3104838cb6dd8b9793cb325d1
2011-05-06 18:34:54 +00:00
dan
33f5379c43
Changes to various test scripts so that they pass on windows.
...
FossilOrigin-Name: 1586244b6d86d5a98af8c6f7a8324672e02df9c3
2011-05-05 19:44:22 +00:00
dan
4d7a4461e2
Have the xFullpath method in os_win.c discard the initial "/" if a filename begins with "/X:", where X is any alphabetic character. Also fix some test issues in uri.test.
...
FossilOrigin-Name: fe57a8f621944fd2af5a4e9349c8fd77c4aba237
2011-05-05 18:53:48 +00:00
dan
ff4ec04240
Merge latest trunk changes with uri branch.
...
FossilOrigin-Name: af279f367e01732560b8b2b6aeb5ede4f04415dd
2011-05-04 17:35:12 +00:00
dan
e1c8e13bf6
Fix a performance problem in queries that use "ORDER BY rowid DESC" and one or more FTS auxiliary functions.
...
FossilOrigin-Name: 95e09b20e9aad28f829c8950f3632debe473070a
2011-05-04 15:41:18 +00:00
dan
0f599faa29
Optimize "ORDER BY rowid/docid DESC/ASC" clauses on FTS tables.
...
FossilOrigin-Name: 13395121e3d17ab6581dc5f6736ea324321a374c
2011-05-04 12:52:59 +00:00
dan
3b18a9a334
Allow only "localhost" and "" as authorities in URIs. Do not allow escapes (%HH) in the authority part of a URI.
...
FossilOrigin-Name: b8a0f1b523d1f31c8e7a102ba4bae5935b07104a
2011-05-03 11:53:20 +00:00
dan
78e9dd2b54
Change the supported URI options to "mode" and "cache".
...
FossilOrigin-Name: 0a694a0b27e3ce251ce313cb5d19a7637c2fa309
2011-05-03 10:22:32 +00:00
dan
fb261ceceb
Merge the latest trunk changes into uri branch.
...
FossilOrigin-Name: 7fdd0786c7e0d66baf3aba4485128e16a4e5ea46
2011-05-02 17:41:01 +00:00
dan
c6055c7374
Have r-tree virtual tables support on-conflict clauses.
...
FossilOrigin-Name: 822ab52f1023b1c4973c806cc75454acd4e95fd0
2011-04-28 18:46:46 +00:00
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