]> git.ipfire.org Git - thirdparty/sqlite.git/log
thirdparty/sqlite.git
13 years agoTest cases added. Fix the query mode. persistent-wal-patch
drh [Tue, 26 Jul 2011 16:23:25 +0000 (16:23 +0000)] 
Test cases added.  Fix the query mode.

FossilOrigin-Name: a9d8794ae949df570466a84836882bc8bed95c7c

13 years agoPrototype change for a new sqlite3_file_control() that will cause the
drh [Tue, 26 Jul 2011 16:03:07 +0000 (16:03 +0000)] 
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

13 years agoEnable the SQLITE_FCNTL_SIZE_HINT on unix even if SQLITE_FCNTL_CHUNK_SIZE
drh [Mon, 25 Jul 2011 23:25:47 +0000 (23:25 +0000)] 
Enable the SQLITE_FCNTL_SIZE_HINT on unix even if SQLITE_FCNTL_CHUNK_SIZE
has not been set.

FossilOrigin-Name: 05c9832e5f6eb705f1dce4e65cf4e2d56512ff6b

13 years agoMerge the winAccess retry logic from the anti-antivirus branch
drh [Sat, 23 Jul 2011 13:54:34 +0000 (13:54 +0000)] 
Merge the winAccess retry logic from the anti-antivirus branch
into the trunk.

FossilOrigin-Name: 08d0e8799e1441ef063b1cdf9e4107071a0f81ca

13 years agoIn the multiplexor, close auxiliary files before deleting them when doing
drh [Sat, 23 Jul 2011 13:11:02 +0000 (13:11 +0000)] 
In the multiplexor, close auxiliary files before deleting them when doing
a truncate.

FossilOrigin-Name: 6fb7cfc2efb32dd5c8921a90b853390bc44d4794

13 years agoAdd retry logic for AV defense to winAccess(). Also allow OS tracing to be av-defense
drh [Fri, 22 Jul 2011 21:25:57 +0000 (21:25 +0000)] 
Add retry logic for AV defense to winAccess().  Also allow OS tracing to be
enabled by a compile-time option.

FossilOrigin-Name: a6b85c73406caa3bf0585341c8ebc9897a1884f4

13 years agoAlso add the sqlite3-all.c target to the MSVC makefile.
drh [Fri, 22 Jul 2011 11:23:49 +0000 (11:23 +0000)] 
Also add the sqlite3-all.c target to the MSVC makefile.

FossilOrigin-Name: 8ce2b74a82264550b0e19da3e0e1a145db940a1c

13 years agoAdd makefile targets sqlite3-all.c.
drh [Fri, 22 Jul 2011 11:16:39 +0000 (11:16 +0000)] 
Add makefile targets sqlite3-all.c.

FossilOrigin-Name: 71f7be586f5a18493cd516f89c4ecc460bb24462

13 years agoAdjust the maximum number of open database connections in wal3.test down
drh [Fri, 22 Jul 2011 10:53:05 +0000 (10:53 +0000)] 
Adjust the maximum number of open database connections in wal3.test down
for OpenBSD.

FossilOrigin-Name: b38e52f67574997de9f4b4318f2eb68ff0133f35

13 years agoUse $(TCLSH_CMD) instead of tclsh in the autoconf makefile.
drh [Fri, 22 Jul 2011 10:33:04 +0000 (10:33 +0000)] 
Use $(TCLSH_CMD) instead of tclsh in the autoconf makefile.

FossilOrigin-Name: fd36d8067b5a29d9acbf8c96b9d837406d0c0cce

13 years agoCompile with the SQLITE_ENABLE_8_3_NAME macro set to 2 to force 8+3 filenames
drh [Thu, 21 Jul 2011 21:29:35 +0000 (21:29 +0000)] 
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

13 years agoAll multiplexor chunk sizes up to 4GiB. Disable the multiplexor if the
drh [Thu, 21 Jul 2011 20:59:58 +0000 (20:59 +0000)] 
All multiplexor chunk sizes up to 4GiB.  Disable the multiplexor if the
chunk size is set to 0.

FossilOrigin-Name: 83191ad6f31536b0c1929938e1fbeb4cf6121ab0

