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
danielk1977
31fab4f30b
Updates to mem6.c allocator. (CVS 5473)
...
FossilOrigin-Name: 43a4cae2acea33d1a17c0037516e9c27fb7e8e91
2008-07-25 08:48:59 +00:00
drh
2abcd58f09
Reduce the size of the parser allocation. Add additional instrumentation
...
to mem2. speed1*.test uses scratch malloc. (CVS 5472)
FossilOrigin-Name: 599a9dea8fc97d0e7f09e67c9954de8cc1b8748e
2008-07-24 23:34:07 +00:00
danielk1977
fae8917633
Do not run capi3.test or capi3c.test when testing memsys6. (CVS 5469)
...
FossilOrigin-Name: e0a101117ca44f0cce555b5db667286729fd2ad4
2008-07-24 10:32:30 +00:00
danielk1977
8969718379
Add a mutex to mem6.c to make it threadsafe. (CVS 5468)
...
FossilOrigin-Name: 9b97ce60c63c8b8afa43496a97917afd5fc26c71
2008-07-24 10:11:27 +00:00
danielk1977
2d34081de9
Add mem6.c, a new allocator. More to come. (CVS 5467)
...
FossilOrigin-Name: 192bc192185a7b475ef9331e2a4a0dc68083ec03
2008-07-24 08:20:40 +00:00
drh
80cc85b3c2
Error messages from virtual tables store on the sqlite3_vtab->zErrMsg field
...
are reported back up to the application interface and memory is reclaimed. (CVS 5466)
FossilOrigin-Name: 4a9dd5e782a363e93d4705fa3671bc6cf0bb5a33
2008-07-23 21:07:25 +00:00
drh
9a1ec1e3ae
Remove stray breakpoints from test scripts. (CVS 5465)
...
FossilOrigin-Name: cb5e75dfa5c7048bd0994afac19846f70bfa7a4d
2008-07-23 20:28:13 +00:00
drh
4dc754d96d
Read the sqlite3_vtab.zErrMsg after each call to a virtual table
...
method and transfer any error into the database connection.
Fix the fts2.test and fts3.test scripts to that they return
silently rather than failing the test sequence if the appropriate
FTS implementation is unavailable. (CVS 5463)
FossilOrigin-Name: e2c6771d44f1b4fee16ef90e91c3498be2a7d2b1
2008-07-23 18:17:32 +00:00
shess
db94e39b07
Implement optimize() function.
...
Backports check-in (5417) from fts3. (CVS 5458)
FossilOrigin-Name: c16900dc7603cab30f8729b25361bc88bb37ae43
2008-07-22 23:49:44 +00:00
shess
08904673c8
Delete all fts2 index data the table becomes empty.
...
Backports check-in (5413) from fts3. (CVS 5457)
FossilOrigin-Name: 4c98179be258319f441ae4e123cf59af77e96409
2008-07-22 23:41:26 +00:00
shess
3d373110f0
fts2 functions for testing scripts.
...
Backports (5340) from fts3. (CVS 5456)
FossilOrigin-Name: 4e47394be9dfbf0f9309e55eb6c6a3a517ea2006
2008-07-22 23:32:27 +00:00
shess
b2822a2b5e
Changes fts2 to use only sqlite3_malloc() and not system malloc.
...
Backports (4554) and (4555) from fts3. (CVS 5454)
FossilOrigin-Name: ecf2dec66cb979cb7d8db3b7ce5c64cab57fe2bb
2008-07-22 22:57:54 +00:00
danielk1977
b27475ba75
To ensure SQLITE_THREADSAFE is always defined, have test_mutex.c include sqliteInt.h. (CVS 5443)
...
FossilOrigin-Name: d8be91e2d2737dcb0e82e6c8a6a3f4827bc98d63
2008-07-19 13:43:23 +00:00
drh
4a0611dd29
Fix SQLITE_OMIT_AUTOVACUUM so that it works again. Ticket #3228 . (CVS 5439)
...
FossilOrigin-Name: 3b2dd417f9dab3cae3ab3693629a65a2c90f00e9
2008-07-18 17:16:26 +00:00
drh
e54a62ad85
Make sure expression spans are set correctly for "x.*" expressions in
...
the result set of a SELECT. Ticket #3229 . (CVS 5438)
FossilOrigin-Name: 17a9984e7668be388c4042c070718a02b284a336
2008-07-18 17:03:52 +00:00
drh
137802cbeb
Make sure the auxiliary database connection is closed after every test. (CVS 5428)
...
FossilOrigin-Name: e60bb6a179c6e674db2b9362e2ccdefaa3bc17f4
2008-07-16 18:35:45 +00:00
drh
06a0a81c38
More improvements to the 64-bit integer conversion testing in func.test. (CVS 5427)
...
FossilOrigin-Name: 632bb3c73443606bd2c7a5eadf0f4b8971a2b41e
2008-07-16 18:20:09 +00:00
drh
01859b0b07
Fix a test in func.test so that it works on machines that lack long double. (CVS 5425)
...
FossilOrigin-Name: 8686959d4289dc0bf9e1c353b948f26cca5a9a65
2008-07-16 18:04:36 +00:00