]>
git.ipfire.org Git - thirdparty/sqlite.git/log
dan [Fri, 10 Jun 2011 18:33:35 +0000 (18:33 +0000)]
When updating a field that requires foreign key constraints be checked, ensure that the indexes and tables are consistent when the FK logic is run. Otherwise, it may detect the inconsistency and report database corruption.
FossilOrigin-Name:
2b3d9996a829c62fbaf7c92d50e44636340b07c6
dan [Fri, 10 Jun 2011 16:33:25 +0000 (16:33 +0000)]
Fix minor problems with foreign key constraints where the parent table is the same as the child table.
FossilOrigin-Name:
442d8d8bfe443797482354ba8766d97d3d6acaae
dan [Thu, 9 Jun 2011 17:53:43 +0000 (17:53 +0000)]
Fix a line in pcache1.c where a global data structure is accessed without using the GLOBAL() macro. This causes a subtle malfunction on test systems that use SQLITE_OMIT_WSD.
FossilOrigin-Name:
b11b2e1f8ccadf78bebe2278f05a8e3d3e543328
drh [Tue, 7 Jun 2011 18:31:14 +0000 (18:31 +0000)]
Fix a comment type on the description of the Schema object.
FossilOrigin-Name:
095cd9a6ec175b703ff3fcafeffb3349f21bd831
drh [Mon, 6 Jun 2011 13:38:11 +0000 (13:38 +0000)]
Add assert() statements to verify that u16 pointers associated with
the enhancement in [
897f56a158 ] are always 2-byte aligned.
FossilOrigin-Name:
98ccfa930e8e5f10808a518e3e22e85e8a8a65c2
drh [Sat, 4 Jun 2011 01:43:53 +0000 (01:43 +0000)]
Performance improvement to the btree search routine.
FossilOrigin-Name:
65db822f200bafe9abe59b33b17b2c643c17c5e8
drh [Fri, 3 Jun 2011 23:28:33 +0000 (23:28 +0000)]
Performance improvements on memory copies inside of btree by moving 2 bytes
at a time instead of just 1 byte at a time.
FossilOrigin-Name:
897f56a158ebe62758c9998e4941ae046c75fb99
drh [Fri, 3 Jun 2011 21:34:45 +0000 (21:34 +0000)]
Performance enhancement to the blob-literal tokenizer.
FossilOrigin-Name:
61aa2031f1c5ae05e31077588a55194a9546262a
drh [Fri, 3 Jun 2011 20:11:17 +0000 (20:11 +0000)]
Create and use a function especially for adding the ParseSchema opcode.
This gives a small reduction in code and a small performance increase.
FossilOrigin-Name:
957b2ab67c6185f0e1062593d237de5c434a38bf
drh [Fri, 3 Jun 2011 17:50:49 +0000 (17:50 +0000)]
Factor an "if" out of a loop in balance_nonroot() for about a 1% performance
increase.
FossilOrigin-Name:
1bd72d0c616e20fdb395c72ecd96579090ae26cb
drh [Fri, 3 Jun 2011 14:19:10 +0000 (14:19 +0000)]
Hush some harmless compiler warnings in the URI parsing logic.
FossilOrigin-Name:
0206bc6f87bb9393218a380fc5b18039d334a8d8
drh [Fri, 3 Jun 2011 13:28:22 +0000 (13:28 +0000)]
Include more detailed version information in the command-line shell output.
FossilOrigin-Name:
049c3c42fdefea8de7ec7008871963e37ce2d7bc
drh [Fri, 3 Jun 2011 13:06:50 +0000 (13:06 +0000)]
Add shell scripts used for testing compiler warnings (tool/warnings.sh),
for verifying that the library exports the correct symbols (tool/symbols.sh),
and to demonstrate building a full-featured command-line shell
(tool/build-shell.sh).
FossilOrigin-Name:
3aca9a92c8b29bb43f65f93593ba4defd65139dc
drh [Fri, 3 Jun 2011 13:02:57 +0000 (13:02 +0000)]
Fix the build when using SQLITE_OMIT_PRAGMA.
FossilOrigin-Name:
051f4635bf1e9618b108c4177b8ecc5762ed08e7
drh [Fri, 3 Jun 2011 12:15:26 +0000 (12:15 +0000)]
Fix an #ifdef of SQLITE_OMIT_VIRTUALTABLE that had an extra "_" character.
FossilOrigin-Name:
93e0be2bbf16d66d97ea7344187139d254b11cc3
drh [Thu, 2 Jun 2011 17:24:49 +0000 (17:24 +0000)]
Fix a faulty assert() in the WAL-mode logic for read-only shared memory.
FossilOrigin-Name:
a13cfe616284f4ee86f0406e7b8fe8f9ba6e6990
drh [Thu, 2 Jun 2011 15:48:51 +0000 (15:48 +0000)]
Add a missing check for out-of-memory in the lemon code generator.
FossilOrigin-Name:
efb20b9da6c7cb310a449cc818eaccd3d5bb4ab3
drh [Thu, 2 Jun 2011 13:04:33 +0000 (13:04 +0000)]
Merge the read-only shared memory branch into trunk. After this merge, an
unprivileged process can open WAL-mode databases owned by another user as
long as a database connection with write permission exists on the database
file and if the readonly_shm=1 URI query parameter is supplied.
FossilOrigin-Name:
19084a6641f77a62110b04ea50e298fe132ea784
drh [Wed, 1 Jun 2011 20:13:36 +0000 (20:13 +0000)]
Make use of the sqlite3GetBoolean() interface for more robust processing
of the readonly_shm query parameter inside of unixShmMap().
FossilOrigin-Name:
1f930d7e04cd4a5ff3d91a0e9f1b62114f1cebd2
drh [Wed, 1 Jun 2011 20:01:49 +0000 (20:01 +0000)]
Simplify the wal-readonly branch so that it does not require changes to
anything other than os_unix.c and wal.c and a couple of new error codes.
FossilOrigin-Name:
d6b4709de4d1f8af001f58938247f00a652a616e
drh [Wed, 1 Jun 2011 19:44:57 +0000 (19:44 +0000)]
Pull the latest trunk changes into the wal-readonly branch.
FossilOrigin-Name:
0b63b71357a65e26ecd3f3bb34a5f14feee322f4
drh [Wed, 1 Jun 2011 19:16:06 +0000 (19:16 +0000)]
Avoid unnecessary duplication of SQL parameter names.
FossilOrigin-Name:
e704e8690ae35decc9769a45cf8d519ccad8b79d
drh [Wed, 1 Jun 2011 18:15:55 +0000 (18:15 +0000)]
Refactor the SQL parameter processing so that parameter names for values
that are optimized out of the prepare statement are not forgotten.
FossilOrigin-Name:
b3aaf715b60b8a338cc6c92dad1ead4a3f7146a3
drh [Tue, 31 May 2011 17:08:32 +0000 (17:08 +0000)]
Merge the latest trunk changes into the wal-readonly branch.
FossilOrigin-Name:
2c6b5a28e3f6b7cb96b944d0a254f3707885f1ce
drh [Tue, 31 May 2011 16:50:23 +0000 (16:50 +0000)]
Fix a problem in the sqlite3TestErrorName() function (used only for testing)
that appears to have originated from a bad merge.
FossilOrigin-Name:
a0ae314c7f41d0146a9ee1adc576cd977219a378
drh [Tue, 31 May 2011 11:56:15 +0000 (11:56 +0000)]
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
drh [Mon, 30 May 2011 23:42:16 +0000 (23:42 +0000)]
Minor performance improvements.
FossilOrigin-Name:
f9950c6af1813f724dacd7455f472acec921b06a
drh [Mon, 30 May 2011 15:06:48 +0000 (15:06 +0000)]
Update evidence marks on the URI filename tests to conform to the latest
documentation.
FossilOrigin-Name:
1bab03c4811b5e5b3d15632bc2a3844891f9fad7
drh [Mon, 30 May 2011 14:35:48 +0000 (14:35 +0000)]
Make sure the P5 argument to the OP_VUpdate opcode is always set to a
valid conflict resolution code.
FossilOrigin-Name:
e3350dbd9f472c27ea6bc872d85098ac89d874c7
drh [Sat, 28 May 2011 19:24:15 +0000 (19:24 +0000)]
Fix a "#ifdef" from check-in [
03f7d36a8a ] that should have been "#ifndef".
FossilOrigin-Name:
edb865c35415f9553f8279028120f7b8de2bf7e2
drh [Sat, 28 May 2011 15:53:07 +0000 (15:53 +0000)]
Print a log message on each cache spill if compiled with
SQLITE_LOG_CACHE_SPILL.
FossilOrigin-Name:
5f15579f8ca747f0fa0a7867ceffc8c7b8f904e6
drh [Thu, 26 May 2011 14:19:14 +0000 (14:19 +0000)]
Changes to work with SQLITE_OMIT_VIRTUAL_TABLE.
FossilOrigin-Name:
03f7d36a8a24825b7542b5fed651af1622ae4eb5
drh [Wed, 25 May 2011 23:18:02 +0000 (23:18 +0000)]
Fix some minor and harmless compiler warnings.
FossilOrigin-Name:
a4755e7088c3cc7c5ea191ce37f3950472f523ec
drh [Wed, 25 May 2011 20:25:10 +0000 (20:25 +0000)]
Ignore malloc failures within the WAL file truncation attempt for
journal_size_limit.
FossilOrigin-Name:
dd19105aa9521ffc0edcf16b84c064d5ebad55d7
dan [Wed, 25 May 2011 18:46:22 +0000 (18:46 +0000)]
Fix a case where a malloc() error could lead to mismatched virtual-table xBegin/xCommit/xRollback callbacks.
FossilOrigin-Name:
d807304a695fc85402b86e1cd32a6e3bbb2823c8
drh [Wed, 25 May 2011 15:54:09 +0000 (15:54 +0000)]
Fix a compiler warning.
FossilOrigin-Name:
6df99e52dabf2a243ad635529649b86c21735e91
drh [Wed, 25 May 2011 01:16:42 +0000 (01:16 +0000)]
Changes to savepoint in virtual tables for simpler and more consistent
operation.
FossilOrigin-Name:
92f26a8b8f18832cb1f8ba7dd8e5b020e71a5883
drh [Tue, 24 May 2011 15:36:01 +0000 (15:36 +0000)]
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
drh [Tue, 24 May 2011 00:35:56 +0000 (00:35 +0000)]
Make sure the savepoint index is correct one calls to sqlite3VtabSavepoint
with SAVEPOINT_BEGIN.
FossilOrigin-Name:
a9d095660ca0e99b226e0fe669c11a0be6c49710
drh [Mon, 23 May 2011 18:37:42 +0000 (18:37 +0000)]
Minor cleanups to the header comments on various test_*.c file, to make
the suitable for programmer-level documentation.
FossilOrigin-Name:
a65d043a2ad895b931871c67e0ef397a1dc614a6
drh [Fri, 20 May 2011 20:42:11 +0000 (20:42 +0000)]
Adjustments to documentation hyperlinks to accommodate the new VFS
documentation.
FossilOrigin-Name:
139a8f53ae1979591734a8244fb33655a6499193
drh [Fri, 20 May 2011 13:26:58 +0000 (13:26 +0000)]
Add a big comment to the top of test_vfstrace.c to explain how to compile
and use that module.
FossilOrigin-Name:
a6a0fefbe503a2c81aa1847ced3bac21850d8faa
drh [Fri, 20 May 2011 01:50:01 +0000 (01:50 +0000)]
Fix the URI test script so that it works even if there is a subdirectory
named "test".
FossilOrigin-Name:
2018d4e108872f2436df046636401b89cfde589d
drh [Fri, 20 May 2011 01:49:30 +0000 (01:49 +0000)]
Mark an unreachable branch in the recent WAL problem as unreachable.
FossilOrigin-Name:
3e8a29ff8953054cb3b88db5997b5bae38ba09dd
dan [Thu, 19 May 2011 07:53:23 +0000 (07:53 +0000)]
drh [Thu, 19 May 2011 01:21:42 +0000 (01:21 +0000)]
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
drh [Wed, 18 May 2011 17:15:06 +0000 (17:15 +0000)]
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
drh [Wed, 18 May 2011 03:02:10 +0000 (03:02 +0000)]
Make sure the multiplexor shim uses a full pathname for temp file that it
creates.
FossilOrigin-Name:
186d7ff1d9804d508e472e4939608bf2be67bdc2
drh [Wed, 18 May 2011 02:41:10 +0000 (02:41 +0000)]
Remove unreachable branches from the 8.3 filename logic.
FossilOrigin-Name:
4f7e7b44f2d17681318a1fd22466d3cc03103fc4
shaneh [Wed, 18 May 2011 02:22:41 +0000 (02:22 +0000)]
Update multiplex VFS to handle empty filenames which can occur for during vacuuming (temp file names.)
FossilOrigin-Name:
a074986045f1a81fb831ffee4a29af13c978b053
drh [Tue, 17 May 2011 20:36:21 +0000 (20:36 +0000)]
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
drh [Tue, 17 May 2011 19:43:38 +0000 (19:43 +0000)]
Fix an off-by-one error in the new sqlite3_uri_parameter() function.
FossilOrigin-Name:
9593a640795458ce6e57e02dd5d702b642858f76
drh [Tue, 17 May 2011 18:53:08 +0000 (18:53 +0000)]
Add the sqlite3_uri_parameter() interface function for use in building
new VFSes.
FossilOrigin-Name:
6b5de95fb575c7ceb3034068c4f5e0fccb1b15ac
dan [Tue, 17 May 2011 15:56:16 +0000 (15:56 +0000)]
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
drh [Tue, 17 May 2011 15:21:56 +0000 (15:21 +0000)]
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
dan [Tue, 17 May 2011 14:41:36 +0000 (14:41 +0000)]
Avoid including fts3_term.c in the amalgamation, as it contains test code only.
FossilOrigin-Name:
f392b7ae0266b4c694836583cb91b10f2b6c0752
drh [Mon, 16 May 2011 21:00:27 +0000 (21:00 +0000)]
Enhance WAL mode so that the WAL file honors the journal size limit set
by PRAGMA journal_size_limit.
FossilOrigin-Name:
db7e500f69faf1906a84991ba67d26a195f02ae5
drh [Fri, 13 May 2011 18:51:42 +0000 (18:51 +0000)]
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
drh [Fri, 13 May 2011 17:11:20 +0000 (17:11 +0000)]
Also add fts3_term.c to main.mk.
FossilOrigin-Name:
966f2d2c1f01b6345eab5df87a40d337ced1c087
shaneh [Thu, 12 May 2011 21:01:12 +0000 (21:01 +0000)]
Add fts3_term.c to amalg gen script and configure input files.
FossilOrigin-Name:
6ee0773290a4c4aac2b2b5e1741e65170e08a8bb
drh [Wed, 11 May 2011 20:54:32 +0000 (20:54 +0000)]
Improvements to documentation hyperlinks. Change the value of
SQLITE_OPEN_URI to an unreserved value.
FossilOrigin-Name:
851ab75d5f5d64d95d6237c28658bbc32145b78b
drh [Wed, 11 May 2011 19:00:10 +0000 (19:00 +0000)]
URI filename documentation updates.
FossilOrigin-Name:
8885c8677b239d4cbef24b9409a1736e1ae97a3f
dan [Wed, 11 May 2011 17:36:17 +0000 (17:36 +0000)]
Add missing comments associated with readonly shm changes.
FossilOrigin-Name:
6a2ea52e6c09a570428161090c2f087c66f714ec
dan [Wed, 11 May 2011 15:53:16 +0000 (15:53 +0000)]
Merge latest trunk changes. Add a couple of readonly shm tests.
FossilOrigin-Name:
cde45a033ee6834900f5f5c272c383408883a74c
dan [Wed, 11 May 2011 14:57:33 +0000 (14:57 +0000)]
Only open a read-only connection to shared-memory if the "readonly_shm=1" option is specified as part of the database file URI (and if a read-write connection fails).
FossilOrigin-Name:
671ba5fc59f7a958e5a4138d2425b1173a442ad7
dan [Tue, 10 May 2011 18:39:10 +0000 (18:39 +0000)]
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
dan [Tue, 10 May 2011 17:43:28 +0000 (17:43 +0000)]
Update URI test cases to account for the new error message format.
FossilOrigin-Name:
5bde568028216f5bbf76fa0b61bf5b736699f4b1
dan [Tue, 10 May 2011 17:31:29 +0000 (17:31 +0000)]
Add experimental support for read-only connections to WAL databases.
FossilOrigin-Name:
bb59f9862da45d25fb51d7821130854828c91c98
drh [Tue, 10 May 2011 10:17:02 +0000 (10:17 +0000)]
Add new documentation keywords to the sqlite3_vfs description.
FossilOrigin-Name:
ad3389a9ab07f6b811841ffa76a5292719c4487d
drh [Mon, 9 May 2011 19:20:17 +0000 (19:20 +0000)]
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
drh [Sat, 7 May 2011 18:40:36 +0000 (18:40 +0000)]
Set the sqlite3.mallocFailed flag if sqlite3ParseUri fails with SQLITE_NOMEM.
FossilOrigin-Name:
ca3797d4967361e31a8a5ce1ce8190b095f3ed4c
drh [Sat, 7 May 2011 18:18:33 +0000 (18:18 +0000)]
Return SQLITE_MISUSE from the sqlite3_open_v2() function if the 3rd parameter
is not a valid set of bit-values.
FossilOrigin-Name:
3c926ce0976e765b4c51fcd81d251268ff21a741
drh [Sat, 7 May 2011 14:40:29 +0000 (14:40 +0000)]
Fix minor compiler warnings.
FossilOrigin-Name:
139eecbe1b072711a36128f1eeb24fc3e3bacc1c
dan [Fri, 6 May 2011 18:55:31 +0000 (18:55 +0000)]
Merge the uri branch with the trunk.
FossilOrigin-Name:
88df33c45fd5875ea82bc757b239fe3e61663c12
dan [Fri, 6 May 2011 18:53:27 +0000 (18:53 +0000)]
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
dan [Fri, 6 May 2011 18:34:54 +0000 (18:34 +0000)]
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
dan [Fri, 6 May 2011 13:58:03 +0000 (13:58 +0000)]
Merge windows test case fixes. No changes to code.
FossilOrigin-Name:
2e5c0ed724060388b97e0c0881bb1b68ec1a23b4
drh [Fri, 6 May 2011 00:19:57 +0000 (00:19 +0000)]
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
drh [Thu, 5 May 2011 23:07:43 +0000 (23:07 +0000)]
Fix an incorrect assert() in sqlite3_value_config(). Updates to the
sqlite3_value_config() documentation.
FossilOrigin-Name:
22cbc01a2600c6100112315d9afb5f2d8f80b3df
dan [Thu, 5 May 2011 19:44:22 +0000 (19:44 +0000)]
Changes to various test scripts so that they pass on windows.
FossilOrigin-Name:
1586244b6d86d5a98af8c6f7a8324672e02df9c3
dan [Thu, 5 May 2011 18:53:48 +0000 (18:53 +0000)]
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
drh [Thu, 5 May 2011 17:41:58 +0000 (17:41 +0000)]
Fix sqlite3_vtab_on_conflict() to return the correct values for
ABORT, FAIL, and IGNORE.
FossilOrigin-Name:
f0617d619dc6654f6d27543999c0aad724a0d967
drh [Thu, 5 May 2011 17:00:51 +0000 (17:00 +0000)]
Fix a bug in memory usage tracking that was introduced by
check-in [
4e33a0eaf83922 ].
FossilOrigin-Name:
8ba456ae0b3d0c0b6f72f98bd0bc28f72dfa4ff5
drh [Thu, 5 May 2011 15:39:50 +0000 (15:39 +0000)]
Bump the version number to 3.7.7 on account of the new sqlite3_vtab_config()
and sqlite3_vtab_on_conflict() interfaces. Updates to the documentation on
those interfaces.
FossilOrigin-Name:
930be6a1bdec8c150caafd790973f7a401fc1970
drh [Thu, 5 May 2011 13:54:28 +0000 (13:54 +0000)]
Change sqlite3_create_module() so that it avoids resetting the schema as
long as preexisting modules are unchanged.
FossilOrigin-Name:
8485855afc71fb8078d53719c3da75021890ce9e
drh [Thu, 5 May 2011 13:53:46 +0000 (13:53 +0000)]
Add a #include to test_demovfs.c in an effort to get it to compile on Solaris.
FossilOrigin-Name:
8f06ea33c9070de8ea85368d76cf26237d1aee73
dan [Thu, 5 May 2011 12:35:33 +0000 (12:35 +0000)]
Fix a problem in the URI code preventing the amalgamation from building. Add comments describing SQLITE_CONFIG_URI and SQLITE_OPEN_URI to sqlite.h.in.
FossilOrigin-Name:
ea562d6d67c2f2ef8baca02a77634c21b945196f
dan [Wed, 4 May 2011 17:35:12 +0000 (17:35 +0000)]
Merge latest trunk changes with uri branch.
FossilOrigin-Name:
af279f367e01732560b8b2b6aeb5ede4f04415dd
dan [Wed, 4 May 2011 17:23:19 +0000 (17:23 +0000)]
Merge vtab-conflict branch with trunk.
FossilOrigin-Name:
8f9666af5f9459cbd0305a86281d745ea6163acf
dan [Wed, 4 May 2011 16:30:05 +0000 (16:30 +0000)]
Fix a couple of compiler warnings in the FTS code.
FossilOrigin-Name:
1a113359705d307efa1833b1dfa5542b045dae43
dan [Wed, 4 May 2011 15:41:18 +0000 (15:41 +0000)]
Fix a performance problem in queries that use "ORDER BY rowid DESC" and one or more FTS auxiliary functions.
FossilOrigin-Name:
95e09b20e9aad28f829c8950f3632debe473070a
dan [Wed, 4 May 2011 12:52:59 +0000 (12:52 +0000)]
Optimize "ORDER BY rowid/docid DESC/ASC" clauses on FTS tables.
FossilOrigin-Name:
13395121e3d17ab6581dc5f6736ea324321a374c
dan [Tue, 3 May 2011 15:09:05 +0000 (15:09 +0000)]
Remove some unused code related to URI parsing.
FossilOrigin-Name:
008cd0ef6b504cf4549468f795aa46f8472f0130
dan [Tue, 3 May 2011 11:53:20 +0000 (11:53 +0000)]
Allow only "localhost" and "" as authorities in URIs. Do not allow escapes (%HH) in the authority part of a URI.
FossilOrigin-Name:
b8a0f1b523d1f31c8e7a102ba4bae5935b07104a
dan [Tue, 3 May 2011 10:22:32 +0000 (10:22 +0000)]
Change the supported URI options to "mode" and "cache".
FossilOrigin-Name:
0a694a0b27e3ce251ce313cb5d19a7637c2fa309
dan [Mon, 2 May 2011 17:41:01 +0000 (17:41 +0000)]
Merge the latest trunk changes into uri branch.
FossilOrigin-Name:
7fdd0786c7e0d66baf3aba4485128e16a4e5ea46
dan [Thu, 28 Apr 2011 18:46:46 +0000 (18:46 +0000)]
Have r-tree virtual tables support on-conflict clauses.
FossilOrigin-Name:
822ab52f1023b1c4973c806cc75454acd4e95fd0
drh [Wed, 27 Apr 2011 19:54:44 +0000 (19:54 +0000)]
In windows, ignore ERROR_NOT_LOCKED when calling the read-lock removal
routine.
FossilOrigin-Name:
f55156c5194e85c47728b8a97fde3e5f0a5c9b56
drh [Wed, 27 Apr 2011 18:08:42 +0000 (18:08 +0000)]
Change the name of an internal function to avoid conflicts with the math
library.
FossilOrigin-Name:
1bd1484cd7e09709d87aa84b82e87597d00a4162
drh [Wed, 27 Apr 2011 16:05:42 +0000 (16:05 +0000)]
Expose the UTF8 to MBCS conversion routine in os_win.c to external
applications.
FossilOrigin-Name:
7b479b9bee93df909edecd44c7d6584d943b39c9