13 years agoFor an existing multiplexed database, try to set the chunk size automatically
drh [Wed, 20 Jul 2011 17:59:38 +0000 (17:59 +0000)] 
For an existing multiplexed database, try to set the chunk size automatically
based on the sizes of the preexisting pieces.

FossilOrigin-Name: 427a9a5120a68bfa12fec97cfd02eb9b28b3fa6b

13 years agoAll the SQLITE_OPEN_URI flag to propagate down into the VFS.
drh [Wed, 20 Jul 2011 17:13:30 +0000 (17:13 +0000)] 
All the SQLITE_OPEN_URI flag to propagate down into the VFS.

FossilOrigin-Name: 29866f9598502a007816410fade34f1d0952dea0

13 years agoWhen the multiplexor opens an auxiliary file, it now persists the name of that
drh [Wed, 20 Jul 2011 16:35:31 +0000 (16:35 +0000)] 
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

13 years agoFormatting changes on the multiplexor code - make sure no lines exceed 80
drh [Tue, 19 Jul 2011 18:29:00 +0000 (18:29 +0000)] 
Formatting changes on the multiplexor code - make sure no lines exceed 80
characters.  No logical changes.

FossilOrigin-Name: ed5f0aad6b21066bacd01521e82c22e96991f400

13 years agoIncrease the version number to 3.7.8.
drh [Tue, 19 Jul 2011 15:27:59 +0000 (15:27 +0000)] 
Increase the version number to 3.7.8.

FossilOrigin-Name: 4355bf2908b923e844907c1e3c09be3bf469f833

13 years agoIn os_unix.c, check if the ESTALE macro is defined before using it.
dan [Fri, 15 Jul 2011 13:43:34 +0000 (13:43 +0000)] 
In os_unix.c, check if the ESTALE macro is defined before using it.

FossilOrigin-Name: 87017410f2fc3f2ae15ef06714563ba9ad4350c7

13 years agoDo not try to use STAT2 to refine the row estimate of a query that
drh [Wed, 13 Jul 2011 18:31:10 +0000 (18:31 +0000)] 
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

13 years agoAdded the SQLITE_FCNTL_WIN32_AV_RETRY file control for configuring the
drh [Wed, 13 Jul 2011 16:03:46 +0000 (16:03 +0000)] 
Added the SQLITE_FCNTL_WIN32_AV_RETRY file control for configuring the
retry counts and delays in the windows VFS.

FossilOrigin-Name: 7aaf0a6ae1238129e07eb191ca3f043df445e27a

13 years agoMerge the improved anti-virus defenses into the trunk.
drh [Tue, 12 Jul 2011 14:38:25 +0000 (14:38 +0000)] 
Merge the improved anti-virus defenses into the trunk.

FossilOrigin-Name: 0207fd9b0c0f6baa3c2cb8ba588ad585507848b3

13 years agoRevise logic in winDelete to check the file prior to attempting to delete it.
mistachkin [Tue, 12 Jul 2011 14:02:47 +0000 (14:02 +0000)] 
Revise logic in winDelete to check the file prior to attempting to delete it.

FossilOrigin-Name: 36f11acc531a524407e03c797a6a1bcf88bad809

13 years agoImprovements to the logging that occurs on an antivirus I/O retry.
drh [Tue, 12 Jul 2011 13:51:05 +0000 (13:51 +0000)] 
Improvements to the logging that occurs on an antivirus I/O retry.

FossilOrigin-Name: ff0ff75c3559f5bbe29c73204cc8ff1cb80f42cb

13 years agoUpdate the anti-virus retry logic for DeleteFile(). Invoke sqlite3_log()
drh [Tue, 12 Jul 2011 11:04:18 +0000 (11:04 +0000)] 
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

13 years agoUpdate the TCL commands for setting windows manditory locks.
drh [Mon, 11 Jul 2011 23:45:44 +0000 (23:45 +0000)] 
Update the TCL commands for setting windows manditory locks.
Add test cases for manditory lock delays under windows.

FossilOrigin-Name: 03af4c175c6ba303ec0a5be25fd42771e38f7347

13 years agoChange the windows backend to retry read and write requests if the encounter
drh [Mon, 11 Jul 2011 18:17:56 +0000 (18:17 +0000)] 
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

