drh
6cbda64d07
Correct handling of compound foreign key constraints that include the
...
integer primary key as one of the columns.
Ticket [ce7c133ea6cc9ccdc1]
FossilOrigin-Name: 53902f7d4a46aa70ecc5bf180a01ff888d52686a
2010-07-29 01:50:38 +00:00
drh
60a311785f
Fix the dbstatus.test script so that it works correctly on 64-bit machines.
...
FossilOrigin-Name: a3401d9ee540828f3efd26d89f6b771e0ecb2777
2010-07-28 18:51:26 +00:00
dan
76d5918243
Merge trunk changes into experimental branch.
...
FossilOrigin-Name: aa81900153a2762cb2ad41e6710c1f1e7dc8b41e
2010-07-28 18:35:50 +00:00
dan
bfcaec729c
Fix errors in wal3.test caused by recent modifications.
...
FossilOrigin-Name: 0714aeccd82d82686c074c1bb74ea794b7bfa3a3
2010-07-28 15:10:37 +00:00
dan
502019c8bb
Support FCNTL_CHUNK_SIZE on windows too.
...
FossilOrigin-Name: a038688c991435967b935946c2283707820bb5da
2010-07-28 14:26:17 +00:00
drh
cf4d38aaf0
Do not allow automatic indices for the RHS of IN expressions which are not
...
correlated subqueries. Ticket [8011086c85c6c404014c9]
FossilOrigin-Name: 267492d3a7eff7b7b24ed6bd6d6ff55148fe37f3
2010-07-28 02:53:36 +00:00
dan
eb8def8449
Merge trunk changes into experimental branch.
...
FossilOrigin-Name: 621824092d443425c420ba9010bbe1202fe99ea2
2010-07-27 18:36:37 +00:00
dan
6e09d69c92
Add experimental unix-only file-control to grow and truncate the database file by a configurable chunk size.
...
FossilOrigin-Name: 7cf0e851d4c5e826ea22ed08291b7c91d7b1abc7
2010-07-27 18:34:15 +00:00
drh
eafc43b156
Add the SQLITE_STATUS_MALLOC_COUNT option for sqlite3_status().
...
FossilOrigin-Name: 8f8e442b3af553753e25c304efa289b626e3a227
2010-07-26 18:43:40 +00:00
dan
111becfbc0
When calculating schema memory, use the actual allocated size of hash elements, not sizeof(HashElem). Also fix a bug in dbstatus.test
...
FossilOrigin-Name: e327ef37faec52ce99591266160be2ce2d577cc3
2010-07-26 15:57:01 +00:00
dan
ccd4ad3e6c
Add virtual table test cases to dbstatus.test.
...
FossilOrigin-Name: 72b84d066a4eac90a77142c3ea66ef3d21a1104e
2010-07-26 14:47:14 +00:00
drh
643f35e4a6
Update comments to better documentation the new memory measurement functions.
...
FossilOrigin-Name: 620bad035755449c4e6a762f01ef2b1d9e521c7c
2010-07-26 11:59:40 +00:00
dan
d46def77db
Experimental code to measure memory consumed by database schemas and prepared statements.
...
FossilOrigin-Name: 9aa30342f4de4eff630520ea8e07ad253d3f0877
2010-07-24 11:28:28 +00:00
dan
2949e4e8a0
Add a test case to shared.test. No changes to production code.
...
FossilOrigin-Name: bfb0dd3c2f7e1ffbdf236be4adc3e0d804ed5854
2010-07-23 15:55:31 +00:00
drh
8342e49f62
Enhance the LIKE/GLOB query optimization so that it works as long as there
...
is an index with the appropriate collating sequence and even if the default
collating sequence of the column is different.
Ticket [4711020446da7d93d99].
FossilOrigin-Name: 9f932655f9eb9fdab16d7deed98b7cad414e0ca6
2010-07-22 17:49:52 +00:00
dan
4be02b901c
Add test/threadtest3.c, containing multi-thread tests implemented in C.
...
FossilOrigin-Name: aad88cf54e9e55b757d2ece9e39d436e71dcaa9f
2010-07-22 15:44:06 +00:00
drh
93ee23cc03
Try to optimize LIKE and GLOB operators when RHS contains no wildcard.
...
Ticket [e090183531fc274747]
FossilOrigin-Name: 613a87d62fd1f8526d53136efae5adae91824bcf
2010-07-22 12:33:57 +00:00
dan
2d07f26078
Changes to stat.test so that it works with file-format 4.
...
FossilOrigin-Name: f87bb283615847764d24943695990564f02b939e
2010-07-19 12:05:33 +00:00
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
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
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
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
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
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
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
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
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
f2c0882baa
Changes to get crashsql() working on Windows.
...
FossilOrigin-Name: 8a5811ea80e8415f9ba6b1d9390ed723840402c3
2010-07-08 16:30:44 +00:00
shaneh
504b2514c2
Fix test case number issue in walcrash.test.
...
FossilOrigin-Name: 6a46e64168705a31d86d29a60025f138a42c5b79
2010-07-08 16:22:05 +00:00
dan
f0ab1f15de
Fix to lock5.test so that it runs with the inmemory_journal permutation on osx.
...
FossilOrigin-Name: 948bb54568b5eb26644db78e8cd62381bdc22bac
2010-07-08 14:59:01 +00:00
shaneh
caace9261a
Fixed a few tests in pagerfault.test so they work correctly on Windows.
...
FossilOrigin-Name: ffbdd954a05c003a213069e39ad0655e77983666
2010-07-08 13:33:47 +00:00
dan
cb35460330
Changes to test scripts so that the "inmemory_journal" permutation works with [ef126e775a].
...
FossilOrigin-Name: f553c8ed04b4b2df8ff4929e0754e3ffd1d01ba4
2010-07-08 09:44:42 +00:00
dan
8700b1e52d
Add tests to walmode.test.
...
FossilOrigin-Name: 5aa2bdb502d70ccbc249a6b38b8a07b91c4ccd26
2010-07-08 06:22:25 +00:00
shaneh
aa9ecebc2d
Fix issue in mallocI test script where db handle not released.
...
FossilOrigin-Name: dd59cea6c860ad11f1794f3689a60ca6dbfffea5
2010-07-07 20:00:04 +00:00
dan
9f4127d50a
Add further test cases to savepoint.test.
...
FossilOrigin-Name: f825205dbf3ebbfba0add86aa41f477281a13b0e
2010-07-07 18:38:35 +00:00
dan
ab7e8d85a9
When rolling back a savepoint, reset the changeCountDone flag.
...
FossilOrigin-Name: fb62f4e3a7ceaa60ff6af2196ccf35b48759307e
2010-07-07 17:53:51 +00:00
shaneh
100efa3f73
Fix test numbering issue in nan.test.
...
FossilOrigin-Name: 5bb1330fef559d47dc854089dedba45bf05db192
2010-07-07 16:20:38 +00:00