]>
git.ipfire.org Git - thirdparty/sqlite.git/log
dan [Fri, 23 Dec 2011 11:07:06 +0000 (11:07 +0000)]
Fix a problem with [
f9c4a7c8f4 ] as applied to this branch.
FossilOrigin-Name:
e6a04bf9f1a7912c7878f071d04fc6ae60493460
drh [Thu, 22 Dec 2011 18:44:13 +0000 (18:44 +0000)]
Backport the fixes for Coverity-discovered problems
in [
1c27d84216 ], [
676acce274 ], and [
f9c4a7c8f4 ] from trunk to the
3.7.6 branch.
FossilOrigin-Name:
a61786e760abf4bdae5b35a45c9be5f56955a85d
dan [Tue, 21 Jun 2011 15:58:14 +0000 (15:58 +0000)]
Give the osLocaltime() function file scope in date.c.
FossilOrigin-Name:
1abce55a1ed8bce2c3852b726b33bc050590eeb6
drh [Tue, 21 Jun 2011 15:15:16 +0000 (15:15 +0000)]
Backport the localtime() failure fix of ticket [
bd484a090c8077 ] to the
3.7.6 branch.
FossilOrigin-Name:
5d4b0c5bfc5be1b16b05d43f943cd8f755d23d0e
drh [Thu, 19 May 2011 13:26:54 +0000 (13:26 +0000)]
Version 3.7.6.3 release candidate 1.
FossilOrigin-Name:
ed1da510a239ea767a01dc332b667119fa3c908e
drh [Thu, 19 May 2011 01:46:38 +0000 (01:46 +0000)]
Backport the [
67bf1c9a88 ] fix for vanishing WAL transactions due to small
cache spillage. Ticket [
2d1a5c67dfc236 ]. Also bump the version number
to 3.7.6.3 in preparation for patch release.
FossilOrigin-Name:
e4d0f7ace83370e9c878cb0be30dcc28ab97ebae
drh [Sun, 17 Apr 2011 17:25:17 +0000 (17:25 +0000)]
drh [Sun, 17 Apr 2011 17:17:25 +0000 (17:17 +0000)]
Bump the version number to 3.7.6.2
FossilOrigin-Name:
c429edf30accac12d5deef10e59cd31146036f11
drh [Sun, 17 Apr 2011 17:14:03 +0000 (17:14 +0000)]
Change the prototype for the open() system call to agree with Posix.
Though a faulty function prototype in a pointer cast is a seemingly innocuous
error, the correct prototype is necessary for pthreads to work correctly
on NetBSD.
FossilOrigin-Name:
986f2f25baf21d0d6a4b3749e5ea76502d26536e
drh [Wed, 13 Apr 2011 14:40:25 +0000 (14:40 +0000)]
drh [Wed, 13 Apr 2011 14:02:43 +0000 (14:02 +0000)]
Bump the version number to 3.7.6.1 in preparation for a bug-fix release.
FossilOrigin-Name:
5f0c394a5ab308946e72f20d6351c08c6737c63f
drh [Wed, 13 Apr 2011 13:42:25 +0000 (13:42 +0000)]
Make sure the array of overloadable system calls is always correctly
sized, regardless of the compile-time configuration.
Ticket [
bb3a86e890c8e96ab ].
FossilOrigin-Name:
c6e727ab3b16e71b0151673bb24b0bafec368ee6
drh [Tue, 12 Apr 2011 01:58:40 +0000 (01:58 +0000)]
drh [Mon, 11 Apr 2011 18:35:09 +0000 (18:35 +0000)]
Do not override the fchmod system call in unix unless the
SQLITE_ENABLE_LOCKING_STYLE compile-time option is engaged.
FossilOrigin-Name:
51029d8430d2dbc782f161577d47e3dd11c4e4d7
drh [Mon, 11 Apr 2011 15:36:26 +0000 (15:36 +0000)]
Updates to the OS/2 patches. This change also move the location of a global
variable declaration in shell.c which might effect other build targets.
FossilOrigin-Name:
73906b67dc920e0c36e68ef9a302be3b495e8e3a
drh [Mon, 11 Apr 2011 15:35:24 +0000 (15:35 +0000)]
Fix a signed integer overflow problem in the testcase() macro.
FossilOrigin-Name:
f18f5f5893a0d37ecedcfcfdddbe06cdbe0b4243
dan [Mon, 11 Apr 2011 13:57:26 +0000 (13:57 +0000)]
Apply OS2 WAL patch. Changes to os_os2.c only.
FossilOrigin-Name:
eac17106808fa54551a18ff9b44f8370cb5d7160
dan [Mon, 11 Apr 2011 05:38:31 +0000 (05:38 +0000)]
Change exists.test to run all tests with and without "PRAGMA journal_mode=WAL".
FossilOrigin-Name:
c4e624db1a981fe6e520af51efc6ce33bca2c714
drh [Sun, 10 Apr 2011 16:39:23 +0000 (16:39 +0000)]
Add a simple test program to aid in verifying that journals are cross-platform.
FossilOrigin-Name:
a65a7a59d19a64ba1aec388d23ada79aaaaa6f26
dan [Sat, 9 Apr 2011 19:17:49 +0000 (19:17 +0000)]
Add test file unordered.test.
FossilOrigin-Name:
f346dae1278b5b0cc0cd8e05aa3b4d8f70d2dc1d
drh [Sat, 9 Apr 2011 17:53:30 +0000 (17:53 +0000)]
Remove an always-true conditional. Replace it with an assert().
FossilOrigin-Name:
1c2f0f8477bcf251fe874a2cfae4d7a403cb88ff
dan [Sat, 9 Apr 2011 17:32:58 +0000 (17:32 +0000)]
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
dan [Sat, 9 Apr 2011 15:39:02 +0000 (15:39 +0000)]
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
drh [Sat, 9 Apr 2011 03:20:59 +0000 (03:20 +0000)]
If the keyword "unordered" appears at the end of the SQLITE_STAT1.STAT
column for an index, then use that index for equality lookups only, never
for range queries or sorting. This feature is currently undocumented and
my change or be removed in a future release.
FossilOrigin-Name:
8a42e236701c8afd9ada7d4568712a21690ea087
drh [Sat, 9 Apr 2011 03:04:13 +0000 (03:04 +0000)]
Back out the SQLITE_OMIT_UNIQUE_ENFORCEMENT compile-option. It is an unneeded
complication.
FossilOrigin-Name:
927e955b93e869727c55b784401de3ea07bee257
drh [Sat, 9 Apr 2011 02:34:33 +0000 (02:34 +0000)]
When ATTACH-ing a new database to an existing database with a codec, do
not enable the codec in the attached database if it is not enabled in the
existing database and it is not requested by the USING clause.
FossilOrigin-Name:
4caa5fc86e7fe404cd188713277f2801cd02dbc9
drh [Sat, 9 Apr 2011 02:09:44 +0000 (02:09 +0000)]
Do not do a backup if the number of reserved bytes in the source and
destination do not match. Try to make the match, but if unable fail.
FossilOrigin-Name:
0ca8a2332b28d88585dc890e5162b095e783fc20
drh [Fri, 8 Apr 2011 21:35:26 +0000 (21:35 +0000)]
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
dan [Fri, 8 Apr 2011 18:47:24 +0000 (18:47 +0000)]
Add some rtree tests to the backcompat.test script.
FossilOrigin-Name:
8ea3601cd11088ae4d62bd4a05d1675301b26ace
dan [Fri, 8 Apr 2011 17:22:30 +0000 (17:22 +0000)]
Fix incrvacuum2.test so that it works with the inmemory_journal permutation.
FossilOrigin-Name:
7b8e176143bb8b55e34fd70cbfa639b1097b2c34
drh [Thu, 7 Apr 2011 19:56:21 +0000 (19:56 +0000)]
Change two new internal functions in where.c from global to file scope.
FossilOrigin-Name:
5bbfa17d4d6db18f8077f758d70c1bc253b58e2e
dan [Thu, 7 Apr 2011 15:24:08 +0000 (15:24 +0000)]
Add test case to verify [
d03d63d77e ] works.
FossilOrigin-Name:
bf78acb9dfacde0f08a5b3ceac13480f12a06168
drh [Thu, 7 Apr 2011 14:47:01 +0000 (14:47 +0000)]
When searching a list of freelist trunk pages looking for a specific page
to allocate, avoid unnecessary journalling of the unchanged trunk pages towards
the start of the list.
FossilOrigin-Name:
d03d63d77ed144ac2c02a0245c4b4b070b79c88e
dan [Thu, 7 Apr 2011 14:05:47 +0000 (14:05 +0000)]
Avoid running thread1.test or thread2.test if SQLITE_MUTEX_NOOP is defined.
FossilOrigin-Name:
532ae32ea0f5e821dac643cbc4b041c103cadfdc
dan [Thu, 7 Apr 2011 10:09:00 +0000 (10:09 +0000)]
Do not run multi-threaded Tcl tests if the library was built with SQLITE_MUTEX_NOOP defined.
FossilOrigin-Name:
e4e99606fdf1f1cecf914dc865b066bf07793d1f
dan [Thu, 7 Apr 2011 05:17:32 +0000 (05:17 +0000)]
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
shaneh [Thu, 7 Apr 2011 03:41:01 +0000 (03:41 +0000)]
Fix a couple of MSVC compiler warnings;
FossilOrigin-Name:
748c9109c973e1d3e914adbe533f12af7783bfe4
shaneh [Thu, 7 Apr 2011 01:54:14 +0000 (01:54 +0000)]
Fix an issue with an analyze test. No code changes.
FossilOrigin-Name:
cddf79db83e5f121cc4ce8ab7ad3993fc96f5bc0
drh [Thu, 7 Apr 2011 01:14:12 +0000 (01:14 +0000)]
Fix typos in documentation comments. No changes to code.
FossilOrigin-Name:
9c64b5a99c5251818000e7d655f3a870589b631e
drh [Wed, 6 Apr 2011 22:05:53 +0000 (22:05 +0000)]
Fix a performance regression: Keep two btree masks in each prepared
statement; one for btrees used and another for btrees that require locks.
Only try to lock the btrees identified by the second mask.
FossilOrigin-Name:
614de91a504d2231009a9de1305e31fce1b1c5a6
dan [Wed, 6 Apr 2011 19:15:45 +0000 (19:15 +0000)]
Fix a benign inaccuracy in the os_unix.c SQLITE_FCNTL_SIZE_HINT code.
FossilOrigin-Name:
61a6ccbe3c9c3ad5f35fb325e3c327cb19409925
dan [Wed, 6 Apr 2011 17:54:31 +0000 (17:54 +0000)]
Changes to support building with various SQLITE_OMIT_XXX options defined.
FossilOrigin-Name:
2039ed952a02bdcd4fc6d2e20572c4632084dcdb
dan [Wed, 6 Apr 2011 12:38:10 +0000 (12:38 +0000)]
Update a comment in sqliteLimit.h. No changes to code or tests.
FossilOrigin-Name:
b7296fd380319bcae26b1ac13f23e57a4852881b
dan [Wed, 6 Apr 2011 12:37:09 +0000 (12:37 +0000)]
Add configurations featuring the -ftrapv switch and large values for SQLITE_MAX_ATTACHED to releasetest.tcl.
FossilOrigin-Name:
989588abf3e88e198b7224604d54f7dc24d2576f
drh [Tue, 5 Apr 2011 22:08:24 +0000 (22:08 +0000)]
Suppress many harmless compiler warnings, mostly signed/unsigned comparisons
within asserts or unused parameters in extensions.
FossilOrigin-Name:
3eeb0ff78d04891b5fd1a3d99a9fb8cfbed77a81
drh [Tue, 5 Apr 2011 19:27:41 +0000 (19:27 +0000)]
Simplifications to the sqlite3BtreeEnterAll() and LeaveAll() routines.
Just have them call BtreeEnter and BtreeLeave() repeatedly rather than
trying to be clever.
FossilOrigin-Name:
51039b3578f948c23a810d176e81fa51a278fb28
drh [Tue, 5 Apr 2011 19:26:30 +0000 (19:26 +0000)]
Simplifications to the sqlite3ResetInternalSchema() logic to eliminate
unreachable branches.
FossilOrigin-Name:
a4c3ac989d4e93f0279172901b9ece822d137700
drh [Tue, 5 Apr 2011 18:34:10 +0000 (18:34 +0000)]
Remove dead code from the OP_JournalMode opcode in the VDBE.
This code seems to have been useless since [
f88c6367d2 ] on [20010-08-07].
FossilOrigin-Name:
a89f24e2c9591d09cbe329895ceec87885059184
drh [Tue, 5 Apr 2011 17:31:56 +0000 (17:31 +0000)]
Remove the mutex counter and the logic that attempts to verify that btree
mutexes are held continuously. We are not making that assumption at this
time.
FossilOrigin-Name:
242ce7cff416a87d57d4eb624cb79fa4e2215559
dan [Tue, 5 Apr 2011 16:09:08 +0000 (16:09 +0000)]
When committing a WAL transaction, do not write any pages to the WAL file with page numbers greater than the size of the database image in pages.
FossilOrigin-Name:
311d0b613d9cfa2dbcbb9ef2450041b1fd48770a
drh [Tue, 5 Apr 2011 14:22:48 +0000 (14:22 +0000)]
Fix a documentation typo.
FossilOrigin-Name:
d25c17ef6e2b916923489dccaaa018a2d6525401
drh [Tue, 5 Apr 2011 13:12:28 +0000 (13:12 +0000)]
Merge the scheme-parse-refactor changes into trunk: (1) added
sqlite3SchemaMutexHeld() asserts, (2) Use -1 instead of 0 to mean
"all" in sqlite3ResetInternalSchema(), and other cosmetic changes.
FossilOrigin-Name:
5db4511d8a77b74be3503a7c34257ef6b07541f5
drh [Tue, 5 Apr 2011 12:25:19 +0000 (12:25 +0000)]
Fix the P4_TRANSIENT constant so that it works correct - so that it really
makes a copy of the string for the P4 argument. Use P4_TRANSIENT wherever
appropriate. Change P4_STATICs of schema names to P4_TRANSIENT.
FossilOrigin-Name:
bf664b206bf6f5c1941da1986dfe2c0d1831d5e4
drh [Tue, 5 Apr 2011 11:26:54 +0000 (11:26 +0000)]
Improved comment on the sqlite3SrcListLookup function.
FossilOrigin-Name:
bcbc9ff568d1eb9f925574ebd22e5fdfa06daf6e
shaneh [Tue, 5 Apr 2011 02:33:44 +0000 (02:33 +0000)]
Added ifcapable wal to some test scripts;
FossilOrigin-Name:
6b270381daad5d1a9ca5746cf439c90f9c735a1b
shaneh [Tue, 5 Apr 2011 02:21:04 +0000 (02:21 +0000)]
Added ifcapable utf16 to a few test cases;
FossilOrigin-Name:
57e0919b08e3b839b7c71011707a19ae2511a625
drh [Mon, 4 Apr 2011 23:08:14 +0000 (23:08 +0000)]
Add a comment to the VACUUM implementation explaining when all schemas are
reset and not just the "main" schema.
FossilOrigin-Name:
2aff1b0ca87a99b8ec80e696b9e8a48bb43db2c2
shaneh [Mon, 4 Apr 2011 21:48:01 +0000 (21:48 +0000)]
Changes for consistent use of SQLITE_OS_UNIX and removal of legacy OS_UNIX from testfixture source;
FossilOrigin-Name:
78b6eee200cab363be520d771375e44898f80e01
drh [Mon, 4 Apr 2011 21:25:28 +0000 (21:25 +0000)]
Additional schema mutex checks for sqlite3RootPageMoved().
Reduce the scope of sqlite3ResetInternalSchema() in a few places.
FossilOrigin-Name:
39c00907833413c0d97d3e06fdda967b825d23ea
drh [Mon, 4 Apr 2011 20:40:22 +0000 (20:40 +0000)]
Minor comment typo corrections. Simplify an assert. No functional changes.
FossilOrigin-Name:
82c2316240345167a571507d9392dfb6445ef523
drh [Mon, 4 Apr 2011 18:22:02 +0000 (18:22 +0000)]
Add a description of access rules for the Schema object and lots of asserts
to verify that the access rules are followed.
FossilOrigin-Name:
ae8374af057b6e6546e9265148cfffe32fcb0849
dan [Mon, 4 Apr 2011 15:38:16 +0000 (15:38 +0000)]
Add the "--start=[permutation:][testfile]" option to tester.tcl. For starting quick.test or all.test at the nominated permutation and/or test file.
FossilOrigin-Name:
a97e8505f229e05bf97ef9edbe063a52b581f339
dan [Mon, 4 Apr 2011 14:05:39 +0000 (14:05 +0000)]
Merge test_syscall.c fix from the trunk.
FossilOrigin-Name:
1e1a23cc56563d512b28288256c34f05ea15b4aa
dan [Mon, 4 Apr 2011 14:03:58 +0000 (14:03 +0000)]
Have test_syscall.c include "sqliteInt.h". Otherwise the SQLITE_OS_UNIX symbol may not be defined correctly.
FossilOrigin-Name:
fda8fadd837e399d3fab7a9e6894617a5788d679
drh [Mon, 4 Apr 2011 13:40:53 +0000 (13:40 +0000)]
Rename sqlite3SchemaFree() to sqlite3SchemaClear() to more accurately reflect
its function.
FossilOrigin-Name:
71d7440023f67760d0bff4bd7459fe88bd226f30
drh [Mon, 4 Apr 2011 13:07:02 +0000 (13:07 +0000)]
Merge in the latest changes from trunk.
FossilOrigin-Name:
47b79c40cf07048f682c44bfef533d4764b20c4d
drh [Mon, 4 Apr 2011 12:29:20 +0000 (12:29 +0000)]
Move the expired-statement test for OP_Function until after all memory has
been freed. The test is still commented out, however.
FossilOrigin-Name:
425e3edb146c497817855dd741878709a25c8b98
dan [Mon, 4 Apr 2011 07:05:38 +0000 (07:05 +0000)]
Changes to oserror.test and syscall.test so that they work with the in-memory journal permutation test.
FossilOrigin-Name:
4e996f36c73c5e768a954394fcbbf5e17576c807
drh [Mon, 4 Apr 2011 03:27:16 +0000 (03:27 +0000)]
Suppress unused parameter warnings in sqlite3VdbeEnter() and related routines.
FossilOrigin-Name:
f8e98ab3062a6e56924a86e8f3204c30d0f3d906
drh [Mon, 4 Apr 2011 00:14:43 +0000 (00:14 +0000)]
Remove the BtreeMutexArray object - use the Vdbe.btreeMask field to accomplish
the same result. Add a generation counter to btree mutexes in order to assert
that mutexes are never temporarily dropped over a range of instructions in order
to do deadlock avoidance in some subroutine. Lock all btrees in any Vdbe
program that uses OP_ParseSchema.
FossilOrigin-Name:
d81708f7d1eee399bfe76f6b8dac950a85dc2582
drh [Sun, 3 Apr 2011 18:19:25 +0000 (18:19 +0000)]
Make sure that the constant 1 is cast to yDbType before shifting to create
an attached database mask. This check-in is a follow-up and fix to the
[
7aaf8772274422 ] change that increases the maximum number of attached databases
from 30 to 62.
FossilOrigin-Name:
e2a09ea73c76a0bec1e09d1fc11092517e3ebdf9
drh [Sun, 3 Apr 2011 02:41:00 +0000 (02:41 +0000)]
Fix typos in comments. No changes to code.
FossilOrigin-Name:
28c5f12e98655d5c6167b13e8a15085eca43dd5b
drh [Sat, 2 Apr 2011 20:08:10 +0000 (20:08 +0000)]
Merge in the latest changes from trunk.
FossilOrigin-Name:
0d99229a7a58da07748072326f6261c533c1958f
drh [Sat, 2 Apr 2011 20:01:02 +0000 (20:01 +0000)]
Change the name of the "tAttachMask" datatype to "yDbMask".
FossilOrigin-Name:
3d6f2e82358c0d8c0ca04e0da20b84fc65c3f7fa
dan [Sat, 2 Apr 2011 17:00:47 +0000 (17:00 +0000)]
Avoid returning SQLITE_NOTFOUND when the unix xSetSystemCall interface is invoked with NULL passed as the second argument, even if all the default system calls are already installed.
FossilOrigin-Name:
3b91eaaa0b3c25022332ba3d1a5651848fc5d84c
drh [Sat, 2 Apr 2011 16:50:25 +0000 (16:50 +0000)]
When resetting any non-TEMP schema, also reset the TEMP schema since it might
be holding references to the non-TEMP schema that just got reset.
FossilOrigin-Name:
211d5dde1f9c15048c65d1d700141aa7b2491011
drh [Sat, 2 Apr 2011 16:28:52 +0000 (16:28 +0000)]
Begin a series of changes designed to reduce the scope and frequency of
invalidating schemas. Design goals are that the internal schema should
never be deleted out from under a prepared statement that is running and
that all prepared statements should be expired if the schema is invalidated.
At the same time, minimize the number of schema invalidations. This change
merely revises the sqlite3ResetInternalSchema() function to use -1 as the
wildcard for "all" rather than 0, so that we can reset the main schema
independently of all the others.
FossilOrigin-Name:
6a8ad6e31e0d2b8a5ace38faf0efd805155ee5f3
dan [Sat, 2 Apr 2011 09:44:43 +0000 (09:44 +0000)]
Fix a race condition in OP_ParseSchema.
FossilOrigin-Name:
71a799b02a3b3cf2e12758dea29fd2465bbec3e1
dan [Sat, 2 Apr 2011 09:25:14 +0000 (09:25 +0000)]
Do not attempt to run tests that use the 'wholenumber' virtual table if the build does not support virtual tables.
FossilOrigin-Name:
20afd81a4cf4d23962ec841bbd375f36a5156fb6
dan [Sat, 2 Apr 2011 06:44:38 +0000 (06:44 +0000)]
Fix additional test cases so that they work with DEFAULT_AUTOVACUUM.
FossilOrigin-Name:
139bc5655ed1d0fd1b7ca86d05a998fcc5fbc18e
drh [Fri, 1 Apr 2011 23:49:44 +0000 (23:49 +0000)]
Add the "wholenumber" virtual table module to the test suite - useful in
populating tables with many rows of content prior to a test.
FossilOrigin-Name:
975dff155bd9db42f2b6855b24c861852bb7a201
drh [Fri, 1 Apr 2011 20:54:38 +0000 (20:54 +0000)]
Fix up the Makefile.in so that the configuration script works for
"make test".
FossilOrigin-Name:
2e03830c1e1b05f7b22f9fe553ae708b65a4e942
drh [Fri, 1 Apr 2011 20:47:27 +0000 (20:47 +0000)]
Merge the word-fuzzer branch into trunk.
FossilOrigin-Name:
f77609d44194ee8871b3fb281ea6b90a9182f69f
drh [Fri, 1 Apr 2011 20:28:31 +0000 (20:28 +0000)]
Add additional test data and documentation to the fuzzer virtual table.
FossilOrigin-Name:
a6a81d4fdafabba514e8f8e1958d6132b3850772
dan [Fri, 1 Apr 2011 19:14:40 +0000 (19:14 +0000)]
Changes to wal tests so that they work with DEFAULT_AUTOVACUUM defined.
FossilOrigin-Name:
b477852f82c1fddbda61fad83d55055ad8503dda
drh [Fri, 1 Apr 2011 18:39:24 +0000 (18:39 +0000)]
Merge the multiplexer enhancements back into the trunk.
FossilOrigin-Name:
2c125710cbf04198464d436b16e5ef37c5b219cf
drh [Fri, 1 Apr 2011 18:12:58 +0000 (18:12 +0000)]
Add a script that will break the amalgamation source file up into 4 or 5
smaller source files, each 32K lines or fewer, and a single "sqlite3-all.c"
source file that #includes the others.
FossilOrigin-Name:
5d34e64d4d2398aa9a54fd0a4f1de37ced7ea5dd
dan [Fri, 1 Apr 2011 17:53:19 +0000 (17:53 +0000)]
Change analyze7.test so that it works without SQLITE_ENABLE_STAT2 defined.
FossilOrigin-Name:
9415201c8a0b9b640f5997c5348c5df812e88230
dan [Fri, 1 Apr 2011 16:50:07 +0000 (16:50 +0000)]
When simulating an error in the close() system call, close the file descriptor anyway. Otherwise long running tests leak too many file-descriptors and crash.
FossilOrigin-Name:
81ddbf43366c18ebdd46558d6a0fbee2ce6a4c4e
dan [Fri, 1 Apr 2011 15:15:58 +0000 (15:15 +0000)]
Ensure that it is not possible to add a column to a system table using ALTER TABLE.
FossilOrigin-Name:
d9707ef8dcd29667b6d366897f6ad02c87aa0041
drh [Fri, 1 Apr 2011 14:26:14 +0000 (14:26 +0000)]
Merge the ANALYZE-index enhancement into trunk.
FossilOrigin-Name:
7e237aea22084416d02b89d5223de4e1ca76882d
shaneh [Fri, 1 Apr 2011 14:22:46 +0000 (14:22 +0000)]
Removed dependency on sqliteInt.h so that multiplex VFS shim can be compiled as loadable module.
FossilOrigin-Name:
718f1ad7df9115871ba6159012d3183183fc40a1
drh [Fri, 1 Apr 2011 14:04:36 +0000 (14:04 +0000)]
Test cases for ANALYZE-index.
FossilOrigin-Name:
365896cb0868fa476e3b4f5a965a1344a2914cc2
drh [Fri, 1 Apr 2011 13:29:29 +0000 (13:29 +0000)]
Move a variable declaration inside an #ifdef to avoid a compiler warning.
FossilOrigin-Name:
7a6d05dfbc36310683dd51a280e9283cef4f9056
dan [Fri, 1 Apr 2011 11:56:32 +0000 (11:56 +0000)]
In os_unix.c, do not return SQLITE_BUSY to SQLite following an error in fcntl(F_UNLCK), regardless of the value of errno.
FossilOrigin-Name:
ff6dfe6ed74f9ff1669b2bda41d61a01cd0a1bc6
dan [Fri, 1 Apr 2011 09:04:36 +0000 (09:04 +0000)]
Fix some problems in os_unix.c when compiled with ENABLE_LOCKING_STYLE on OSX. Also some minor issues with test scripts.
FossilOrigin-Name:
8088031bc949bd4efb5edf33bbd1bce5700fca56
drh [Fri, 1 Apr 2011 02:26:36 +0000 (02:26 +0000)]
Fix two compiler errors associated with non-standard compile-time options.
FossilOrigin-Name:
e3bf2d5ce4f87535e030a446e03d911f421805f7
drh [Fri, 1 Apr 2011 01:38:02 +0000 (01:38 +0000)]
Fix a compiler warning and an unreachable branch. Restore 100% branch test
coverage.
FossilOrigin-Name:
4dc148bb4cec5ecba167cdcb4959a4f0fa05a96f
shaneh [Thu, 31 Mar 2011 15:11:53 +0000 (15:11 +0000)]
Enable/disable support.
FossilOrigin-Name:
b3c6d9aa9e2124a2f2a1a5f9dbbd7db3b1d01a31
shaneh [Thu, 31 Mar 2011 13:14:12 +0000 (13:14 +0000)]
Tests and bug fixes for SELECT multiplex_control(op, val);
Add tests and fixes for SELECT multiplex_control(op, val);
FossilOrigin-Name:
fee9734c193a8bec9599e02e16938179e642bf5e