14 years agoFix harmless compiler warnings on unix.
drh [Sat, 9 Jul 2011 16:17:18 +0000 (16:17 +0000)] 
Fix harmless compiler warnings on unix.

FossilOrigin-Name: 90b1aea17400bbda5ebc8ae4eb4e12127519e42e

14 years agoIn where.c::findIndexCol - make sure that the Expr.op is TK_COLUMN before
drh [Sat, 9 Jul 2011 13:00:41 +0000 (13:00 +0000)] 
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

14 years agoChange the default chunk size on test_multiplex.c to 2147418112 bytes
drh [Fri, 8 Jul 2011 17:02:57 +0000 (17:02 +0000)] 
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

14 years agoFix for [54844eea3f]: Do not create automatic indexes on correlated sub-queries.
dan [Fri, 8 Jul 2011 16:10:54 +0000 (16:10 +0000)] 
Fix for [54844eea3f]: Do not create automatic indexes on correlated sub-queries.

FossilOrigin-Name: 9f14fa56ba31afe3de8b0cf26ed09573a2cc2283

14 years agoExtend the SQLITE_TESTCTRL_OPTIMIZATIONS option to disable DISTINCT
drh [Fri, 8 Jul 2011 13:07:02 +0000 (13:07 +0000)] 
Extend the SQLITE_TESTCTRL_OPTIMIZATIONS option to disable DISTINCT
optimizations.

FossilOrigin-Name: 18501dd1a8aa8299c091c36e35b9a10a29d4467b

14 years agoUpdate the tool/symbols.sh script to check for accidentally exported
drh [Thu, 7 Jul 2011 08:52:24 +0000 (08:52 +0000)] 
Update the tool/symbols.sh script to check for accidentally exported
global variables.

FossilOrigin-Name: 71b749a9dca953cdf671d94afec16e2c98f3aee5

14 years agoAdd a target to main.mk that will fail if the amalgamation contains any exported...
dan [Thu, 7 Jul 2011 08:19:16 +0000 (08:19 +0000)] 
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

14 years agoRemove accidental global variable "doclist" from fts3Int.h.
dan [Thu, 7 Jul 2011 07:37:53 +0000 (07:37 +0000)] 
Remove accidental global variable "doclist" from fts3Int.h.

FossilOrigin-Name: f244b2f3959e86fac555b91438cfe90528ab1648

14 years agoExpose the value of compile time symbol SQLITE_MAX_DEFAULT_PAGE_SIZE to test scripts.
dan [Wed, 6 Jul 2011 09:36:59 +0000 (09:36 +0000)] 
Expose the value of compile time symbol SQLITE_MAX_DEFAULT_PAGE_SIZE to test scripts.

FossilOrigin-Name: 335736637c4ac3fe56a44fe01d4c037aaefa916a

14 years agoAdjust a couple of test scripts so that they work with OMIT_UTF16 builds.
dan [Mon, 4 Jul 2011 06:52:15 +0000 (06:52 +0000)] 
Adjust a couple of test scripts so that they work with OMIT_UTF16 builds.

FossilOrigin-Name: 6c51bad0a306558d2725463b5675c3799fabcb9d

14 years agoAdd a testcase macro to ensure testing a boundary case in DISTINCT processing.
drh [Sat, 2 Jul 2011 19:12:05 +0000 (19:12 +0000)] 
Add a testcase macro to ensure testing a boundary case in DISTINCT processing.

FossilOrigin-Name: ff9fc722dc481df1ce6a9733db1f033b88141d5d

14 years agoEnsure that automatic indexes are only created in scenarios where they may be used...
dan [Sat, 2 Jul 2011 15:32:57 +0000 (15:32 +0000)] 
Ensure that automatic indexes are only created in scenarios where they may be used more than once.

FossilOrigin-Name: 27c65d4d9c58bfc4ea8f9337fa15090459fb26c5

14 years agoMerge experimental changes improving optimization of DISTINCT queries with the trunk.
dan [Sat, 2 Jul 2011 09:46:52 +0000 (09:46 +0000)] 
Merge experimental changes improving optimization of DISTINCT queries with the trunk.

FossilOrigin-Name: 45e581bff7a75db6c9a2c45b73d034d0b8a166d1

