mistachkin
5b7f786e7e
Merge changes for the new sqlite3_file_control() that will cause the -wal and -shm files to persist after the last database connection closes.
...
FossilOrigin-Name: 1b56677bdfb102d070a2057a65ba424fec81131d
2011-07-28 20:48:38 +00:00
mistachkin
4e6b49b409
Remove redundant sub-expression from retry loop invariant in winAccess. Also, make check for SQLITE_ACCESS_READWRITE formally correct.
...
FossilOrigin-Name: 93079a92c49edf72eb289f352cd5ed7ab2faaff3
2011-07-28 19:16:41 +00:00
mistachkin
e75a717dc8
Fix conditional for retry logic in winAccess and add missing call to logIoerr.
...
FossilOrigin-Name: 8a145863d1a8711953ae72d706404fb96f6fec06
2011-07-28 07:34:44 +00:00
drh
58384f1720
Use osStat() instead of stat() consistently in os_unix.c
...
FossilOrigin-Name: 9109128cb5640d687251dfbefa2fd998063cd9fb
2011-07-28 00:14:45 +00:00
drh
253cea5c6f
Test cases added. Fix the query mode.
...
FossilOrigin-Name: a9d8794ae949df570466a84836882bc8bed95c7c
2011-07-26 16:23:25 +00:00
drh
f0b190d94c
Prototype change for a new sqlite3_file_control() that will cause the
...
-wal and -shm files to persist after the last database connection closes.
FossilOrigin-Name: e34c553bf04761e86f3bd72f91439c05886caa5c
2011-07-26 16:03:07 +00:00
drh
7d2dc7156c
Enable the SQLITE_FCNTL_SIZE_HINT on unix even if SQLITE_FCNTL_CHUNK_SIZE
...
has not been set.
FossilOrigin-Name: 05c9832e5f6eb705f1dce4e65cf4e2d56512ff6b
2011-07-25 23:25:47 +00:00
drh
5d22e41f2d
Merge the winAccess retry logic from the anti-antivirus branch
...
into the trunk.
FossilOrigin-Name: 08d0e8799e1441ef063b1cdf9e4107071a0f81ca
2011-07-23 13:54:34 +00:00
drh
11cce77042
In the multiplexor, close auxiliary files before deleting them when doing
...
a truncate.
FossilOrigin-Name: 6fb7cfc2efb32dd5c8921a90b853390bc44d4794
2011-07-23 13:11:02 +00:00
drh
fdf6db12a4
Add retry logic for AV defense to winAccess(). Also allow OS tracing to be
...
enabled by a compile-time option.
FossilOrigin-Name: a6b85c73406caa3bf0585341c8ebc9897a1884f4
2011-07-22 21:25:57 +00:00
drh
75e7bc1db7
Also add the sqlite3-all.c target to the MSVC makefile.
...
FossilOrigin-Name: 8ce2b74a82264550b0e19da3e0e1a145db940a1c
2011-07-22 11:23:49 +00:00
drh
07516dd5df
Add makefile targets sqlite3-all.c.
...
FossilOrigin-Name: 71f7be586f5a18493cd516f89c4ecc460bb24462
2011-07-22 11:16:39 +00:00
drh
fe34996549
Adjust the maximum number of open database connections in wal3.test down
...
for OpenBSD.
FossilOrigin-Name: b38e52f67574997de9f4b4318f2eb68ff0133f35
2011-07-22 10:53:05 +00:00
drh
16b92eef35
Use $(TCLSH_CMD) instead of tclsh in the autoconf makefile.
...
FossilOrigin-Name: fd36d8067b5a29d9acbf8c96b9d837406d0c0cce
2011-07-22 10:33:04 +00:00
drh
b51bf43966
Compile with the SQLITE_ENABLE_8_3_NAME macro set to 2 to force 8+3 filenames
...
to be on all the time.
FossilOrigin-Name: ae83dac70173fecf203bf7e9f7bcb189d3e48f08
2011-07-21 21:29:35 +00:00
drh
e6deb20458
All multiplexor chunk sizes up to 4GiB. Disable the multiplexor if the
...
chunk size is set to 0.
FossilOrigin-Name: 83191ad6f31536b0c1929938e1fbeb4cf6121ab0
2011-07-21 20:59:58 +00:00
drh
0a0ca697d8
For an existing multiplexed database, try to set the chunk size automatically
...
based on the sizes of the preexisting pieces.
FossilOrigin-Name: 427a9a5120a68bfa12fec97cfd02eb9b28b3fa6b
2011-07-20 17:59:38 +00:00
drh
877eeb3b56
All the SQLITE_OPEN_URI flag to propagate down into the VFS.
...
FossilOrigin-Name: 29866f9598502a007816410fade34f1d0952dea0
2011-07-20 17:13:30 +00:00
drh
f3717af48d
When the multiplexor opens an auxiliary file, it now persists the name of that
...
file until it is closed, as it should. Remove the limit on the number of
auxiliary files used by the multiplexor.
FossilOrigin-Name: 1ffa542bf913200a18ef77447aec4fc3ca1ed618
2011-07-20 16:35:31 +00:00
drh
8efdb73256
Formatting changes on the multiplexor code - make sure no lines exceed 80
...
characters. No logical changes.
FossilOrigin-Name: ed5f0aad6b21066bacd01521e82c22e96991f400
2011-07-19 18:29:00 +00:00
drh
c4e384beb8
Increase the version number to 3.7.8.
...
FossilOrigin-Name: 4355bf2908b923e844907c1e3c09be3bf469f833
2011-07-19 15:27:59 +00:00
dan
33067e7393
In os_unix.c, check if the ESTALE macro is defined before using it.
...
FossilOrigin-Name: 87017410f2fc3f2ae15ef06714563ba9ad4350c7
2011-07-15 13:43:34 +00:00
drh
bf4ec555fa
Do not try to use STAT2 to refine the row estimate of a query that
...
uses a unique or nearly-unique index.
FossilOrigin-Name: efffc49baf38698ed3de05d16b4261bf405d42d7
2011-07-13 18:31:10 +00:00
drh
d0cdf012a2
Added the SQLITE_FCNTL_WIN32_AV_RETRY file control for configuring the
...
retry counts and delays in the windows VFS.
FossilOrigin-Name: 7aaf0a6ae1238129e07eb191ca3f043df445e27a
2011-07-13 16:03:46 +00:00
drh
3bb600f5c6
Merge the improved anti-virus defenses into the trunk.
...
FossilOrigin-Name: 0207fd9b0c0f6baa3c2cb8ba588ad585507848b3
2011-07-12 14:38:25 +00:00
mistachkin
dc9e9587c6
Revise logic in winDelete to check the file prior to attempting to delete it.
...
FossilOrigin-Name: 36f11acc531a524407e03c797a6a1bcf88bad809
2011-07-12 14:02:47 +00:00
drh
a32ad8434e
Improvements to the logging that occurs on an antivirus I/O retry.
...
FossilOrigin-Name: ff0ff75c3559f5bbe29c73204cc8ff1cb80f42cb
2011-07-12 13:51:05 +00:00
drh
52564d7002
Update the anti-virus retry logic for DeleteFile(). Invoke sqlite3_log()
...
for each anti-virus retry. Make the retry delay configurable at
compile-time.
FossilOrigin-Name: 89f1848d7f7d98b4f7da9218f99ed90d22dd43a8
2011-07-12 11:04:18 +00:00
drh
80084ca8e8
Update the TCL commands for setting windows manditory locks.
...
Add test cases for manditory lock delays under windows.
FossilOrigin-Name: 03af4c175c6ba303ec0a5be25fd42771e38f7347
2011-07-11 23:45:44 +00:00
drh
5d9ef0a612
Change the windows backend to retry read and write requests if the encounter
...
ERROR_LOCK_VIOLATION and ERROR_SHARING_VIOLATION errors - which we think
sometimes happens due to agressive anti-virus software.
FossilOrigin-Name: c20aca06610407c197ea50ea77c2591aacf2252a
2011-07-11 18:17:56 +00:00
drh
ec661058dd
Fix harmless compiler warnings on unix.
...
FossilOrigin-Name: 90b1aea17400bbda5ebc8ae4eb4e12127519e42e
2011-07-09 16:17:18 +00:00
drh
f1d3e32909
In where.c::findIndexCol - make sure that the Expr.op is TK_COLUMN before
...
accessing the Expr.iColumn and Expr.iTable fields. Also fix a couple of
unreachable branches.
FossilOrigin-Name: 418a4da2a96cf33055f18c9a667754fad2111cf3
2011-07-09 13:00:41 +00:00
drh
6f25e89d27
Change the default chunk size on test_multiplex.c to 2147418112 bytes
...
(formerly 1073741824 bytes) and make the default configurable at compile-time
using SQLITE_MULTIPLEX_CHUNK_SIZE and at run-time using the "chunksize"
URI query parameter. Add support fo test_multiplex to the shell.
FossilOrigin-Name: e305b5a931374e2a1d2e66ea0a1248b9d4aecb19
2011-07-08 17:02:57 +00:00
dan
da79cf0cc9
Fix for [54844eea3f]: Do not create automatic indexes on correlated sub-queries.
...
FossilOrigin-Name: 9f14fa56ba31afe3de8b0cf26ed09573a2cc2283
2011-07-08 16:10:54 +00:00
drh
a9b1b91436
Extend the SQLITE_TESTCTRL_OPTIMIZATIONS option to disable DISTINCT
...
optimizations.
FossilOrigin-Name: 18501dd1a8aa8299c091c36e35b9a10a29d4467b
2011-07-08 13:07:02 +00:00
drh
e363c1d187
Update the tool/symbols.sh script to check for accidentally exported
...
global variables.
FossilOrigin-Name: 71b749a9dca953cdf671d94afec16e2c98f3aee5
2011-07-07 08:52:24 +00:00
dan
e7152dc76b
Add a target to main.mk that will fail if the amalgamation contains any exported symbols that do not begin with "sqlite3_". Run this target from within releasetest.tcl. Add "static" to a couple of private functions in mem3.c.
...
FossilOrigin-Name: a68b6580c7d436c896a644a475cdba33c2c8d6e6
2011-07-07 08:19:16 +00:00
dan
f443e317f7
Remove accidental global variable "doclist" from fts3Int.h.
...
FossilOrigin-Name: f244b2f3959e86fac555b91438cfe90528ab1648
2011-07-07 07:37:53 +00:00
dan
b0a43057fb
Expose the value of compile time symbol SQLITE_MAX_DEFAULT_PAGE_SIZE to test scripts.
...
FossilOrigin-Name: 335736637c4ac3fe56a44fe01d4c037aaefa916a
2011-07-06 09:36:59 +00:00
dan
da6e42ab32
Adjust a couple of test scripts so that they work with OMIT_UTF16 builds.
...
FossilOrigin-Name: 6c51bad0a306558d2725463b5675c3799fabcb9d
2011-07-04 06:52:15 +00:00
drh
b24d83fb35
Add a testcase macro to ensure testing a boundary case in DISTINCT processing.
...
FossilOrigin-Name: ff9fc722dc481df1ce6a9733db1f033b88141d5d
2011-07-02 19:12:05 +00:00
dan
969e5595e8
Ensure that automatic indexes are only created in scenarios where they may be used more than once.
...
FossilOrigin-Name: 27c65d4d9c58bfc4ea8f9337fa15090459fb26c5
2011-07-02 15:32:57 +00:00
dan
9661c027a4
Merge experimental changes improving optimization of DISTINCT queries with the trunk.
...
FossilOrigin-Name: 45e581bff7a75db6c9a2c45b73d034d0b8a166d1
2011-07-02 09:46:52 +00:00
dan
94e08d92f9
Fix a broken assert() in where.c.
...
FossilOrigin-Name: 090b29177fbc9faa83b560d92ddc3710d291776e
2011-07-02 06:44:05 +00:00
dan
bac8158a85
Merge latest trunk changes with experimental branch.
...
FossilOrigin-Name: e56be74eabc03d1a524d96aa4e87102dea4e348e
2011-07-01 18:43:13 +00:00
dan
6f3439697e
Improve use of indexes to optimize DISTINCT queries.
...
FossilOrigin-Name: 6c202ea0247ff509f696eee3839975a88ed26cf2
2011-07-01 18:26:40 +00:00
drh
f475e5ae98
Test case for ticket [d6ddba6706353915ceed]
...
FossilOrigin-Name: 953e169e8a7dac05a0b56b4ef5d500ec8399d37f
2011-07-01 14:22:04 +00:00
dan
50118cdfdb
Improvements and tests for detection of redundant DISTINCT qualifiers.
...
FossilOrigin-Name: 7337293c87fb563604dd6ad284f2d1e30c938b4c
2011-07-01 14:21:38 +00:00
drh
6fea83e52c
Ignore the database name on the target table when parsing a CREATE TABLE
...
statement out of the sqlite_master table. This is a fix for
ticket [d6ddba6706353] that preserves backwards compatibility.
FossilOrigin-Name: 009c96ea7836edf75d65b150055e920079bb45e3
2011-07-01 13:50:44 +00:00
dan
38cc40c216
Experimental changes to improve optimization of DISTINCT queries.
...
FossilOrigin-Name: f7ba0219ef2f235543c258be736955d91ca5ecce
2011-06-30 20:17:15 +00:00