]>
git.ipfire.org Git - thirdparty/sqlite.git/log
drh [Mon, 7 Jul 2008 19:52:09 +0000 (19:52 +0000)]
Make check-in (5356) compatible with builds that do not enable memory
management. Remove unnecessary code from main.c. Add out-of-memory
tests for sqlite3_complete16(). (CVS 5357)
FossilOrigin-Name:
28f8b6bfcc3e169f8a54a6681395f2c85bf99cab
danielk1977 [Mon, 7 Jul 2008 18:42:40 +0000 (18:42 +0000)]
Fix an error introduced by (5346). The list could become corrupted when the database was truncated. (CVS 5356)
FossilOrigin-Name:
fbd320ed27dc8910f5035b41171576b4a37cb8b9
danielk1977 [Mon, 7 Jul 2008 17:55:28 +0000 (17:55 +0000)]
Fix a problem in shared_err.test preventing it from running properly and add a test to corrupt2.test to cover another corruption detection case. (CVS 5355)
FossilOrigin-Name:
2dcd5287a0d71140baa23aae2ab3d95d78a5676d
drh [Mon, 7 Jul 2008 17:53:07 +0000 (17:53 +0000)]
When sqlite3_create_collation is called with an invalid encoding, return
SQLITE_MISUSE. (CVS 5354)
FossilOrigin-Name:
eae4105d8a162ba80ca6fde40ae24fdc6c3eccdf
danielk1977 [Mon, 7 Jul 2008 17:13:08 +0000 (17:13 +0000)]
Fix an error checked in as part of (5350). (CVS 5353)
FossilOrigin-Name:
acfb2b41ae66307ba80b6245aced9cc1d8092189
danielk1977 [Mon, 7 Jul 2008 17:04:22 +0000 (17:04 +0000)]
Another test case to test a specific kind of database corruption. (CVS 5352)
FossilOrigin-Name:
38e04d67635d49661f9b95338fc1cb8197bf0bc7
danielk1977 [Mon, 7 Jul 2008 15:39:11 +0000 (15:39 +0000)]
Add a test case to test corruption discovered as part of the ptrmapPut() routine. (CVS 5351)
FossilOrigin-Name:
cbb9536fc4fb2419e0eb6f3a32c67eeb7a73da82
danielk1977 [Mon, 7 Jul 2008 14:56:56 +0000 (14:56 +0000)]
Test a couple of specific malloc() failures that were not tested before. (CVS 5350)
FossilOrigin-Name:
b96bcaa197519b5be89e1f6a1579f0e36fe2b644
drh [Mon, 7 Jul 2008 14:50:14 +0000 (14:50 +0000)]
Additional test cases added on the sqlite3_create_function() interface. (CVS 5349)
FossilOrigin-Name:
4e941f3d43556d8a503bb96e8a74451de36d243e
drh [Mon, 7 Jul 2008 13:31:58 +0000 (13:31 +0000)]
Add the vfs_unregister_all and vfs_reregister_all test commands. Use them
to test the sqlite3_sleep() interface when no VFSes are registered. (CVS 5348)
FossilOrigin-Name:
024d439299478062b6efdb63adce85b251af18ce
drh [Mon, 7 Jul 2008 12:44:58 +0000 (12:44 +0000)]
Fix a comment in alter.c. No changes to code. (CVS 5347)
FossilOrigin-Name:
3e558acd5eb8aa5ef4681e62284af5c017a24a65
danielk1977 [Mon, 7 Jul 2008 11:18:27 +0000 (11:18 +0000)]
Make the Pager.pAll linked-list doubly linked when ENABLE_MEMORY_MANAGEMENT is defined. This is used to speed up sqlite3_release_memory(). (CVS 5346)
FossilOrigin-Name:
71d699de366fc9c97d4a5122e2bf754310b9b34a
drh [Sun, 6 Jul 2008 00:21:35 +0000 (00:21 +0000)]
Fail to build if the -ffast-math option is specified in GCC.
Ticket #3202. (CVS 5345)
FossilOrigin-Name:
aa5be9ee935ae2a45d78405e26bba2385a52563a
drh [Fri, 4 Jul 2008 17:52:42 +0000 (17:52 +0000)]
Fix a bug in btree.c that caused it to report a database as being
corrupt if it used one of the last 6 slots in a freelist trunk page.
Continue to never use those last 6 slots so that databases from newer
versions are still readable with older versions. (CVS 5344)
FossilOrigin-Name:
b8ff6b0a3dc2ccc51519c764a092822968a09b10
danielk1977 [Fri, 4 Jul 2008 10:56:07 +0000 (10:56 +0000)]
Fix for explicitly inserting a NULL value into the rowid column of a virtual table. (CVS 5343)
FossilOrigin-Name:
a7f3b431669f7392a6acba8cd8f3fa5297a916b5
danielk1977 [Fri, 4 Jul 2008 09:41:39 +0000 (09:41 +0000)]
Remove redundant code from sqlite3GetTempReg(). (CVS 5342)
FossilOrigin-Name:
212d05d38c8126f99c028c5ab021b219487fa01e
danielk1977 [Fri, 4 Jul 2008 09:15:11 +0000 (09:15 +0000)]
Remove references to temporary registers from the compiler column-cache when such registers are released. Fix for #3201. (CVS 5341)
FossilOrigin-Name:
f099d6773a837dbe4ba85a8fda818e2d9466e743
shess [Thu, 3 Jul 2008 19:53:21 +0000 (19:53 +0000)]
fts3 functions for testing scripts. These are a first step towards
being able to write test script which verify that fts3 is internally
building indices in the expected way. Both new functions are only
defined if fts3.c is compiled with SQLITE_TEST defined, as when
building testfixture. These functions are not intended to be part of
the exposed fts3 API.
dump_terms() generates a TEXT result of all the terms in the index (or
a specified segment), sorted and joined with spaces.
dump_doclist() generates a TEXT representation of the doclist
associated with a given term in the index (or a specified segment). (CVS 5340)
FossilOrigin-Name:
a48e3d95f7a656285e959cef595cbe6d53428ad9
danielk1977 [Wed, 2 Jul 2008 16:10:45 +0000 (16:10 +0000)]
Fix a memory leak that can occur following a malloc failure. (CVS 5339)
FossilOrigin-Name:
cec4eba1a105396c5fd5d2b664456f6d6be3f215
danielk1977 [Wed, 2 Jul 2008 13:13:51 +0000 (13:13 +0000)]
Call the authorizer callback the same number of times whether or not the query flattening occurs. (CVS 5338)
FossilOrigin-Name:
8b88b64bb37df4e38cbfe31a14c219688b26e2af
danielk1977 [Tue, 1 Jul 2008 18:26:49 +0000 (18:26 +0000)]
Fix errors in in.test. Also add a few tests to selectB.test. (CVS 5337)
FossilOrigin-Name:
8f9d1abb315a3d4aa3a580fd5cf3ae572cc330f4
danielk1977 [Tue, 1 Jul 2008 17:39:27 +0000 (17:39 +0000)]
Fix another memory leak related to UNION ALL and sub-selects. (CVS 5336)
FossilOrigin-Name:
56109b9a1f600ab3f16769aba0d47dcf782bbc95
drh [Tue, 1 Jul 2008 17:13:57 +0000 (17:13 +0000)]
In lemon: coalesce identical destructors. (CVS 5335)
FossilOrigin-Name:
3447086cd3f6e9b89a8cf61afcf4715977bbf4cd
drh [Tue, 1 Jul 2008 16:34:49 +0000 (16:34 +0000)]
In Lemon, if a non-terminal has the same type as a terminal, then reuse the
terminal type in the YYMINORTYPE union for the non-terminal. This gives
better table compression. (CVS 5334)
FossilOrigin-Name:
5c9cc22cd8e9bec3d8622d2c354423281f2db0fb
danielk1977 [Tue, 1 Jul 2008 16:05:25 +0000 (16:05 +0000)]
Fix a memory leak to do with the recent UNION ALL sub-select optimization. (CVS 5333)
FossilOrigin-Name:
6ee71f4ddb4fa934f58c87dad2d30560af2e55d7
danielk1977 [Tue, 1 Jul 2008 14:39:35 +0000 (14:39 +0000)]
Fix a problem with LIMIT and OFFSET clauses on the parent query when optimizing a UNION ALL sub-select. (CVS 5332)
FossilOrigin-Name:
a79786a961dba8f4ffaddbe55e6467c14b12f7d6
danielk1977 [Tue, 1 Jul 2008 14:09:13 +0000 (14:09 +0000)]
Optimize sub-selects and views that use UNION ALL. This optimization isn't very well tested yet. (CVS 5331)
FossilOrigin-Name:
3ef468e7046b2091b5b6880fe19261ef1ee2887b
danielk1977 [Mon, 30 Jun 2008 18:12:28 +0000 (18:12 +0000)]
Call the query flattener while processing the parent query. Previously, it was called while processing the sub-queries. (CVS 5330)
FossilOrigin-Name:
6fcb3bffe26ae1c21c72ce9019f1db1c118094a4
danielk1977 [Mon, 30 Jun 2008 15:09:29 +0000 (15:09 +0000)]
Changes to loadext.test so that it works on osx as well as linux. (CVS 5329)
FossilOrigin-Name:
189cd85413a2e00696752bb82e7a442e86e621ac
danielk1977 [Mon, 30 Jun 2008 10:16:04 +0000 (10:16 +0000)]
Fix a malloc() failure related problem in os_unix.c. (CVS 5328)
FossilOrigin-Name:
ba8819a6f3dbc45d88346789de42971aacc0d246
danielk1977 [Mon, 30 Jun 2008 07:53:09 +0000 (07:53 +0000)]
Add a couple of tests to see if the new compound select optimizations work when the compound select is hidden inside a view. (CVS 5327)
FossilOrigin-Name:
1a711249c25aafbaf08057ffdcbb9cf2f872f13d
danielk1977 [Sat, 28 Jun 2008 15:33:24 +0000 (15:33 +0000)]
Remove an assert() that was failing if there were any open incremental blob handles when a statement transaction was rolled back. (CVS 5326)
FossilOrigin-Name:
f66491ab2ba3645d4e44e33ec6fa0ab94b2989be
mihailim [Sat, 28 Jun 2008 11:29:22 +0000 (11:29 +0000)]
Added reminder message to terminate SQL statements with a semicolon on shell startup. This closes #3099. (CVS 5325)
FossilOrigin-Name:
0ab0b030dea03ec6693358b733329328828cf802
danielk1977 [Sat, 28 Jun 2008 11:23:00 +0000 (11:23 +0000)]
Rearrange some ENABLE_LOCKING_STYLE related code in os_unix.c. (CVS 5324)
FossilOrigin-Name:
f70d552bcd0df884eea2e2272bae558d35fc8845
mihailim [Fri, 27 Jun 2008 18:59:44 +0000 (18:59 +0000)]
Changed copy-paste error in comment. Fixes #3193. (CVS 5323)
FossilOrigin-Name:
00eee53e8626591c4a0c61fe35735ec95ab3ef72
drh [Fri, 27 Jun 2008 14:51:52 +0000 (14:51 +0000)]
Documentation tweaks. (CVS 5322)
FossilOrigin-Name:
fcbd39344c0bf3a734bab6606d3988810b69b7d5
danielk1977 [Fri, 27 Jun 2008 14:05:24 +0000 (14:05 +0000)]
Fix mem3.c (broken by (5320)). (CVS 5321)
FossilOrigin-Name:
fef90a21aea11f15371d3fcf44548d786dd8819b
danielk1977 [Fri, 27 Jun 2008 13:27:03 +0000 (13:27 +0000)]
Change mem5.c so that the minimum allocation size is runtime configurable. (CVS 5320)
FossilOrigin-Name:
4f95f4cdf77e134fab42148e10198c7b008d4ae6
drh [Fri, 27 Jun 2008 00:52:45 +0000 (00:52 +0000)]
Remove unused variable. Fix a compiler warning. (CVS 5319)
FossilOrigin-Name:
0b01ec5cf7725a02d4c12167df125cef578f6219
drh [Fri, 27 Jun 2008 00:47:28 +0000 (00:47 +0000)]
Tweaks to the IN expression code generator. Fix an an unrelated bug
in the compound SELECT code generator. (CVS 5318)
FossilOrigin-Name:
a4005782690f022e982df4873779a029b28b9306
drh [Thu, 26 Jun 2008 21:45:26 +0000 (21:45 +0000)]
Fix a bug introduced by check-in (5316). Add some VDBE comments to
the IN expression code generator. (CVS 5317)
FossilOrigin-Name:
1043a605e2dcad4b5222674efe392ee9915dc57d
drh [Thu, 26 Jun 2008 20:06:06 +0000 (20:06 +0000)]
Avoid generating unnecessary SCopy instructions with the RHS of an IN
operator is a list of values. (CVS 5316)
FossilOrigin-Name:
ec80474b1c157a29fb6978dd5575c396c57973b3
drh [Thu, 26 Jun 2008 18:16:05 +0000 (18:16 +0000)]
Documentation updates in sqlite.h.in. No changes to code. (CVS 5315)
FossilOrigin-Name:
168fd6f83e2c837e91d02fa49fff3fe2f9538928
danielk1977 [Thu, 26 Jun 2008 18:04:03 +0000 (18:04 +0000)]
Fix handling of "x IN (...)" and "x NOT IN (...)" expressions when the set contains an SQL NULL value. (CVS 5314)
FossilOrigin-Name:
d45a97be71fa61ab4a692bd807ab762130f7f5b9
drh [Thu, 26 Jun 2008 15:04:57 +0000 (15:04 +0000)]
Document the rules for when an sqlite3_blob object expires. (CVS 5313)
FossilOrigin-Name:
e1de2287fd9b067f687cb8b427786b878af6c5b7
danielk1977 [Thu, 26 Jun 2008 10:54:12 +0000 (10:54 +0000)]
Change the TEMP_STORE preprocessor symbol to SQLITE_TEMP_STORE. (CVS 5312)
FossilOrigin-Name:
1e3b8308021107d983d2152663f62b369cca091d
danielk1977 [Thu, 26 Jun 2008 10:41:19 +0000 (10:41 +0000)]
Change the OS_XXX pre-processor symbols to SQLITE_OS_XXX. Symbols "OS_UNIX", "OS_WIN", "OS_WINCE", "OS_OS2" and "OS_OTHER" are now "SQLITE_OS_UNIX", "SQLITE_OS_WIN", "SQLITE_OS_WINCE", "SQLITE_OS_OS2" and "SQLITE_OS_OTHER", respectively. (CVS 5311)
FossilOrigin-Name:
cdd4cf4ce2ab363ddc3f27c5e44896e17269a161
danielk1977 [Thu, 26 Jun 2008 08:29:34 +0000 (08:29 +0000)]
Fix a race condition in sqlite3_initialize(). (CVS 5310)
FossilOrigin-Name:
70b2ed2afcf1757d1c58f3a83dad4a5fb226ae63
drh [Thu, 26 Jun 2008 02:53:02 +0000 (02:53 +0000)]
Documentation updates. No changes to code. (CVS 5309)
FossilOrigin-Name:
cdc4e75a9f1e3c79ade92344cf32a4225222d44f
danielk1977 [Wed, 25 Jun 2008 17:54:53 +0000 (17:54 +0000)]
Change the makefiles so that "make test" now runs the veryquick.test script instead of quick.test. Also modify veryquick.test to reuse the code in quick.test. veryquick.test is now the same as quick.test except that it omits all testing related to malloc and IO error simulation. (CVS 5308)
FossilOrigin-Name:
8c65146ea0e77e8e31fffc467806b1edf91fb4db
danielk1977 [Wed, 25 Jun 2008 17:19:00 +0000 (17:19 +0000)]
Remove internal function sqlite3OsDefaultVfs(). The built-in VFS layers now register their VFS implementations by calling sqlite3_vfs_register() from within sqlite3_os_init(). (CVS 5307)
FossilOrigin-Name:
8fa33b79d7369ec5777fd9ad3349f0fa31b98fd6
danielk1977 [Wed, 25 Jun 2008 14:57:53 +0000 (14:57 +0000)]
Have mem3.c and mem5.c grab a mutex when required. Include them both in the amalgamation again. (CVS 5306)
FossilOrigin-Name:
9e3c95ff4048cd8e4c56acf7a8ebedc49621e9c7
drh [Wed, 25 Jun 2008 14:31:53 +0000 (14:31 +0000)]
Test enhancements, especially to the new compound-SELECT merge logic. (CVS 5305)
FossilOrigin-Name:
edf7f518361902924105142a8c67b898ba7d532f
danielk1977 [Wed, 25 Jun 2008 14:26:07 +0000 (14:26 +0000)]
Fix the allocator in mem5.c so that it can be enabled at run time using the sqlite3_config() function. (CVS 5304)
FossilOrigin-Name:
30ff6bb0b2d1068d28e86ac90bb9f454e4537a2d
danielk1977 [Wed, 25 Jun 2008 10:34:34 +0000 (10:34 +0000)]
Fix up some details to do with the mem3.c (memsys3) allocator. If the library is compiled with SQLITE_ENABLE_MEMSYS3, the memsys3 allocator can be selected at runtime. (CVS 5303)
FossilOrigin-Name:
9c6c8e01b31abfe2bc8e650bbfdb504021dc7e59
mihailim [Wed, 25 Jun 2008 08:02:44 +0000 (08:02 +0000)]
Fixed typo to close #1731. (CVS 5302)
FossilOrigin-Name:
9902be8d66453d3f4cfdc7f81a4ebe9bc6729204
drh [Wed, 25 Jun 2008 02:47:57 +0000 (02:47 +0000)]
If a unique index covers any prefix of the ORDER BY clause then let it
satisfy the ORDER BY clause. (CVS 5301)
FossilOrigin-Name:
e53403b6d742be83c5b130ed6cef4035d081d613
drh [Wed, 25 Jun 2008 02:22:32 +0000 (02:22 +0000)]
Add new test script for compound select statements. (CVS 5300)
FossilOrigin-Name:
a193b1612e7ccd1c8f6136ece8d4768fccfe43fe
drh [Wed, 25 Jun 2008 00:12:41 +0000 (00:12 +0000)]
The compound-select merge optimization passes quick.test with no errors. (CVS 5299)
FossilOrigin-Name:
8bbfa97837a74ef0514e0c92ea2a6576f02cc361
pweilbacher [Tue, 24 Jun 2008 22:50:06 +0000 (22:50 +0000)]
OS/2 fixes for pre-C99 compilers and a return code correction in os2Access(). (CVS 5298)
FossilOrigin-Name:
3241a3bdd08f6abf3f1655152e296cc7ebe73bca
danielk1977 [Tue, 24 Jun 2008 19:02:55 +0000 (19:02 +0000)]
Modify the memory allocation system in mem3.c so to fit in with the new sqlite3_mem_methods scheme. At this point it only "mostly" works. (CVS 5297)
FossilOrigin-Name:
3febef548fb1c314336fe4bc359d72a4fe84e84e
danielk1977 [Tue, 24 Jun 2008 15:39:43 +0000 (15:39 +0000)]
Add a few extra tests to select9.test. (CVS 5296)
FossilOrigin-Name:
37b084fd7d7ad7f13fc9454fc25ca5aed48d4a31
drh [Tue, 24 Jun 2008 12:46:30 +0000 (12:46 +0000)]
Fix a problem in sqlite3ExprIsInteger() causing failures on select1-4.9.2.
Other bug fixes in compound-merge. The compound-merge is still disabled
in this check-in using "#if 0" due to additional bugs. (CVS 5295)
FossilOrigin-Name:
95037e6dbf4ed0ffd38790f3270dcaa4c1ae64ed
drh [Tue, 24 Jun 2008 12:28:03 +0000 (12:28 +0000)]
Remove a surplus "breakpoint" from select4.test. (CVS 5294)
FossilOrigin-Name:
3117238ce9cbfc36e2de929592decef86220e2a2
danielk1977 [Tue, 24 Jun 2008 11:21:20 +0000 (11:21 +0000)]
Add start of new test file "select9.test". To test LIMIT, OFFSET and ORDER BY on compound SELECT statements. (CVS 5293)
FossilOrigin-Name:
3a13e943d8fb4060fc1f0f827a156a730ee64be0
danielk1977 [Tue, 24 Jun 2008 09:52:39 +0000 (09:52 +0000)]
Fix a typo in the documentation for the sqlite3_bind_XXX() APIs. (CVS 5292)
FossilOrigin-Name:
839457f128c91a20aeae7ba570b4840792d41239
drh [Tue, 24 Jun 2008 00:32:35 +0000 (00:32 +0000)]
The compound-select merge optimization is mostly working with this check-in.
But there are still a few problems and so the optimization is disabled by
and "#if 0". This check-in is to synchronize with the other changes happening
in parallel. (CVS 5291)
FossilOrigin-Name:
e2ba324cbcac0ba35bbde50048677e085abb092b
pweilbacher [Mon, 23 Jun 2008 22:13:27 +0000 (22:13 +0000)]
Update OS/2 mutex implementation: make methods static and don't use them by the old names any more. Held/Notheld should be debug only. (CVS 5290)
FossilOrigin-Name:
d92418ca502f5f58dc968668e11c42955a7b1e52
mihailim [Mon, 23 Jun 2008 21:26:05 +0000 (21:26 +0000)]
Reverted previous checkin (on second thought, changing case could break badly written homegrown parsers such as sometimes encountered in embedded firmware.) (CVS 5289)
FossilOrigin-Name:
bf2e283d6fd40cabe55864b06b502524eb8a3b07
mihailim [Mon, 23 Jun 2008 21:18:10 +0000 (21:18 +0000)]
Changed HTML mode output to use lowercase tags making good on the XHTML output promise (the DTDs indeed mandate lowercase) and closing #450. (CVS 5288)
FossilOrigin-Name:
e07ed82caf5e4706ef564271830112d31e8cff7c
mihailim [Mon, 23 Jun 2008 20:55:20 +0000 (20:55 +0000)]
Added ldconfig invocations for postinstall and postuninstall. Updated package URL and description to match the current website. (CVS 5287)
FossilOrigin-Name:
66529ae3a21ea8c57d3f50cdf6e1e8929fd7e437
danielk1977 [Mon, 23 Jun 2008 18:49:43 +0000 (18:49 +0000)]
Fix a bug in handling queries on the sqlite_master table with an empty (0 bytes in size) database file. (CVS 5286)
FossilOrigin-Name:
f8238770bf41e17014c6de05363b759304fc80de
drh [Mon, 23 Jun 2008 17:56:47 +0000 (17:56 +0000)]
Additional tests added to capi3.test. (CVS 5285)
FossilOrigin-Name:
1fdab2c65b966f74bdf130c640ae56a0e811fb71
danielk1977 [Mon, 23 Jun 2008 17:44:18 +0000 (17:44 +0000)]
Fix a failure to report a failed malloc() within sqlite3_create_module(). (CVS 5284)
FossilOrigin-Name:
3ca7dab88e030cc945e0d358d7f53ddca35bc221
danielk1977 [Mon, 23 Jun 2008 16:53:46 +0000 (16:53 +0000)]
Fix a bug causing the pager-cache size to be reset to its default value whenever the database schema was reloaded. (CVS 5283)
FossilOrigin-Name:
6dbe67da5cb0141e011b4fdcc3964a20f68be843
danielk1977 [Mon, 23 Jun 2008 15:55:52 +0000 (15:55 +0000)]
Run (a subset of) the rtree tests from quick.test. (CVS 5282)
FossilOrigin-Name:
e872c78c72eb5976e72123485692a76409bd857f
danielk1977 [Mon, 23 Jun 2008 15:10:24 +0000 (15:10 +0000)]
Handle a real system malloc() failure in mem1.c. (CVS 5281)
FossilOrigin-Name:
006fd69bf56f05448fd9aa82d3b1cdcc175369ad
danielk1977 [Mon, 23 Jun 2008 14:40:18 +0000 (14:40 +0000)]
Remove a non-ansi construct from mem1.c - an assert() statement before the variable declarations in a function. (CVS 5280)
FossilOrigin-Name:
1de98da6b4c2039e5dc594cc9bfc7d49ae36697c
danielk1977 [Mon, 23 Jun 2008 14:15:52 +0000 (14:15 +0000)]
Avoid passing "void(*)(void)" as an argument to va_arg(). Codewarrior doesn't like it. (CVS 5279)
FossilOrigin-Name:
edae76d6ff5918007c0a802a34e65412f8f0ebb6
danielk1977 [Mon, 23 Jun 2008 14:03:45 +0000 (14:03 +0000)]
Fix some codewarrior compilation problems. (CVS 5278)
FossilOrigin-Name:
e6ea8f87c102bd36ab0f2fbc8360fde49f4e3422
danielk1977 [Mon, 23 Jun 2008 13:57:21 +0000 (13:57 +0000)]
Fix a compilation problem with SQLITE_OMIT_VIRTUAL_TABLE is defined. (CVS 5277)
FossilOrigin-Name:
0421c09967a191fb62338eb8b1bd766be42f61cc
mihailim [Mon, 23 Jun 2008 11:23:14 +0000 (11:23 +0000)]
Fixed wrong type in sqlite3_create_collation16 declaration and definition (UTF-16 string had been passed as const char* instead of const void*) (CVS 5276)
FossilOrigin-Name:
4215e3e5ae3376bd46e5e12eec14b8209c164830
danielk1977 [Mon, 23 Jun 2008 11:11:35 +0000 (11:11 +0000)]
Correct comments above sqlite3_release_memory() and sqlite3_soft_heap_limit(). Ticket #3138. (CVS 5275)
FossilOrigin-Name:
3240446853a11f5a1e379d4841d0268873aad64d
danielk1977 [Mon, 23 Jun 2008 09:50:50 +0000 (09:50 +0000)]
Fix a bug whereby opening a connection to an existing shared-cache caused the cache-size (the value configured by "PRAGMA cache_size") to revert to its default value. (CVS 5274)
FossilOrigin-Name:
0492aa8ed3c35dd2cdfc69c9cb87e43ef0460826
mihailim [Sun, 22 Jun 2008 16:35:48 +0000 (16:35 +0000)]
Removed INVARIANTS sections in the experimental extension loading API that I should not have added in the first place. No changes to code. (CVS 5273)
FossilOrigin-Name:
e7610890b4df78af5bb8f3e8f8d05ef5cf36e186
drh [Sun, 22 Jun 2008 12:37:57 +0000 (12:37 +0000)]
Fix a bug in the KEYINFO handling within select.c. Change the OP_Move
opcode to take a count and to move multiple registers. Initial code for
the compound-select merge optimization is added but is incomplete
and is commented out. (CVS 5272)
FossilOrigin-Name:
663a590e3086145a57af7569d8f798b6b6a8b76c
mihailim [Sun, 22 Jun 2008 10:21:27 +0000 (10:21 +0000)]
Readded erroneously deleted {END} tag and doublechecked {(F,U,X)*}-{END} tag balancing. Minor documentation cleanup. No changes to code. (CVS 5271)
FossilOrigin-Name:
b55590501b5b5ada4e22d790e1a36b532de7deb7
mihailim [Sun, 22 Jun 2008 09:55:14 +0000 (09:55 +0000)]
More documentation spellcheck and cleanup. No changes to code. (CVS 5270)
FossilOrigin-Name:
3a88e3ded9c54c319b6c5b6c3d521752cb6dac6d
mihailim [Sun, 22 Jun 2008 08:58:50 +0000 (08:58 +0000)]
More documentation spellcheck and cleanup. No changes to code. (CVS 5269)
FossilOrigin-Name:
d96b9bcd10c3fe27a449e6ad3ab77c2187a06578
mihailim [Sat, 21 Jun 2008 20:11:17 +0000 (20:11 +0000)]
More documentation spellcheck and cleanup. No changes to code. (CVS 5268)
FossilOrigin-Name:
65edead166aafa8ca18b3aaa9eda89816239066a
danielk1977 [Sat, 21 Jun 2008 19:20:13 +0000 (19:20 +0000)]
Prevent veryquick.test and all.test from running permutations.test directly. (CVS 5267)
FossilOrigin-Name:
ae9e4c0e4d5639ff11f3fa23775a1118b39688c8
danielk1977 [Sat, 21 Jun 2008 19:10:27 +0000 (19:10 +0000)]
Fix a bug in permutations.test causing the utf-16 tests to fail. (CVS 5266)
FossilOrigin-Name:
710621f373398748f31942f2ac9d1c857492538a
danielk1977 [Sat, 21 Jun 2008 18:07:37 +0000 (18:07 +0000)]
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
mihailim [Sat, 21 Jun 2008 18:02:16 +0000 (18:02 +0000)]
More documentation spellcheck and cleanup. No changes to code. (CVS 5264)
FossilOrigin-Name:
9ae03f5629fb47006ae2d8108dfab3956833d943
mihailim [Sat, 21 Jun 2008 16:47:09 +0000 (16:47 +0000)]
More documentation spellcheck and cleanup. No changes to code. (CVS 5263)
FossilOrigin-Name:
3edfc64f27ba50ba43b79435b3f5d273e3c29aff
mihailim [Sat, 21 Jun 2008 13:35:56 +0000 (13:35 +0000)]
More documentation spellcheck and cleanup. No changes to code. (CVS 5262)
FossilOrigin-Name:
47b7b05e55d35450a14250a00468dfbcf4bf49bb
danielk1977 [Sat, 21 Jun 2008 12:15:04 +0000 (12:15 +0000)]
Remove mutex2.test. It will be replaced later today by permutations.test. (CVS 5261)
FossilOrigin-Name:
98a6a0a30f16cbc60c655663b5895429a34da0ba
mihailim [Sat, 21 Jun 2008 11:20:48 +0000 (11:20 +0000)]
More documentation spellcheck and cleanup. No changes to code. (CVS 5260)
FossilOrigin-Name:
8c457fb08b93aa1aa9f62d0ec31755d74416e16b
danielk1977 [Sat, 21 Jun 2008 08:12:15 +0000 (08:12 +0000)]
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
mihailim [Sat, 21 Jun 2008 06:16:42 +0000 (06:16 +0000)]
Documentation spellcheck and cleanup. No changes to code. (CVS 5258)
FossilOrigin-Name:
2904d26ba43b0ded5b43f696ba2d8cd19d4244de