14 years agoFix a broken assert() in where.c.
dan [Sat, 2 Jul 2011 06:44:05 +0000 (06:44 +0000)] 
Fix a broken assert() in where.c.

FossilOrigin-Name: 090b29177fbc9faa83b560d92ddc3710d291776e

14 years agoMerge latest trunk changes with experimental branch.
dan [Fri, 1 Jul 2011 18:43:13 +0000 (18:43 +0000)] 
Merge latest trunk changes with experimental branch.

FossilOrigin-Name: e56be74eabc03d1a524d96aa4e87102dea4e348e

14 years agoImprove use of indexes to optimize DISTINCT queries.
dan [Fri, 1 Jul 2011 18:26:40 +0000 (18:26 +0000)] 
Improve use of indexes to optimize DISTINCT queries.

FossilOrigin-Name: 6c202ea0247ff509f696eee3839975a88ed26cf2

14 years agoTest case for ticket [d6ddba6706353915ceed]
drh [Fri, 1 Jul 2011 14:22:04 +0000 (14:22 +0000)] 
Test case for ticket [d6ddba6706353915ceed]

FossilOrigin-Name: 953e169e8a7dac05a0b56b4ef5d500ec8399d37f

14 years agoImprovements and tests for detection of redundant DISTINCT qualifiers.
dan [Fri, 1 Jul 2011 14:21:38 +0000 (14:21 +0000)] 
Improvements and tests for detection of redundant DISTINCT qualifiers.

FossilOrigin-Name: 7337293c87fb563604dd6ad284f2d1e30c938b4c

14 years agoIgnore the database name on the target table when parsing a CREATE TABLE
drh [Fri, 1 Jul 2011 13:50:44 +0000 (13:50 +0000)] 
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

14 years agoExperimental changes to improve optimization of DISTINCT queries.
dan [Thu, 30 Jun 2011 20:17:15 +0000 (20:17 +0000)] 
Experimental changes to improve optimization of DISTINCT queries.

FossilOrigin-Name: f7ba0219ef2f235543c258be736955d91ca5ecce

14 years agoPass the BTREE_UNORDERED hint into both sqlite3BtreeOpen() and into
drh [Wed, 29 Jun 2011 17:11:39 +0000 (17:11 +0000)] 
Pass the BTREE_UNORDERED hint into both sqlite3BtreeOpen() and into
sqlite3BtreeCreateTable().

FossilOrigin-Name: 591de898f41630156cc0fc6ef17dd3ee5e7c479f

14 years agoMerge the fts3-changes branch back into the trunk.
dan [Tue, 28 Jun 2011 14:16:42 +0000 (14:16 +0000)] 
Merge the fts3-changes branch back into the trunk.

FossilOrigin-Name: b9477eb056d120826ed82b0d65e6f27b5d0c087a

14 years agoAdd a fix and tests for the FTS deferred token logic. fts3-changes
dan [Tue, 28 Jun 2011 11:58:09 +0000 (11:58 +0000)] 
Add a fix and tests for the FTS deferred token logic.

FossilOrigin-Name: 91daea7d2ec41f014fb30c6371aae447cc07f287

14 years agoMerge latest trunk changes with fts3-changes branch.
dan [Tue, 28 Jun 2011 09:51:22 +0000 (09:51 +0000)] 
Merge latest trunk changes with fts3-changes branch.

FossilOrigin-Name: 226686475c28cdc87e86d2d3f10014436a9a2b8f

14 years agoChanges to allow FTS to be compiled as a loadable module again.
dan [Tue, 28 Jun 2011 07:15:43 +0000 (07:15 +0000)] 
Changes to allow FTS to be compiled as a loadable module again.

FossilOrigin-Name: 29e69f389cb0078e125ba5814a68b3fe8cf634c6

14 years agoRemove an unnecessary assignment from vdbeapi.c.
dan [Mon, 27 Jun 2011 19:37:23 +0000 (19:37 +0000)] 
Remove an unnecessary assignment from vdbeapi.c.

FossilOrigin-Name: 6c871ac1fa3c79baa0053dc49ab106cb3db4cfa0

14 years agoMerge latest trunk changes.
dan [Mon, 27 Jun 2011 19:25:10 +0000 (19:25 +0000)] 
Merge latest trunk changes.

