drh
df81a25abe
Fix obscure permutation test problems. (CVS 5611)
...
FossilOrigin-Name: aa92a1bec3d6bbcc59680ba13fed51ada9249d4c
2008-08-25 19:09:01 +00:00
drh
0a846f96ef
Fix bug in the premutation testing that was causing many permutations from
...
begin skipped. There are now 16 errors reported by the permutation test. (CVS 5610)
FossilOrigin-Name: 4ad096bda1fc5c7b66f71ff5b32a4085c9a40574
2008-08-25 17:23:29 +00:00
drh
f436620e3f
Additional coverage testing in the new name resolver module. (CVS 5608)
...
FossilOrigin-Name: 0d61960afd35721d6d07acd75288c20d2cd6fda1
2008-08-25 12:14:08 +00:00
danielk1977
8c20014a0a
If the sector size is greater than the database page size, SQLite journals all pages that lie within a sector before writing to any of them. This change ensure that a journal sync does not occur halfway through journalling the set of pages that belong to a single sector. (CVS 5605)
...
FossilOrigin-Name: 16f612d61e00938f29ecae4ebfe598be7a8709a8
2008-08-25 07:12:28 +00:00
danielk1977
06249db141
Do not incorrectly detect corruption when an auto-vacuum database is converted to a non-auto-vacuum database within a vacuum. Ticket #3332 . (CVS 5603)
...
FossilOrigin-Name: cb869946d68f2abbd1322fababbe4aa74a4e08aa
2008-08-23 16:17:55 +00:00
drh
9d8b3072ce
Enhanced test coverage. (CVS 5598)
...
FossilOrigin-Name: cc36b4e016a1f519ca81d591de3a551ee8aa6813
2008-08-22 16:29:51 +00:00
danielk1977
a858aa2e8c
When recycling a page, try to find one that does not require a call to xSync() on the journal file. Also simplify some of the mutex related things in pcache. (CVS 5597)
...
FossilOrigin-Name: 93dbc5427bebaa0b3d726731027caad3f70611c7
2008-08-22 16:22:17 +00:00
pweilbacher
e7c8a5c75d
fix some tests to take the right branch on OS/2 (hope I got the Tcl syntax right) (CVS 5593)
...
FossilOrigin-Name: 10e62d4700c99faf07140a8204d3cd81481206ac
2008-08-22 13:57:39 +00:00
drh
f388dc19e6
Add test case to verify that Ticket #3301 was fixed by (5569) (CVS 5590)
...
FossilOrigin-Name: 73b260686264a31f43211efb235e4e0121115a50
2008-08-22 12:46:45 +00:00
drh
2a5d825ea2
Allow the WHERE clause in an UPDATE or DELETE against a view with an
...
INSTEAD OF trigger to refer to the view by name. Ticket #3298 . (CVS 5589)
FossilOrigin-Name: 7360e5d1f37ed6672f336b625b3c90d060e0a020
2008-08-22 12:30:52 +00:00
aswift
831045dd33
Deferring file descriptor closing to avoid trashing locks when directly manipulating sqlite db file contents (causes errors on AFP testing) (CVS 5587)
...
FossilOrigin-Name: e28a2870b49509502529892ff8ddb9fcf3a27173
2008-08-22 00:25:52 +00:00
danielk1977
801880f66c
Fix soft-heap-limit related test suite failures. (CVS 5582)
...
FossilOrigin-Name: 2091d9a5260b1d7e27ff5ca93e60dae1e3b12081
2008-08-21 15:54:01 +00:00
drh
f0209f7410
Make sure "rowid" columns in views are named correctly. Ticket #3308 . (CVS 5580)
...
FossilOrigin-Name: 8593218c7c8016fbdbcc223db951751eaba9c0dd
2008-08-21 14:54:28 +00:00
drh
74073b6da8
Add test cases to verify that ticket #3314 has been fixed. (CVS 5579)
...
FossilOrigin-Name: b46267ff07f9b967bb7aee16b6d9dd8d0bd23f0c
2008-08-21 14:24:29 +00:00
drh
6a012f04d5
Reinsert an SCopy operation that was removed in (5523) because coverage
...
testing indicated that it was dead code. Ticket #3324 shows that the
code was not as dead as we thought it was. (CVS 5578)
FossilOrigin-Name: 6855711595b58d4b6fbaf9480720b788904d0e2d
2008-08-21 14:15:59 +00:00
danielk1977
67e3da7ad4
Fix the functionality associated with sqlite3_release_memory() and sqlite3_soft_heap_limit(). It is automatically disabled if the SQLITE_CONFIG_PAGECACHE option is used. (CVS 5576)
...
FossilOrigin-Name: d025866b09352b32a6d35b97144eaad2fafb7165
2008-08-21 12:19:44 +00:00
drh
7d10d5a6e1
Refactor the name resolution procedures in the code generator. (CVS 5569)
...
FossilOrigin-Name: daf730d1defa78fb8b80a78f9108ac35a13e09f6
2008-08-20 16:35:10 +00:00
danielk1977
260d8a6aec
When a "pragma main.table_info(...)" is issued, consider only tables from the main database, not the temp db. Ticket #3320 . (CVS 5568)
...
FossilOrigin-Name: d0cfbbbaeef7b8ce9f73c6cd58888989a2df5b1f
2008-08-20 16:34:24 +00:00
danielk1977
8c0a791a58
Add the pcache module from the experimental branch. Also change things so that most of the built-in SQL functions are kept in single static hash-table, rather than creating and populating a separate hash table for each open database connection. (CVS 5566)
...
FossilOrigin-Name: cb494e10d71852024647aaa254203579ad438ea9
2008-08-20 14:49:23 +00:00
drh
2b300d5d6f
Do not flatten the right term of a LEFT join. Ticket #3300 . (CVS 5565)
...
FossilOrigin-Name: 8947c72f93d0b79c8061a3bfd5ab595edfb155a5
2008-08-14 00:19:48 +00:00
drh
ec1fc80ca3
A partial fix for ticket #3292 . This fixes the original problem but there
...
are other similar problems lurking in the code still. (CVS 5561)
FossilOrigin-Name: 055f173ab1b6fb657bf817faa3a37335d8fa60d5
2008-08-13 14:07:40 +00:00
drh
ec444fc163
Make sure the lookaside test script saturates the lookaside buffer even
...
when SQLITE_DEBUG is off. Ticket #3289 (CVS 5560)
FossilOrigin-Name: d6aacc5dc7c06f97fb5faa3d85a8f2d8ab0dd554
2008-08-12 15:48:25 +00:00
drh
93ed56d9ea
Revise the initialization and shutdown logic so that it no longer keeps
...
a recursive mutex allocated for the whole interval but instead releases
the mutex as soon as possible. Do not reset status values upon initialization. (CVS 5559)
FossilOrigin-Name: 697fe7a3167c22a3232ce154e9d47cf75af613c4
2008-08-12 15:21:11 +00:00
drh
c456e57af7
Do not allow indexing of any table whose name begins with "sqlite_".
...
Ticket #3284 . Improve handling of databases with malformed schemas -
just in case somebody has actually indexed a system table. (CVS 5553)
FossilOrigin-Name: 0e1d8d14a153483e65bd0246d23db2b823a122d1
2008-08-11 18:44:58 +00:00
drh
e50135e26d
Add SQLITE_STATUS_PAGECACHE_SIZE and SQLITE_STATUS_SCRATCH_SIZE. (CVS 5537)
...
FossilOrigin-Name: c4e9b824062ba82a8db01cd82e3e681de1940208
2008-08-05 17:53:22 +00:00
drh
e9d1c720ee
Separate verbs of sqlite3_config() and sqlite3_db_config() into their
...
own namespaces. Allow SQLITE3_DBCONFIG_LOOKASIDE to specific an external
memory buffer. (CVS 5536)
FossilOrigin-Name: 5dd865da5e787c10ef4c9e96647724bfab9dea01
2008-08-04 20:13:26 +00:00
danielk1977
de3e41e304
Fix (make test) with SQLITE_OMIT_COMPOUND_SELECT. Ticket #3235 . (CVS 5530)
...
FossilOrigin-Name: 9ca975c8fdeaae7d5af8fe62e097d8d251362cfe
2008-08-04 03:51:24 +00:00
drh
e6a6464895
Test scripts revised to work when auto_vacuum defaults on. (CVS 5528)
...
FossilOrigin-Name: e63186b0b6defce9ce16b3c334887c1f5a0bfcf0
2008-08-02 20:09:36 +00:00
drh
701bb3b4f0
Additional coverage testing. Fix a segfault following OOM in
...
sqltie3_load_extension(). (CVS 5523)
FossilOrigin-Name: f1e44eb323f05495cbae25113aebcc50d16b40df
2008-08-02 03:50:39 +00:00
drh
c890fec362
Bring test coverage up to 99%. (CVS 5522)
...
FossilOrigin-Name: 2cd6bae80984126023bcf479e5f3db5eaa5c4134
2008-08-01 20:10:08 +00:00
drh
4cfb22f798
Fix problems in test scripts. Add new test cases to improve test coverage. (CVS 5521)
...
FossilOrigin-Name: b65f493c7519e8a5ee632a395b57d45269741dda
2008-08-01 18:47:01 +00:00
danielk1977
987a00e8b5
Also test that setting sqlite3_vtab.zErrMsg works from within the xRename method. (CVS 5520)
...
FossilOrigin-Name: 4f4a9ccae7d25b9856d1203f6b289d552c2b425e
2008-08-01 17:51:47 +00:00
danielk1977
3e3a84d32a
Test that virtual table methods xBestIndex, xOpen, xFilter, xNext, xColumn, xRowid, xUpdate, xSync and xBegin can all return error messages using the sqlite3_vtab.zErrMsg variable. (CVS 5519)
...
FossilOrigin-Name: 007359b770f225877880b11f4c5d97bb548e38ca
2008-08-01 17:37:40 +00:00
drh
6480aad473
Test cases for sqlite3_db_config() and sqlite3_db_status(). (CVS 5518)
...
FossilOrigin-Name: 6a6b94302acdfe6404b04bff1cc8d16c1ef69df9
2008-08-01 16:31:14 +00:00
drh
e2a7c6e04f
Add a permutation test case for running all OOM tests with lookaside
...
disabled. (CVS 5517)
FossilOrigin-Name: 3f70e03ae83d374f5f69770bd7a4b279584f7090
2008-08-01 15:06:30 +00:00
drh
129ed69ea2
Update the memsubsys1 test script to take into account the buffer size
...
changes of the previous check-in. (CVS 5513)
FossilOrigin-Name: d43ff7bb8fc59c54b85658aaeb3dd088a324276f
2008-07-31 17:20:58 +00:00
shane
8225f5ac55
Omit calls to test_get_table_printf() if SQLITE_OMIT_GET_TABLE defined. (CVS 5509)
...
FossilOrigin-Name: 524a4075ddaecb07469da717e8afebc91240616e
2008-07-31 02:05:04 +00:00
shane
2a5fc4d6f5
Omit calls to test_destructor16() if SQLITE_OMIT_UTF16 defined. (CVS 5508)
...
FossilOrigin-Name: 2d5cec53c2f31875d198d81ac4fd54e7066ea0ff
2008-07-31 01:47:11 +00:00
drh
5462624dc4
When opening a zero-size database on unix, write one byte into the file before
...
interrogating the inode number. This works around issues with msdos
filesystems mounted on OS-X. Ticket #3260 . (CVS 5504)
FossilOrigin-Name: a480a8845fb3b49967de0790b30e6250c824b9be
2008-07-30 17:28:04 +00:00
drh
61669b3824
Implicit string->numeric conversion should go to an integer value when
...
possible. Ticket #3257 . (CVS 5502)
FossilOrigin-Name: da0e4bff30a77f72ae283406b547401c2ebb42c5
2008-07-30 13:27:10 +00:00
drh
d63bd75987
Make sure everything is deallocated before calling sqlite3_shutdown().
...
Ticket #3259 . (CVS 5501)
FossilOrigin-Name: 4a6ee88697ddc28e0c7df1954d1526de18191827
2008-07-30 13:15:46 +00:00
shess
7fdb522caf
Backport http://www.sqlite.org/cvstrac/chngview?cn=5489 from fts3.
...
Re-used prepared statement from fts2 cursor. (CVS 5499)
FossilOrigin-Name: 02870ed21dae2601a656b2f30c3ca0041e9cb60f
2008-07-29 20:38:17 +00:00
shess
9eb7c2ad83
Add some simple tests to make sure that the different fulltextFilter
...
query paths are being exercised. (CVS 5498)
FossilOrigin-Name: ae96d960e6e31315d25c7e5c3fb8363ed1b35350
2008-07-29 20:24:46 +00:00
drh
5f4bcf15d1
Enhancements to the pagecache malloc test configuration. Changes to the
...
speed test scripts to use the new test enhancements. (CVS 5494)
FossilOrigin-Name: 0ce39c21f32958ae53c00dc8bbf8cdd453f2d90e
2008-07-29 14:29:06 +00:00
danielk1977
003c1ffa15
Add a missing "finish_test" to the end of misc5.test. (CVS 5491)
...
FossilOrigin-Name: 89216b166924e831dd6264dd60f8da42cef7deee
2008-07-29 10:26:45 +00:00
drh
633e6d57d9
Implement the "lookaside" memory allocation cache. Use of this cache makes
...
the speed1.test script run about 15% faster. Added new interfaces to
control the cache. (CVS 5488)
FossilOrigin-Name: e48f9697e9fea339e150ddc32940760027dd07d9
2008-07-28 19:34:53 +00:00
danielk1977
161546c7e5
Fix a case where database corruption was causing an invalid reference. (CVS 5484)
...
FossilOrigin-Name: 7aecabacf924ad8c1f9f4e707d0c56e433e3a434
2008-07-26 18:26:10 +00:00
drh
ec424a5be6
Add the capability to track the maximum depth of the LALR(1) parser stack
...
so that critical applications can check to see if they are getting close
to limits. (CVS 5481)
FossilOrigin-Name: ef0250f3dc769a4acd534f31fa06d90922d4145b
2008-07-25 15:39:03 +00:00
drh
1bb14aca96
Fix the corrupt7 tests to track changes in the integrity check error message. (CVS 5480)
...
FossilOrigin-Name: 22177dac2e3cd9acafe7fcc71674a675fdd098ff
2008-07-25 14:53:17 +00:00
drh
ebf1b467f7
Increase limits on memsubsys1 tests to accomodate the larger structure
...
sizes on 64-bit platforms. (CVS 5479)
FossilOrigin-Name: f7720f1bfcc6dcdd60002520e10f545a6f0eb126
2008-07-25 13:39:08 +00:00