danielk1977
94527a6d49
Prevent veryquick.test and all.test from running permutations.test directly. (CVS 5267)
...
FossilOrigin-Name: ae9e4c0e4d5639ff11f3fa23775a1118b39688c8
2008-06-21 19:20:13 +00:00
danielk1977
2dd6d809b6
Fix a bug in permutations.test causing the utf-16 tests to fail. (CVS 5266)
...
FossilOrigin-Name: 710621f373398748f31942f2ac9d1c857492538a
2008-06-21 19:10:27 +00:00
danielk1977
1077e3f7e0
Add test file permutations.test, which runs various other test files with sqlite configured in various ways. This adds a few new tests and replaces test files autovacuum_crash.test, autovacuum_ioerr.test, exclusive3.test, jrnlmode2.test, jrnlmode3.test, jrnlmode4.test, mutex2 and onefile.test. (CVS 5265)
...
FossilOrigin-Name: 0e9df3507bd30d320b7ccfeaf3e06e10938022e1
2008-06-21 18:07:37 +00:00
mihailim
1c4926557a
More documentation spellcheck and cleanup. No changes to code. (CVS 5264)
...
FossilOrigin-Name: 9ae03f5629fb47006ae2d8108dfab3956833d943
2008-06-21 18:02:16 +00:00
mihailim
efc8e8a67a
More documentation spellcheck and cleanup. No changes to code. (CVS 5263)
...
FossilOrigin-Name: 3edfc64f27ba50ba43b79435b3f5d273e3c29aff
2008-06-21 16:47:09 +00:00
mihailim
a3f64901f7
More documentation spellcheck and cleanup. No changes to code. (CVS 5262)
...
FossilOrigin-Name: 47b7b05e55d35450a14250a00468dfbcf4bf49bb
2008-06-21 13:35:56 +00:00
danielk1977
959e3a9b80
Remove mutex2.test. It will be replaced later today by permutations.test. (CVS 5261)
...
FossilOrigin-Name: 98a6a0a30f16cbc60c655663b5895429a34da0ba
2008-06-21 12:15:04 +00:00
mihailim
db4f2adf82
More documentation spellcheck and cleanup. No changes to code. (CVS 5260)
...
FossilOrigin-Name: 8c457fb08b93aa1aa9f62d0ec31755d74416e16b
2008-06-21 11:20:48 +00:00
danielk1977
4b9507a0f1
Fix a problem in the test suite that could cause a crash if using a pre-allocated block of memory for pages (the problem was that sqlite3_shutdown() was being called while there were still open database connections). (CVS 5259)
...
FossilOrigin-Name: 3d413e9b466a871650597407016131df4d07b3d2
2008-06-21 08:12:15 +00:00
mihailim
362cc83915
Documentation spellcheck and cleanup. No changes to code. (CVS 5258)
...
FossilOrigin-Name: 2904d26ba43b0ded5b43f696ba2d8cd19d4244de
2008-06-21 06:16:42 +00:00
drh
16ee60fff9
Add new Compare and Jump codes to the virtual machine. Use them in the
...
implementation of aggregate queries. (CVS 5257)
FossilOrigin-Name: 083113652ff8f69b18cf1611710fdbbe5fbd9fef
2008-06-20 18:13:25 +00:00
danielk1977
9324c8f280
Add a test to check that opening a second connection to a shared cache does not reset the cache size to its default value. (CVS 5256)
...
FossilOrigin-Name: 3546e245aaf5d75b9f52ffb3268da9bc26946396
2008-06-20 17:51:16 +00:00
drh
e00ee6eb37
Change the SRT_Subroutine mode into SRT_Coroutine. Use co-routines in
...
the INSERT processing logic. (CVS 5255)
FossilOrigin-Name: 6b9d92fc3f265ef75c9182e537812490bb818950
2008-06-20 15:24:01 +00:00
danielk1977
2d1d86fbbe
Add a mode to the sqlite3_test_control() interface to register hooks called at the beginning and end of "benign malloc failure" blocks. This allows malloc() failure testing to be done using public APIs only. (CVS 5254)
...
FossilOrigin-Name: 56c8af1452dfdc8da858a2411bd6f3663a8a9326
2008-06-20 14:59:51 +00:00
danielk1977
ef05f2dfe3
Move (almost all) malloc failure test logic from fault.c to test_malloc.c. (CVS 5253)
...
FossilOrigin-Name: 4ae21e3419ad7e69dd735ca45fdc5a2de93d1840
2008-06-20 11:05:37 +00:00
drh
af83758645
Patch to memsubsys1.test in order to avoid a segfault in tableapi.test. (CVS 5252)
...
FossilOrigin-Name: 62411a6e605ec50d8d61233d753cd2ad65c2218d
2008-06-20 00:03:21 +00:00
drh
3780b5de7e
Unset global TCL variables in the func.test script prior to use to avoid
...
conflicts from other scripts. (CVS 5251)
FossilOrigin-Name: 9b04e10f6c00c36652444206d1d8868a560eb56e
2008-06-19 18:39:11 +00:00
danielk1977
d09414cdd6
Move the malloc() failure simulation out of malloc.c and into a separate sqlite3_mem_methods interface. Still some related changes to come. (CVS 5250)
...
FossilOrigin-Name: d22cd2a59f472f4eaf80aa9f55fbff2514ca428d
2008-06-19 18:17:49 +00:00
drh
55b0cf00ad
Documentation and test-script updates. (CVS 5249)
...
FossilOrigin-Name: 68d4f7954108f5bf586c4706c8664d8333fb2230
2008-06-19 17:54:33 +00:00
drh
a418980be0
Fix some minor compile problems. (CVS 5248)
...
FossilOrigin-Name: 7d38da3eea9ce93f32e90fce0af5101e2cf12462
2008-06-19 16:07:07 +00:00
drh
d72a841467
Additional test cases for loadable extensions. (CVS 5247)
...
FossilOrigin-Name: 9d73a68c305db673d393db118b6a41241683a670
2008-06-19 15:44:00 +00:00
drh
8b6abedb6f
Add recent API additions to the loadable extension interface. (CVS 5246)
...
FossilOrigin-Name: 12ba27d94e3fb448f88b5efb43b35242fd893297
2008-06-19 15:06:24 +00:00
drh
c4b18b827d
Check in the missing status.c source file. (CVS 5245)
...
FossilOrigin-Name: 298113d4a707ecf59d5dfd8bca45bfe734fb9fbb
2008-06-19 13:20:01 +00:00
danielk1977
4a9d1f665f
Shuffle some of the mutex related documentation in sqlite.h.in to match the new sqlite3_mutex_methods based API. (CVS 5244)
...
FossilOrigin-Name: 9cd7f8669a59c6096331229df2e2ad87e628abab
2008-06-19 08:51:23 +00:00
drh
bb5a9c3eea
Add the sqlite3_next_stmt() interface, including test cases. (CVS 5243)
...
FossilOrigin-Name: 565a530896b40790287eeaad709edd51980fbddf
2008-06-19 02:52:25 +00:00
drh
8c4d6b97e0
Fix a bug in the noop-mutex implementation. (CVS 5242)
...
FossilOrigin-Name: eec9a54dc3554a00ea69fc8e26d205f30a3bcabd
2008-06-19 01:50:09 +00:00
drh
65bbf29ee3
Bug fixes: Plug a memory leak introduced by the previous check-in. Get
...
the amalgamation to the point where it will compile. (CVS 5241)
FossilOrigin-Name: 005f8eaef5ae05cef5c76f3afe299eaa2cf8af2f
2008-06-19 01:03:17 +00:00
drh
f714199054
Add some test logic to the new memory allocation subsystem. (Lots more needed.)
...
The test suite is currently indicating memory leaks, though it is unclear if
this is a true code problem or just an instrumentation problem. (CVS 5240)
FossilOrigin-Name: cb1f11cd9764cf0275e88e1f6342e366e5536bfd
2008-06-19 00:16:08 +00:00
pweilbacher
6a9773e884
fix OS/2 files to compile again (looking at Windows equivalents for guidance) (CVS 5239)
...
FossilOrigin-Name: 8b14a220f261b354e7d2d16dc3fe30c5d3d34143
2008-06-18 21:08:16 +00:00
danielk1977
d025174f0b
Remove public APIs sqlite3_mutex_init() and sqlite3_mutex_end(). This commit only changes the code, documentation is not updated yet. (CVS 5238)
...
FossilOrigin-Name: 42a2a8f49324e2e07b81fd08e24f636a2d98a961
2008-06-18 18:57:42 +00:00
drh
9ac3fe979f
Added support for scratch-memory lookaside allocations. Largely untested.
...
Added calls to sqlite3_initialize() within malloc APIs. (CVS 5237)
FossilOrigin-Name: 383a78601c70cd832c171344857038e345b9ae5c
2008-06-18 18:12:04 +00:00
danielk1977
bc10d7730c
Add a call to sqlite3_initialize() to sqlite3_mutex_alloc() (CVS 5236)
...
FossilOrigin-Name: 8b23b719440aca9fca7e8f409729c3318ff3f80c
2008-06-18 18:08:39 +00:00
danielk1977
01bf29966d
Fix a test case in mutex1.test that was failing when sqlite was compiled with SQLITE_THREADSAFE=0. (CVS 5235)
...
FossilOrigin-Name: d1a87c3bcc9a32918f1cf743f85cd1a71557220e
2008-06-18 17:59:03 +00:00
danielk1977
59f8c08ecc
Implement the 'CONFIG_SINGLETHREAD' and 'CONFIG_MULTITHREAD' configuration modes. (CVS 5234)
...
FossilOrigin-Name: 5059644c4bc5f6679afd939e0bc26080f42a9918
2008-06-18 17:09:10 +00:00
drh
a2baf3a2e5
Make sure aggregate functions can take any number of arguments up to the
...
limit imposed by SQLITE_LIMIT_FUNCTION_ARGS. Ticket #3179 . Modify
the group_concat() function to take an unlimited number of arguments in
order to facilitate testing this behavior. (CVS 5233)
FossilOrigin-Name: 70c6739f4e84b3433e14960346b54d0e9e0bb9c6
2008-06-18 15:34:09 +00:00
drh
56a40a8010
Add documentation on the sqlite3_mutex_methods object. (CVS 5232)
...
FossilOrigin-Name: c3c7bfc9db6774824be14a1394e1842716dce8ec
2008-06-18 13:47:03 +00:00
drh
335897970c
Added new configuration options to query the low-level malloc interface
...
and to provide memory buffers for scratch, page-cache, and heap memory
allocators. (CVS 5231)
FossilOrigin-Name: e36201a352f832c97c5c0fcb872c1f094cac03d2
2008-06-18 13:27:46 +00:00
danielk1977
1a9ed0b27a
Add some test infrastructure and cases for the new mutex api. (CVS 5230)
...
FossilOrigin-Name: 262baee9952b28afe5dc77eb7365ebb11a480906
2008-06-18 09:45:56 +00:00
drh
5f09d3e611
Remove mem3.c and mem5.c from the amalgamation for the time being, since
...
they do not currently work. We will add them back later once they are fixed. (CVS 5229)
FossilOrigin-Name: 39b4e1ff4e3db3278c35eff10bbabdf4d87793a4
2008-06-18 02:01:07 +00:00
danielk1977
b2e36222af
Add the SQLITE_CONFIG_MUTEX symbol for use with sqlite3_config(). (CVS 5228)
...
FossilOrigin-Name: af1835bb5f5e3fb78d782c7c287e20db169e883f
2008-06-17 18:57:49 +00:00
danielk1977
6d2ab0e431
Change the mutex interface to be pluggable. This is an incremental checkin, there are still changes to come. (CVS 5227)
...
FossilOrigin-Name: 597283637bcdc2398bf249b2bbc6ded47ad2de22
2008-06-17 17:21:18 +00:00
drh
facf030792
Add internal interfaces: PageMalloc/PageFree and ScratchMalloc/ScratchFree. (CVS 5226)
...
FossilOrigin-Name: 3e797d0ffe1af6f7512b3fb7b387418ac05671e0
2008-06-17 15:12:00 +00:00
drh
cdb7a0feb5
Do not allow a VACUUM to try to change the page_size on an encrypted database. (CVS 5225)
...
FossilOrigin-Name: d49e5020019093a5b8a4fbe09caeb84ecb538629
2008-06-17 01:03:25 +00:00
drh
9be071664d
Clean up obfuscated code in sqlite3_table_column_meta_data().
...
Be sure to invoke sqlite3_initialize() within sqlite3_mprintf(). (CVS 5224)
FossilOrigin-Name: bb4edb53964559fc1cd69700beb72ecc29b58f37
2008-06-16 20:51:15 +00:00
danielk1977
dfdf9844aa
Fix a recently introduced resource leak in test file incrblob2.test (forgot to close a blob handle). (CVS 5223)
...
FossilOrigin-Name: 88e1c6092e48c860950d3437f264785243bb67ed
2008-06-16 14:36:01 +00:00
danielk1977
99e925da51
Fix a problem with the incremental blob API. sqlite3_blob_open() was always reading the data for the leftmost column of the row that the opened blob was stored in. If this column happened to contain a (the) large blob, sqlite would make a large memory allocation to read the data into. Which defeats the purpose of using incremental blobs. (CVS 5222)
...
FossilOrigin-Name: 1b9478da2f421c1270e76297324fff8037d2f231
2008-06-16 14:19:57 +00:00
danielk1977
fce96308b1
Add a test to verify that IN(...) WHERE clause terms are not handled by virtual table implemetations. (CVS 5221)
...
FossilOrigin-Name: 85483c8fb3b45281ce07e84349841fc80e560b1f
2008-06-16 06:31:34 +00:00
drh
e5ae5735c0
Continuing work on the new memory allocation subsystem.
...
Added routines for temporary memory allocation. Right the btree
balance mechanism to only do one temporary allocation at a time. (CVS 5220)
FossilOrigin-Name: 65fe7b62cfe7d11cd667681a64c96fe7b2fe5685
2008-06-15 02:51:47 +00:00
drh
fec00eabb3
Continuing progress on the new memory allocation subsystem. Added the
...
sqlite3_mem_methods structure for defining new memory allocators at
run-time. (CVS 5219)
FossilOrigin-Name: f00305f4cd2f487f660f34a21c1c24a0b37c7275
2008-06-14 16:56:21 +00:00
drh
40257ffd0a
Progress toward implementation of sqlite3_config() and a rework of the
...
mutex and memory allocation subsystems. This is an incremental check-in. (CVS 5218)
FossilOrigin-Name: a03c5af115889f477e17187a198a7d2d40bc76bf
2008-06-13 18:24:27 +00:00