FossilOrigin-Name: 11ea98e454ad35b2606e81dec9ac866e4dd9f7e1

14 years agoRemove an unnecessary assignment from vdbeapi.c.
dan [Mon, 27 Jun 2011 19:12:57 +0000 (19:12 +0000)] 
Remove an unnecessary assignment from vdbeapi.c.

FossilOrigin-Name: 25e5b7686a06e7f4ee993d8559d23143e2e8c7a8

14 years agoAdd a case to permutations.test to run the veryquick test suite using sqlite3_prepare...
dan [Mon, 27 Jun 2011 16:55:50 +0000 (16:55 +0000)] 
Add a case to permutations.test to run the veryquick test suite using sqlite3_prepare() instead of sqlite3_prepare_v2(). This helps to test the fix for bug [25ee812710].

FossilOrigin-Name: d9f7993bfa2ecb30c44455de538eb6f8a4a59087

14 years agoChanges to improve the selection of deferred tokens within phrases.
dan [Mon, 27 Jun 2011 11:15:53 +0000 (11:15 +0000)] 
Changes to improve the selection of deferred tokens within phrases.

FossilOrigin-Name: 2c4bbd90e2fca593c186bf412b608aff8c9f9061

14 years agoMake sure all new statements begin life unexpired, even if they registered
drh [Mon, 27 Jun 2011 00:01:22 +0000 (00:01 +0000)] 
Make sure all new statements begin life unexpired, even if they registered
functions or did other actions during preparation that would have expired
all statements.  Fix for ticket [25ee81271091]

FossilOrigin-Name: faa38c8724d3eebad97197bfa44d11e75cfe6c69

14 years agoModifications to the "like.test" script in order to expose the problem
drh [Sun, 26 Jun 2011 23:44:35 +0000 (23:44 +0000)] 
Modifications to the "like.test" script in order to expose the problem
reported by ticket [25ee81271091ec27a8c5].

FossilOrigin-Name: c4db5b640638a211b096454ba90b58faf595392b

14 years agoSupport using nmake via cmd.exe, allow Tcl related variables to be overridden via...
mistachkin [Sat, 25 Jun 2011 01:14:36 +0000 (01:14 +0000)] 
Support using nmake via cmd.exe, allow Tcl related variables to be overridden via the environment, and add 'dll' to the 'all' target.

FossilOrigin-Name: 0cb0f30603b1658ae24d1b74d6ab59d05ef4e448

14 years agoExplicitly cast an argument to printf() to (int), in case the result of the pointer...
dan [Fri, 24 Jun 2011 18:43:23 +0000 (18:43 +0000)] 
Explicitly cast an argument to printf() to (int), in case the result of the pointer arithmetic expression is a 64-bit integer on some platforms.

FossilOrigin-Name: 90cfeaf7b68eebc2cd75bc60b1bb86823646fe30

14 years agoFix a Windows line ending issue in a test case that was causing an incrblob test...
shaneh [Fri, 24 Jun 2011 13:50:13 +0000 (13:50 +0000)] 
Fix a Windows line ending issue in a test case that was causing an incrblob test to fail.

FossilOrigin-Name: afbe9023a706375be53bce389ef4e806f17fc7ec

14 years agoFix some harmless compiler warnings that were occurring with THREADSAFE=0.
drh [Fri, 24 Jun 2011 11:29:51 +0000 (11:29 +0000)] 
Fix some harmless compiler warnings that were occurring with THREADSAFE=0.

FossilOrigin-Name: 9b191bb4c7c1e1b12b188c0b3eee1f8f587887c8

14 years agoVersion 3.7.7 release candidate #1. version-3.7.7
drh [Thu, 23 Jun 2011 19:49:22 +0000 (19:49 +0000)] 
Version 3.7.7 release candidate #1.

FossilOrigin-Name: 4374b7e83ea0a3fbc3691f9c0c936272862f32f2

14 years agoAdd a bit to the SQLITE_TESTCTRL_OPTIMIZATIONS setting that will disable
drh [Thu, 23 Jun 2011 17:29:33 +0000 (17:29 +0000)] 
Add a bit to the SQLITE_TESTCTRL_OPTIMIZATIONS setting that will disable
affinity when writing to any index, regardless of whether or not the index
is on a manifestation of a view.  This allows better testing of the fix
for ticket [91e2e8ba6ff2e2].

