dan
a69f7d5aa5
Re-introduce the prefix-search optimization of [feef1b15d6], which was lost in a reorganization of FTS3 code.
...
FossilOrigin-Name: d692434b4935e8e7858230af1c126b0be8203077
2010-07-19 11:16:36 +00:00
dan
bd0c001405
Enable previously failing tests in e_expr.test that pass following [3e5975aa3b].
...
FossilOrigin-Name: 3d59c54a39c4c3149bf01063a91c3db35ec84b31
2010-07-19 05:27:17 +00:00
drh
1dca1458cc
Fix a parser bug that was causing the relative precedence of LIKE and <
...
operators to be incorrect.
FossilOrigin-Name: 3e5975aa3bb9df9e1f954bcce99384e0f13cb453
2010-07-19 02:30:33 +00:00
drh
dd7e9dba97
Improvements to the formatting of parse.out file from Lemon. Add the -r option
...
to Lemon to disable the state sorting, making debugging easier.
FossilOrigin-Name: a2eaf8294f6d3fb39548987d632e934bb5d71cc9
2010-07-19 01:52:07 +00:00
drh
f5c4e0f12a
Add the -p option to lemon to cause conflicts resolved by precedence rules
...
to appear in the parse.out file.
FossilOrigin-Name: fb6a59b0a905ddea071948f9a527483a1b1b219f
2010-07-18 11:35:53 +00:00
dan
784141ea5c
Add new test file e_expr.test.
...
FossilOrigin-Name: cbcf8abbb2cb3e603cc3da45075f6b076e5cad56
2010-07-17 18:44:49 +00:00
dan
3757556873
Do not run journal3.test with the inmemory_journal permutation.
...
FossilOrigin-Name: e1d228e992fe8da1fc5aef95d9bc8be62c6b46c7
2010-07-17 09:27:31 +00:00
dan
250ea1ad3e
Fix a problem with wal4.test caused by changes in the previous checkin.
...
FossilOrigin-Name: 1218d3703ad23d01ce0d7cbcabdc9e0d864f8717
2010-07-16 11:10:25 +00:00
dan
304feffc3f
Fix a test script bug uncovered by [a121cd80c5] that was causing shared_err.test to fail.
...
FossilOrigin-Name: d7b63a4c9fdd2acdb5829224b6189e7f2f6bedb9
2010-07-16 10:39:54 +00:00
drh
8ab58665bc
Previous check-in [534aab837e] accidently reverted some
...
changes from [a121cd80c5]. This check-in restores those changes.
FossilOrigin-Name: abff795f38e33d778c8dd494a601bc029237da9e
2010-07-15 18:38:39 +00:00
drh
a4ced195db
Optionally support shared-memory in /dev/shm or other tmpfs directory
...
using an unsupported compile-time option.
FossilOrigin-Name: 534aab837e5a34fd58963ab2b505bfbb9da2e8ee
2010-07-15 18:32:40 +00:00
dan
1e5de5a13d
Changes to wal.c so that SQLite can read even if the WAL file is opened read-only, provided the wal-index (shm file) is opened read/write.
...
FossilOrigin-Name: 932d19da73c9673cdd4cc01289b17761c23d23cb
2010-07-15 18:20:53 +00:00
dan
7d4514a4e1
Handle the case where xShmMap returns SQLITE_BUSY.
...
FossilOrigin-Name: 75f5354876c4300a8e53fe551dc837dd383d1e38
2010-07-15 17:54:14 +00:00
dan
c74e4ef4c7
When creating a journal file on unix, attempt to create it with the same permissions as the associated database file.
...
FossilOrigin-Name: a121cd80c5ac94e5977bc3164d2500e0ea132fed
2010-07-15 14:59:37 +00:00
dan
473c1bf241
Change a comment inside a block of code in parse.y from C++ to C style.
...
FossilOrigin-Name: dea7d33b2d7d25280a31a2b9c1573f4292b81187
2010-07-15 11:14:21 +00:00
drh
f65bc9119c
Fix a typo in a comment in os_unix.c.
...
FossilOrigin-Name: e1e7312580a8b19825b0c52fa8af6c9382f99f22
2010-07-14 20:51:34 +00:00
drh
a7d2db175b
The expression list on the RHS of an IN operator can no longer be empty
...
because an empty expression list is now optimized out by changes in
check-in [c288ac644d0bf]. Therefore add ALWAYS() macros around tests
for the expression list being non-empty.
FossilOrigin-Name: fd130ae56c0e23f2d5b4a82f1a09e89ed7ae1e85
2010-07-14 20:23:52 +00:00
drh
ef5d9ec166
Additional test cases and evidence marks for the empty RHS bug on the IN
...
operator - ticket [80e031a00f45dca877]
FossilOrigin-Name: 6851c517ac7f80538aa5f3a1994fa1921c0ec3f4
2010-07-14 19:31:07 +00:00
drh
094430eb71
Make the result of an IN or NOT IN expression with an empty set on the
...
right-hand side always either false or true, respectively, even if the
left-hand side is NULL. Ticket [80e031a00f45dc]
FossilOrigin-Name: c288ac644d0bfda2b9bc204dc86df8e74d4f6843
2010-07-14 18:24:06 +00:00
dan
e84322e503
Fix an assert() failure in wal2.test caused by messing with the contents of shared memory.
...
FossilOrigin-Name: 9f452514d96ab8d424eadc55c283c53fe831476d
2010-07-14 18:10:02 +00:00
dan
50833e32c1
Test the libaries response to read-only or unreadable database, WAL and wal-index files. If a WAL file cannot be opened in read/write mode, return SQLITE_CANTOPEN to the caller.
...
FossilOrigin-Name: 45bb84c6283d803fc29077fdc2d06fa50ec06a59
2010-07-14 16:37:17 +00:00
dan
ddb0ac4b9f
On unix, try to create the *-wal and *-shm files with the same permissions as the associated database file.
...
FossilOrigin-Name: e5d180eed245437b61bfb257ee01e2571c93afe7
2010-07-14 14:48:58 +00:00
dan
9d08d640ac
Add tests to pagerfault.test.
...
FossilOrigin-Name: b092f2a74bdc77c1f90ad3b4448cb68a891ecf63
2010-07-14 08:20:35 +00:00
dan
c385793495
Test that a corrupted WAL hash-table does not put the library into an infinite loop.
...
FossilOrigin-Name: c73886ed7497c0daf798c3b02ca6f5a1c2addde3
2010-07-14 07:06:47 +00:00
dan
b31a6afad0
Fix a typo in the IS_BIG_INT macro used by coverage test instrumentation.
...
FossilOrigin-Name: 5314ca3928dab1c76fa4ec5dbe110e3212c95e9f
2010-07-14 06:20:26 +00:00
drh
5d4feffe7d
Fix the unix driver to return an I/O error if unlink fails for any reason
...
other than the file not existing in the first place.
FossilOrigin-Name: 90d73c66bfa880cdeb688b3016c8b1c58bfcf35f
2010-07-14 01:45:22 +00:00
drh
54e0536275
Remove the xShmOpen method from the VFS. Shared-memory is opened automatically
...
by a call to xShmMap. Rename the xShmClose method to xShmUnmap.
FossilOrigin-Name: 2b68e50268412599576c86ae70b830d0388cb35c
2010-07-14 00:22:36 +00:00
drh
e11fedc589
Change the name of the xShmClose VFS method to xShmUnmap, everywhere.
...
FossilOrigin-Name: c2d27cf51d33e6f38bab37008d39074051f75274
2010-07-14 00:14:30 +00:00
drh
6e1f482824
Tweaks to the new shared-memory interface design - mostly comment changes.
...
FossilOrigin-Name: 6336de7aa96a6e1e68cc123e5d5f485d790d95a2
2010-07-13 23:41:40 +00:00
dan
0c1736026a
Fix a typo in a comment in sqlite.h.in.
...
FossilOrigin-Name: 4a6c4b6605ddce59e586ab17024de5269191a823
2010-07-13 18:45:10 +00:00
dan
da9fe0c327
Changes so that the xShmOpen VFS method is no longer required. Its job can be done by the first call to xShmMap. Rename xShmClose to xShmUnmap.
...
FossilOrigin-Name: f4780bde62c6c19146d2723c101540b8db898d38
2010-07-13 18:44:03 +00:00
drh
2103245e75
Improved documentation for the SQLITE_ACCESS_* constants that are used
...
with the xAccess() method of the VFS.
FossilOrigin-Name: 3d4bb65f10ed0297f38e732ce57e5440cba8deef
2010-07-13 14:48:27 +00:00
dan
af6ea4e9f9
Add proposed interface change to sqlite.h.in. This commit breaks the build.
...
FossilOrigin-Name: 52577bb5e723d8de4fc609286666b581f8d9c746
2010-07-13 14:33:48 +00:00
dan
2acd4c6375
Fixes to the pcache10 and pcache90 permutations.
...
FossilOrigin-Name: 597d40fa529073123a50ae6afc762c59404f8f5f
2010-07-13 14:22:39 +00:00
dan
0cf408ff11
Fix problems with running the async.test script.
...
FossilOrigin-Name: 05ac2548652f3c9aa358289700b0b4c7fc22486d
2010-07-13 07:38:51 +00:00
shaneh
1f3e27b29e
Updates to comments and code organization to reflect changes in os_unix.c;
...
Updated winShmLock() with logic changes from unixShmLock();
Modified IO error returns in winShmMap() to match those in unixShmMap();
FossilOrigin-Name: b73fe2754b68af4c76a1788aa18b93359720d1f1
2010-07-12 20:46:33 +00:00
dan
6d3eb82bc7
Fix test_stat.c so that it does not cause compilation errors if SQLITE_OMIT_VIRTUALTABLE is defined.
...
FossilOrigin-Name: bf4fc0888705108aab997e1cb491fc7f9c64c443
2010-07-12 18:12:41 +00:00
drh
3a0f13ff83
Fix makefiles so that they build sqlite3_analyzer again. Tweaks to comments
...
in test_stat.c. Fix tclsqlite.c to build the sqlite3_analyzer again.
FossilOrigin-Name: e6cd15451d8c47bfc86d07565655920134b494fe
2010-07-12 16:47:48 +00:00
dan
d846c5e047
In the async-IO module, do not increment the open file-counter until after an "open file" event has been added to the event queue. Otherwise, an OOM may cause the system to increment the counter even though no file was successfully opened.
...
FossilOrigin-Name: 15a190dc5769beb53b89254543e744a964cd86ed
2010-07-12 12:22:29 +00:00
dan
599e9d21bb
Changes so that the space-analyzer script works with 3.7.0.
...
FossilOrigin-Name: 86159cb3f00a380dc55be3affb01c433618f0683
2010-07-12 08:39:37 +00:00
shaneh
c3b84830bd
Exclude a few more FTS modules from the "in memory" permutation test suite.
...
FossilOrigin-Name: 4e9d69cd5ac3cc4d12ccea3028cba73e3c3f2965
2010-07-09 19:32:28 +00:00
shaneh
decd09cbe5
Exclude fts3cov.test from the "in memory" permutation test suite to avoid a false positive.
...
FossilOrigin-Name: 6af6794cac5516f8cbc425cb8c73468ca371a1ad
2010-07-09 18:43:40 +00:00
shaneh
55897967cc
Fix warning under MSVC.
...
FossilOrigin-Name: 0c32c4bbdd74297767dcf4ec4295f9cc72875af0
2010-07-09 12:57:53 +00:00
drh
519426aaf8
Reformat WAL code for clearer presentation. Update comments for correctness.
...
Add checks to ensure that corruption in shared-memory does not result in
an infinite loop.
FossilOrigin-Name: 40eaada7ec45e70bdf64d060051f24c5c5e3faf3
2010-07-09 03:19:07 +00:00
drh
a485cccd0a
Add a test case to cover code that was left untested by the journal_mode
...
simplification.
FossilOrigin-Name: bcdddba4f011cf008d29918bcac59131007a8138
2010-07-08 19:19:51 +00:00
shaneh
afdc5fa5cc
Fix test case numbering in backup_malloc.test and issue when running under Windows.
...
FossilOrigin-Name: aef26438523bccf1ea2c19205cd05799e4c69a1f
2010-07-08 18:32:18 +00:00
drh
c6b2a0ff99
Change the journal_mode pragma to remove the "default journal mode" concept.
...
The journal_mode pragma only effects currently attached databases and does
not change the behavior of future attachments.
FossilOrigin-Name: e396184cd3bdb96e29ac33af5d1f631cac553341
2010-07-08 17:40:37 +00:00
shaneh
4677ddff7e
Merged experimental crashsql() into trunk.
...
FossilOrigin-Name: 01b575ff1aa512f34be78f9d67b6caaf825e5820
2010-07-08 16:50:08 +00:00
shaneh
f2c0882baa
Changes to get crashsql() working on Windows.
...
FossilOrigin-Name: 8a5811ea80e8415f9ba6b1d9390ed723840402c3
2010-07-08 16:30:44 +00:00
shaneh
ebffe41eaf
Fix warning in test fixture code.
...
FossilOrigin-Name: 0bfcf3bcd77acab48344dde87cecb01e877f1a19
2010-07-08 16:22:51 +00:00