dan
|
4bcc4988f1
|
Add tests for different page sizes to wal.test. Including 64K pages.
FossilOrigin-Name: d95bcc052910cfd4848afe0d32f717506ad5a789
|
2010-08-16 19:23:02 +00:00 |
|
dan
|
994e940323
|
Add test cases designed to exercise all syntax diagram paths in lang_expr.html
FossilOrigin-Name: d4a26bb629bc739a4bca16b5a876199aa9ecda43
|
2010-08-16 18:26:30 +00:00 |
|
drh
|
6cef0cf7a9
|
Fix a typo in a comment in wal.c. No code changes.
FossilOrigin-Name: d854a3d41c68f785c909c159cd9ca2154c64001a
|
2010-08-16 16:31:43 +00:00 |
|
drh
|
7e9e70b170
|
Add ALWAYS() macros in wal.c to cover branches that are no longer reachable
following the pager refactoring.
FossilOrigin-Name: 24f24c927c77bb3bb4d26a23dd5d94f964db8033
|
2010-08-16 14:17:59 +00:00 |
|
drh
|
9b78f79183
|
Adjustments for better 64K page size handling.
FossilOrigin-Name: faf1974e2de321bfefb68b81d702ae69771933ef
|
2010-08-14 21:21:24 +00:00 |
|
dan
|
1afca9b74a
|
Add test case to e_expr.test.
FossilOrigin-Name: db9539f2ceabd3c5a3eb5d4701f80f4e7da9344d
|
2010-08-14 18:32:23 +00:00 |
|
drh
|
8fb8b53728
|
Change sqlite3PagerPagecount() to return void, since the return value was
always SQLITE_OK and was never used.
FossilOrigin-Name: 7dd78eb7974ec7c40af3fcf2b125ca5bc0766b5c
|
2010-08-14 17:12:04 +00:00 |
|
drh
|
5d433ce2ab
|
Minor simplifications to btree.c in support of full-coverage testing.
FossilOrigin-Name: 364df6c7735447cc2187923918a35bf62d82decc
|
2010-08-14 16:02:52 +00:00 |
|
drh
|
e5918c62e9
|
Tweaks to comments in pager.c. Fix two compiler warnings.
FossilOrigin-Name: 68a49f7fe382e4d36e1259cdeec956c942906ddb
|
2010-08-14 12:42:45 +00:00 |
|
dan
|
c7d6156d8e
|
Add test cases to e_expr.test.
FossilOrigin-Name: d8bbab78fa56b076dfafb36daa7d6ef0b07f9a44
|
2010-08-14 12:25:18 +00:00 |
|
dan
|
98530cac13
|
Test that it is possible to drop a trigger while there are active statements belonging to the same connection.
FossilOrigin-Name: d4ec61e2547200aa92a26c1f270682ed67edc241
|
2010-08-14 05:04:47 +00:00 |
|
dan
|
c29486a2c5
|
Add tests to test file e_expr.test.
FossilOrigin-Name: 3fd1059e25a8d0cccbb30fc55b03d172bd9eb9b7
|
2010-08-13 18:41:09 +00:00 |
|
dan
|
49ad330d67
|
Do not apply the flattening optimization if the sub-query is DISTINCT. Fix for [e4b8a2ba6e].
FossilOrigin-Name: 497aafd8ed6a636a8bd5fa2cad265a20593ee34f
|
2010-08-13 16:38:48 +00:00 |
|
dan
|
1879b088bd
|
If an error occurs in PagerSetPagesize(), set the output variable to the unmodified page-size before returning.
FossilOrigin-Name: 02def8f92588b8a45dff3976d1e7f9e3f0359b3b
|
2010-08-12 16:36:34 +00:00 |
|
dan
|
5653e4da36
|
Add coverage tests for pager.c.
FossilOrigin-Name: 228c5b16af80c22e97d9d4deb351e0d3f4523f89
|
2010-08-12 11:25:47 +00:00 |
|
drh
|
b2eced5de2
|
Increase the maximum page size from 32k to 64k.
FossilOrigin-Name: 45362437d491fbe0f033a67b398f8ba68cbf1b3b
|
2010-08-12 02:41:12 +00:00 |
|
dan
|
22b328b23c
|
Improve coverage of pager.c.
FossilOrigin-Name: 2fa05d01b6b11788a5b73d203fcac9d4a4ba9fd8
|
2010-08-11 18:56:45 +00:00 |
|
dan
|
036391f7f8
|
Update an r-tree extension test case to account for recent changes to the query planner. Also fix a comment in rtree.c.
FossilOrigin-Name: eaaca669a4afc83906806b22365b010c83bc3db8
|
2010-08-11 12:26:46 +00:00 |
|
dan
|
78f9b73189
|
Use sqlite3DbFree() instead of sqlite3_free() to free any error message reported by the parser layer while attempting to parse a CREATE TABLE statement passed to sqlite3_declare_vtab().
FossilOrigin-Name: 7c674aaba52b00a78babc1e1ece7e5b652b65039
|
2010-08-11 11:59:37 +00:00 |
|
dan
|
d47f0d78b9
|
Fixes to tcl test files so that they work in auto-vacuum mode.
FossilOrigin-Name: ea9eaf7480f6fbe2a37813508d1b730d45155966
|
2010-08-11 11:35:50 +00:00 |
|
drh
|
d56b121d10
|
Fix memory allocation in proxy locking so that it works with SQLITE_MEMDEBUG.
FossilOrigin-Name: f854cbe06355dd3455b8af4ad6366949c412434e
|
2010-08-11 06:14:15 +00:00 |
|
dan
|
216eaab282
|
Merge experimental changes into trunk.
FossilOrigin-Name: aa092ac928dc19bd356d25a1dfd3f432dc145ce6
|
2010-08-11 06:04:19 +00:00 |
|
dan
|
7e68423894
|
Fix a bug in pager.c causing it to omit the xSync() call required following a hot-journal rollback.
FossilOrigin-Name: 42ba43ac690dc800fb8b969ae257a79942918342
|
2010-08-10 15:46:06 +00:00 |
|
dan
|
c864912ad1
|
Add variable pager.dbHintSize, used to limit the number of calls made to the xFileControl(FCNTL_SIZE_HINT) method.
FossilOrigin-Name: eb3ac895bd92c880ac6acca58de8cf9643c2b5e4
|
2010-08-10 09:58:57 +00:00 |
|
dan
|
84612fec1c
|
Changes to debugging code in mutex_unix.c and mutex_w32.c to make an assert() statement threadsafe.
FossilOrigin-Name: e82e32bd431ccacd276df8241592eb5519d87122
|
2010-08-10 07:12:26 +00:00 |
|
dan
|
de5fd22f3d
|
Modify some comments in pager.c.
FossilOrigin-Name: 5662da6d4f648e5d07d7cbea6bbd92fa684c02c9
|
2010-08-09 19:17:29 +00:00 |
|
dan
|
5a26383ab7
|
Merge latest trunk changes with experimental branch.
FossilOrigin-Name: aecbd890327dc676d6c2366b07f3d2e636a4983e
|
2010-08-09 16:52:12 +00:00 |
|
dan
|
5198bead7a
|
Fix a memory leak in test_journal.c causing tests to fail.
FossilOrigin-Name: f229487cccc7514b2663e8e6e04798702c9cfb10
|
2010-08-09 16:12:51 +00:00 |
|
drh
|
9b8d02727a
|
Fix typos in comments. No functional changes to the code.
FossilOrigin-Name: 9cebaf2dca6dc35e489537fe7c55474e1029a98e
|
2010-08-09 15:44:21 +00:00 |
|
dan
|
ec561a351a
|
Change to tcl test infrastructure so that --malloctrace=1 works when sizeof(int)!=sizeof(void*).
FossilOrigin-Name: c3e771b3cf685f4237a2516ee7111849bf0ffb3f
|
2010-08-09 14:47:50 +00:00 |
|
drh
|
f053d5b6c7
|
Fix two comment typos that were reported on the mailing list.
FossilOrigin-Name: 88bf9016277c133dfbf4f4b2be0c35c9fe9fabd6
|
2010-08-09 14:26:32 +00:00 |
|
dan
|
007820d65d
|
Fix a problem causing the return code of an xSync call to be ignored in wal.c.
FossilOrigin-Name: f1b2b5f9c3a5561ea6108283ae08404106c3f8bc
|
2010-08-09 07:51:40 +00:00 |
|
dan
|
7a76197f40
|
In WAL mode, ignore any error returned by an xFileControl(FCNTL_SIZE_HINT) call. This matches the behaviour in rollback mode.
FossilOrigin-Name: 158a309737bd4cdc033cd504a6d0cc43c15b6e17
|
2010-08-09 07:07:37 +00:00 |
|
dan
|
73d66fdb22
|
Fix minor problems and update comments in pager.c.
FossilOrigin-Name: 92e456374b052aceff356d10317b5b94fcdeaa5c
|
2010-08-07 16:17:48 +00:00 |
|
dan
|
e5953ccdb2
|
Fix a problem wherein changing the journal-mode immediately after leaving exclusive-locking mode could lead to the database being unlocked without clearing the changeCountDone flag.
FossilOrigin-Name: 531abc808526d607768bf6f503268d4cc66ab169
|
2010-08-07 09:31:14 +00:00 |
|
dan
|
16f7720ede
|
Add test case 'cgt_pager_1', intended for use with callgrind to detect performance regression in the pager module, to threadtest3.c.
FossilOrigin-Name: b5d46f1ea08db2b88d2205bc283b9262ad970b55
|
2010-08-07 05:15:22 +00:00 |
|
drh
|
c78db070a3
|
Remove all vestiges of ctype.h from FTS3.
FossilOrigin-Name: b8b465ed2c56b23b50334680a2a940885b1ac530
|
2010-08-06 19:00:12 +00:00 |
|
dan
|
85d14ed238
|
Further enhancements to comments in pager.c.
FossilOrigin-Name: 876162c7e036af1cb447409b685afc72c0061a32
|
2010-08-06 17:18:00 +00:00 |
|
dan
|
4f7b8d6260
|
Fix some problems with running test scripts with the inmemory_journal permutation.
FossilOrigin-Name: 7bd8ba084e75bcd5c744e1d4a1812df3a4d91887
|
2010-08-06 14:37:13 +00:00 |
|
dan
|
5db5640185
|
Merge trunk changes into experimental branch.
FossilOrigin-Name: aef6698c732f3f9e46986f53e63ca2bdf5f7d208
|
2010-08-06 13:53:09 +00:00 |
|
dan
|
cb79e5137c
|
Do not run some tests in notify3.test with the inmemory_journal permutation. They do not pass as the tests assume that the database schema is not loaded until the first invocation of [db eval]. This is not true with the inmemory_journal permutation.
FossilOrigin-Name: 698fba826e40ce6414cf6c261441d68b174c1637
|
2010-08-06 13:50:07 +00:00 |
|
dan
|
de1ae34eed
|
Further updates to comments in pager.c.
FossilOrigin-Name: 5f4c17a33fd442d66c1bf75af9b21954f6906897
|
2010-08-06 12:00:27 +00:00 |
|
dan
|
dc1106148a
|
Modify test_journal.c to work with pre-allocated databases.
FossilOrigin-Name: 4894a5d21044b169f412fef095e689cb8a8575dc
|
2010-08-06 09:43:03 +00:00 |
|
dan
|
11f47a9b4e
|
Fix a bug to do with deleting the journal file when exiting exclusive-locking mode.
FossilOrigin-Name: 6217b607f0cd60383c6cb4ab0fe9da008f611244
|
2010-08-06 06:54:47 +00:00 |
|
drh
|
3bb9b93f1f
|
Change two automatic array variables into static constant arrays.
Update and reformat some comments for cleaner presentation.
FossilOrigin-Name: a7a15547cccb4aeb719aba19641f31390c316d8c
|
2010-08-06 02:10:00 +00:00 |
|
dan
|
54919f8238
|
Add comments describing UNKNOWN_LOCK to pager.c. Improve some other comments i the same file.
FossilOrigin-Name: 54eff6de9d8d87f33192c192ca91907c4c090988
|
2010-08-05 18:53:26 +00:00 |
|
dan
|
4557b92cdb
|
Merge trunk changes with experimental branch.
FossilOrigin-Name: acd26b8b746980c344db017a0e96dbd92c89acdf
|
2010-08-05 16:22:49 +00:00 |
|
dan
|
5761dbe4a3
|
Catch an error code that was not being propagated back to the caller.
FossilOrigin-Name: 800f496929fb0d45d16c573c5dca0197ac922e2b
|
2010-08-05 16:08:26 +00:00 |
|
dan
|
4e004aa6b9
|
Fixes for error handling with temp databases. And for errors that occur within OS locking primitives.
FossilOrigin-Name: f99a902f9b3d0bf6f607c4ba641b4096fbbef5d5
|
2010-08-05 15:30:22 +00:00 |
|
drh
|
f6171e9bae
|
Make the size of a Bitvec object 512 bytes on all platforms, instead of
having the size depend on the size of a pointer. This makes testing easier.
FossilOrigin-Name: ca479f3de2927ccc05dc76d10e40c00b8e0c88d1
|
2010-08-05 11:56:01 +00:00 |
|