FossilOrigin-Name: b61a76a53af04f731fe7617f7b6b4fb2aef6587b

14 years agoFix some of the code issues (missing comments etc.) in the new FTS code.
dan [Thu, 23 Jun 2011 17:09:51 +0000 (17:09 +0000)] 
Fix some of the code issues (missing comments etc.) in the new FTS code.

FossilOrigin-Name: 8230d83120e0f4d217fde56e22c6f05aa5adee09

14 years agoAdd a test for ticket [91e2e8ba6f]. No changes to code.
dan [Thu, 23 Jun 2011 16:40:26 +0000 (16:40 +0000)] 
Add a test for ticket [91e2e8ba6f]. No changes to code.

FossilOrigin-Name: c271f7e88fc081a460dd3f4afb24aa9fb7fa2917

14 years agoDo not do affinity transformations on inserts into an index for the
drh [Thu, 23 Jun 2011 16:18:26 +0000 (16:18 +0000)] 
Do not do affinity transformations on inserts into an index for the
manifestation of a view or subquery.  Fix for ticket [91e2e8ba6ff2e2].

FossilOrigin-Name: 0b3174e0b1364ccc31853dce02bce5f7d3d431db

14 years agoProvide the SQLITE_MAX_SCHEMA_RETRY compile-time parameter for adjusting the
drh [Thu, 23 Jun 2011 01:42:53 +0000 (01:42 +0000)] 
Provide the SQLITE_MAX_SCHEMA_RETRY compile-time parameter for adjusting the
number of reparse attempts after a schema change.

FossilOrigin-Name: 8dca748b23fa6f9abf47a186dcd1766f4dcf3ab7

14 years agoRemove unused variables from test_vfs.c
drh [Thu, 23 Jun 2011 01:07:49 +0000 (01:07 +0000)] 
Remove unused variables from test_vfs.c

FossilOrigin-Name: 07884cc218e6899efd163448ab116f296722f7b8

14 years agoIf "PRAGMA page_size" commands are not authorized, the FTS module will assume
drh [Thu, 23 Jun 2011 00:59:41 +0000 (00:59 +0000)] 
If "PRAGMA page_size" commands are not authorized, the FTS module will assume
a page size of 1024.

FossilOrigin-Name: ba39382ef546b4c4ae15ed90ef0b6c87762bffef

14 years agoAdded limited support to omittest.tcl for nmake makefile.
shaneh [Wed, 22 Jun 2011 20:14:09 +0000 (20:14 +0000)] 
Added limited support to omittest.tcl for nmake makefile.

FossilOrigin-Name: f5f46dc7b8c23e77fd1ff792b7d0cf070de47ca3

14 years agoUpdate a test case for Windows that failed because of size_hint implementation differ...
shaneh [Wed, 22 Jun 2011 15:40:19 +0000 (15:40 +0000)] 
Update a test case for Windows that failed because of size_hint implementation differences.

FossilOrigin-Name: f853fa63c357b78f93e553eb81cd79d4c3e06850

14 years agoPrint a warning in oserror-1.1.1 that a valgrind warning might occur but that
drh [Wed, 22 Jun 2011 15:21:48 +0000 (15:21 +0000)] 
Print a warning in oserror-1.1.1 that a valgrind warning might occur but that
it is benign.

FossilOrigin-Name: 13e96376e11d71d203f7b67c12272e8762200876

14 years agoAdjust a test case in triggerC.test to handle non-default SQLITE_MAX_TRIGGER_DEPTH...
shaneh [Wed, 22 Jun 2011 14:43:59 +0000 (14:43 +0000)] 
Adjust a test case in triggerC.test to handle non-default SQLITE_MAX_TRIGGER_DEPTH settings.

FossilOrigin-Name: f14339c54bdeabc68c1e05b2c63ee95226f184e0

14 years agoAdd a flush of stdout so some test code reading from a command pipe works correctly...
shaneh [Wed, 22 Jun 2011 14:21:31 +0000 (14:21 +0000)] 
Add a flush of stdout so some test code reading from a command pipe works correctly on Windows.

FossilOrigin-Name: 6705f21effaa2f72dc5e17e888d679b8d35c2c3a

