drh
ed9624187d
Fix a problem in the sqlite3TestErrorName() function (used only for testing)
...
that appears to have originated from a bad merge.
FossilOrigin-Name: a0ae314c7f41d0146a9ee1adc576cd977219a378
2011-05-31 16:50:23 +00:00
drh
a80a141247
Update the documentation to state that any parameter that is optimized out
...
of a prepared statement becomes an anonymous parameter for which
sqlite3_bind_parameter_name() returns NULL.
FossilOrigin-Name: 701b8a23e3ea2c94454af5d9bd1e72acb66d0fe2
2011-05-31 11:56:15 +00:00
drh
c3f1d5f095
Minor performance improvements.
...
FossilOrigin-Name: f9950c6af1813f724dacd7455f472acec921b06a
2011-05-30 23:42:16 +00:00
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
1fbb230f90
Make sure the P5 argument to the OP_VUpdate opcode is always set to a
...
valid conflict resolution code.
FossilOrigin-Name: e3350dbd9f472c27ea6bc872d85098ac89d874c7
2011-05-30 14:35:48 +00:00
drh
21f80f0478
Fix a "#ifdef" from check-in [03f7d36a8a] that should have been "#ifndef".
...
FossilOrigin-Name: edb865c35415f9553f8279028120f7b8de2bf7e2
2011-05-28 19:24:15 +00:00
drh
c97125eb72
Print a log message on each cache spill if compiled with
...
SQLITE_LOG_CACHE_SPILL.
FossilOrigin-Name: 5f15579f8ca747f0fa0a7867ceffc8c7b8f904e6
2011-05-28 15:53:07 +00:00
drh
305ebab7cc
Changes to work with SQLITE_OMIT_VIRTUAL_TABLE.
...
FossilOrigin-Name: 03f7d36a8a24825b7542b5fed651af1622ae4eb5
2011-05-26 14:19:14 +00:00
drh
7ee4fdd7ba
Fix some minor and harmless compiler warnings.
...
FossilOrigin-Name: a4755e7088c3cc7c5ea191ce37f3950472f523ec
2011-05-25 23:18:02 +00:00
drh
ef05c39d12
Ignore malloc failures within the WAL file truncation attempt for
...
journal_size_limit.
FossilOrigin-Name: dd19105aa9521ffc0edcf16b84c064d5ebad55d7
2011-05-25 20:25:10 +00:00
dan
2cac2078f6
Fix a case where a malloc() error could lead to mismatched virtual-table xBegin/xCommit/xRollback callbacks.
...
FossilOrigin-Name: d807304a695fc85402b86e1cd32a6e3bbb2823c8
2011-05-25 18:46:22 +00:00
drh
addd8f8729
Fix a compiler warning.
...
FossilOrigin-Name: 6df99e52dabf2a243ad635529649b86c21735e91
2011-05-25 15:54:09 +00:00
drh
346506f97b
Changes to savepoint in virtual tables for simpler and more consistent
...
operation.
FossilOrigin-Name: 92f26a8b8f18832cb1f8ba7dd8e5b020e71a5883
2011-05-25 01:16:42 +00:00
drh
e485522462
Do not invoke the xRollbackTo or xRelease methods of a virtual table without
...
having first invoked an appropriate xSavepoint method. Add assert() statements
to FTS3/4 to verify that this is happening in all cases.
FossilOrigin-Name: 651ef24249d8c22c4f13e4c0bb98a60099cfd23a
2011-05-24 15:36:01 +00:00
drh
a24bc9ced3
Make sure the savepoint index is correct one calls to sqlite3VtabSavepoint
...
with SAVEPOINT_BEGIN.
FossilOrigin-Name: a9d095660ca0e99b226e0fe669c11a0be6c49710
2011-05-24 00:35:56 +00:00
drh
a12b6fa392
Minor cleanups to the header comments on various test_*.c file, to make
...
the suitable for programmer-level documentation.
FossilOrigin-Name: a65d043a2ad895b931871c67e0ef397a1dc614a6
2011-05-23 18:37:42 +00:00
drh
1c48530a13
Adjustments to documentation hyperlinks to accommodate the new VFS
...
documentation.
FossilOrigin-Name: 139a8f53ae1979591734a8244fb33655a6499193
2011-05-20 20:42:11 +00:00
drh
cf8112bef9
Add a big comment to the top of test_vfstrace.c to explain how to compile
...
and use that module.
FossilOrigin-Name: a6a0fefbe503a2c81aa1847ced3bac21850d8faa
2011-05-20 13:26:58 +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
drh
14438d12b1
Mark an unreachable branch in the recent WAL problem as unreachable.
...
FossilOrigin-Name: 3e8a29ff8953054cb3b88db5997b5bae38ba09dd
2011-05-20 01:49:30 +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
drh
52784bd01a
Enable URI filenames in the command-line shell. Add a check to the
...
beginning of the shell to make sure it is compiled with the same
SQLite source and header.
FossilOrigin-Name: de58cb28387f44c35b1a81bdab853cafd938c1a6
2011-05-18 17:15:06 +00:00
drh
4aef70174b
Make sure the multiplexor shim uses a full pathname for temp file that it
...
creates.
FossilOrigin-Name: 186d7ff1d9804d508e472e4939608bf2be67bdc2
2011-05-18 03:02:10 +00:00
drh
c83f2d477c
Remove unreachable branches from the 8.3 filename logic.
...
FossilOrigin-Name: 4f7e7b44f2d17681318a1fd22466d3cc03103fc4
2011-05-18 02:41:10 +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
drh
bd69559bfd
Fix an off-by-one error in the new sqlite3_uri_parameter() function.
...
FossilOrigin-Name: 9593a640795458ce6e57e02dd5d702b642858f76
2011-05-17 19:43:38 +00:00
drh
cc487d13fc
Add the sqlite3_uri_parameter() interface function for use in building
...
new VFSes.
FossilOrigin-Name: 6b5de95fb575c7ceb3034068c4f5e0fccb1b15ac
2011-05-17 18:53:08 +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
fc24373999
Avoid exceeding array bounds when reading a corrupt database file in
...
autovacuum mode. Fixes a problem discovered by John Regehr and Peng Li
using a customized clang compiler.
FossilOrigin-Name: f7c525f5fc31e909721df2b1e66fc62dfb105718
2011-05-17 15:21:56 +00:00
dan
807d0fcaba
Avoid including fts3_term.c in the amalgamation, as it contains test code only.
...
FossilOrigin-Name: f392b7ae0266b4c694836583cb91b10f2b6c0752
2011-05-17 14:41:36 +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
drh
99a66928c2
Make arrangements so that virtual table inserts into shadow tables do
...
not modify the sqlite3_last_insert_rowid() return. Document that this
is how sqlite3_last_insert_rowid() works.
FossilOrigin-Name: e569f18b989aef853c9d71eaf73d6967f0a8c583
2011-05-13 18:51:42 +00:00
drh
79d0e1c0a7
Also add fts3_term.c to main.mk.
...
FossilOrigin-Name: 966f2d2c1f01b6345eab5df87a40d337ced1c087
2011-05-13 17:11:20 +00:00
shaneh
671b52242b
Add fts3_term.c to amalg gen script and configure input files.
...
FossilOrigin-Name: 6ee0773290a4c4aac2b2b5e1741e65170e08a8bb
2011-05-12 21:01:12 +00:00
drh
b706fe58ab
Improvements to documentation hyperlinks. Change the value of
...
SQLITE_OPEN_URI to an unreserved value.
FossilOrigin-Name: 851ab75d5f5d64d95d6237c28658bbc32145b78b
2011-05-11 20:54:32 +00:00
drh
55fc08f154
URI filename documentation updates.
...
FossilOrigin-Name: 8885c8677b239d4cbef24b9409a1736e1ae97a3f
2011-05-11 19:00:10 +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
drh
e9d45e347e
Add new documentation keywords to the sqlite3_vfs description.
...
FossilOrigin-Name: ad3389a9ab07f6b811841ffa76a5292719c4487d
2011-05-10 10:17:02 +00:00
drh
de941c3756
Return a suitable error message if the mode= argument to a URI specifies
...
a higher mode than what is allowed by context. Other minor cleanups for
the URI parsing logic.
FossilOrigin-Name: d9bc1c7fe0ca5f6973a85827330958f4d09f8171
2011-05-09 19:20:17 +00:00
drh
ffd9668fb5
Set the sqlite3.mallocFailed flag if sqlite3ParseUri fails with SQLITE_NOMEM.
...
FossilOrigin-Name: ca3797d4967361e31a8a5ce1ce8190b095f3ed4c
2011-05-07 18:40:36 +00:00
drh
5dd72ad6df
Return SQLITE_MISUSE from the sqlite3_open_v2() function if the 3rd parameter
...
is not a valid set of bit-values.
FossilOrigin-Name: 3c926ce0976e765b4c51fcd81d251268ff21a741
2011-05-07 18:18:33 +00:00
drh
522c26fbfb
Fix minor compiler warnings.
...
FossilOrigin-Name: 139eecbe1b072711a36128f1eeb24fc3e3bacc1c
2011-05-07 14:40:29 +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
7fa104889c
Merge windows test case fixes. No changes to code.
...
FossilOrigin-Name: 2e5c0ed724060388b97e0c0881bb1b68ec1a23b4
2011-05-06 13:58:03 +00:00
drh
e578b5967c
Increase the iVersion for sqlite3_module needed for the xSavepoint,
...
xRelease, and xRollbackTo methods from 1 to 2. This is so that it will
conform to published documentation.
FossilOrigin-Name: 0f4954e9793332573d4ffa0c1e199180f4cb990a
2011-05-06 00:19:57 +00:00