14 years agoChange a test case in types3.test slightly so that it works with the latest versions...
dan [Wed, 22 Jun 2011 10:56:54 +0000 (10:56 +0000)] 
Change a test case in types3.test slightly so that it works with the latest versions of Tcl.

FossilOrigin-Name: 6e1f4df51ad32e36715cba16f9df0d17a08dc653

14 years agoModify the implementation of the test code in test_vfs.c so that test VFS objects...
dan [Wed, 22 Jun 2011 10:37:19 +0000 (10:37 +0000)] 
Modify the implementation of the test code in test_vfs.c so that test VFS objects may be invoked recursively.

FossilOrigin-Name: 065e5a5ea4f82f0d3fbb2e80d3a977af96c95683

14 years agoFix typo in previous tester.tcl commit.
shaneh [Tue, 21 Jun 2011 19:39:59 +0000 (19:39 +0000)] 
Fix typo in previous tester.tcl commit.

FossilOrigin-Name: c2e5faca144d2c25aada2a77b4ddefa5ca6ea925

14 years agoUpdate filepath_normalize for unix.
shaneh [Tue, 21 Jun 2011 19:38:16 +0000 (19:38 +0000)] 
Update filepath_normalize for unix.

FossilOrigin-Name: 30dd4f887989354b5d01cc80bd9c4bd3528d3ae1

14 years agoUpdate a few of the uri tests to work on Windows.
shaneh [Tue, 21 Jun 2011 19:30:19 +0000 (19:30 +0000)] 
Update a few of the uri tests to work on Windows.

FossilOrigin-Name: a2a0cd4aa4a6723a849bbba590c22fd065fab55e

14 years agoUpdates to nmake makefile to allow options to be passed to lib.exe.
shaneh [Tue, 21 Jun 2011 18:12:07 +0000 (18:12 +0000)] 
Updates to nmake makefile to allow options to be passed to lib.exe.

FossilOrigin-Name: 9eac4a6bbe111d951ad23395ba82c868473c5b9b

14 years agoGive the osLocaltime() function file scope in date.c.
drh [Tue, 21 Jun 2011 15:54:24 +0000 (15:54 +0000)] 
Give the osLocaltime() function file scope in date.c.

FossilOrigin-Name: 1577484595b5e5aab93722d76b273c911a04dc2c

14 years agoInitialize a variable introduced as part of the fix for [bd484a090c8077] in order...
dan [Tue, 21 Jun 2011 15:38:05 +0000 (15:38 +0000)] 
Initialize a variable introduced as part of the fix for [bd484a090c8077] in order to silence a compiler warning.

FossilOrigin-Name: 6b9877fa43bf29a9740285f0c40a6e6cf21f8190

14 years agoAdd a missing initializer for sqlite3GlobalConfig.bLocaltimeFault.
dan [Tue, 21 Jun 2011 15:27:54 +0000 (15:27 +0000)] 
Add a missing initializer for sqlite3GlobalConfig.bLocaltimeFault.

FossilOrigin-Name: 7fe8ba2ec762d258b04e775766c82e5e541ab5d1

14 years agoFix main.mk so that the "amalgamation-testfixture" target works again.
dan [Tue, 21 Jun 2011 15:24:30 +0000 (15:24 +0000)] 
Fix main.mk so that the "amalgamation-testfixture" target works again.

FossilOrigin-Name: 22265323f7785ec5e2afc14a989d53dcbbd36250

14 years agoRework the localtime logic yet again in order to make all branches reachable
drh [Tue, 21 Jun 2011 15:01:25 +0000 (15:01 +0000)] 
Rework the localtime logic yet again in order to make all branches reachable
and to follow GNU standards for HAVE_LOCALTIME_R-type macros.
Ticket [bd484a090c8077].

FossilOrigin-Name: 176248095b8056443ebcbff819e575bd100f5e50

14 years agoSimplifications to the localtime() interface. Fix the case where
drh [Tue, 21 Jun 2011 14:35:30 +0000 (14:35 +0000)] 
Simplifications to the localtime() interface.  Fix the case where
localtime_r() is available so that it works.  Ticket [bd484a090c8077].

FossilOrigin-Name: 5b68dae320d0fa3dc433826811e5018a47461de7

14 years agoChange the error message returned when localtime_r() fails to "local time unavailable".
dan [Tue, 21 Jun 2011 13:46:11 +0000 (13:46 +0000)] 
Change the error message returned when localtime_r() fails to "local time unavailable".

FossilOrigin-Name: 0e82175fd86f0ca5da90676aaee3118a70264d85

14 years agoFix an error made in the previous commit. The parameters to localtime_s() were accide...
dan [Tue, 21 Jun 2011 12:53:14 +0000 (12:53 +0000)] 
Fix an error made in the previous commit. The parameters to localtime_s() were accidentally reversed.

FossilOrigin-Name: 97e86ec6df4d893527fe9f43eb46163d9b06416a

14 years agoReturn an error if localtime_r() fails within one of the date/time functions. Fix...
dan [Tue, 21 Jun 2011 12:47:30 +0000 (12:47 +0000)] 
Return an error if localtime_r() fails within one of the date/time functions. Fix for [bd484a090c].

FossilOrigin-Name: 76ae8257efc1df6e20ce5718d4824adbbde423ec

14 years agoAdd a new AWK script in the tool/ folder for converting text files into
drh [Tue, 21 Jun 2011 03:36:06 +0000 (03:36 +0000)] 
Add a new AWK script in the tool/ folder for converting text files into
C string literals.  Use it for building sqlite3_analyzer.

FossilOrigin-Name: dcb46d3f68e219a84c67c7ffef26fd2076a0ba28

14 years agoMore typo fixes in evidence marks. No code changes.
drh [Mon, 20 Jun 2011 23:51:33 +0000 (23:51 +0000)] 
More typo fixes in evidence marks.  No code changes.

FossilOrigin-Name: e60eefc76fa5066720d76858f6cfca56365330ee

14 years agoFix typos in evidence marks on tests.
drh [Mon, 20 Jun 2011 22:34:50 +0000 (22:34 +0000)] 
Fix typos in evidence marks on tests.

FossilOrigin-Name: bd980be471b185e2dc45875804103d5afc8f78cf

14 years agoFix more documentation typos.
drh [Mon, 20 Jun 2011 21:47:58 +0000 (21:47 +0000)] 
Fix more documentation typos.

FossilOrigin-Name: b9cbab739a62f497545161f30195272f4e687a7f

14 years agoAdd ability to pass linker specific options to nmake makefile.
shaneh [Mon, 20 Jun 2011 20:52:32 +0000 (20:52 +0000)] 
Add ability to pass linker specific options to nmake makefile.

FossilOrigin-Name: b4f09c9393ce703062170220af20a23fdcf53494

14 years agoFix a couple of compiler issues on Windows due to warning clean up.
shaneh [Mon, 20 Jun 2011 20:50:49 +0000 (20:50 +0000)] 
Fix a couple of compiler issues on Windows due to warning clean up.

FossilOrigin-Name: 81e6f151d384fa1f1474175b39ad6dfa64f8da0d

14 years agoAdd additional error check for disk full on Windows.
shaneh [Mon, 20 Jun 2011 20:48:09 +0000 (20:48 +0000)] 
Add additional error check for disk full on Windows.

FossilOrigin-Name: 3ee5d1a51d6347858734b7b595771ae9cd2cc89d

14 years agoFix documentation typos. No changes to code.
drh [Mon, 20 Jun 2011 20:39:12 +0000 (20:39 +0000)] 
Fix documentation typos.  No changes to code.

FossilOrigin-Name: 3276f3f7c90e356a9715f6b0a95cf48169f8d9f0

14 years agoRemove the SQLITE_OMIT_CONFLICT_CLAUSE preprocessor define which was no
drh [Mon, 20 Jun 2011 20:15:53 +0000 (20:15 +0000)] 
Remove the SQLITE_OMIT_CONFLICT_CLAUSE preprocessor define which was no
longer in use.

FossilOrigin-Name: 9024955973e90661c99efa2aad1f8c421ee93802

14 years agoMore compiler warning fixes.
drh [Mon, 20 Jun 2011 19:00:30 +0000 (19:00 +0000)] 
More compiler warning fixes.

FossilOrigin-Name: ed2dda9329ca42e9c0be1986c78b091051e7598f