Commit Graph

5243 Commits

Author SHA1 Message Date
drh
3c31fc23b1 Fix a bug introduced by check-in (5316). Add some VDBE comments to
the IN expression code generator. (CVS 5317)

FossilOrigin-Name: 1043a605e2dcad4b5222674efe392ee9915dc57d
2008-06-26 21:45:26 +00:00
drh
ecc31805da Avoid generating unnecessary SCopy instructions with the RHS of an IN
operator is a list of values. (CVS 5316)

FossilOrigin-Name: ec80474b1c157a29fb6978dd5575c396c57973b3
2008-06-26 20:06:06 +00:00
drh
4ead1482d8 Documentation updates in sqlite.h.in. No changes to code. (CVS 5315)
FossilOrigin-Name: 168fd6f83e2c837e91d02fa49fff3fe2f9538928
2008-06-26 18:16:05 +00:00
danielk1977
0cdc022e88 Fix handling of "x IN (...)" and "x NOT IN (...)" expressions when the set contains an SQL NULL value. (CVS 5314)
FossilOrigin-Name: d45a97be71fa61ab4a692bd807ab762130f7f5b9
2008-06-26 18:04:03 +00:00
drh
9de1b35189 Document the rules for when an sqlite3_blob object expires. (CVS 5313)
FossilOrigin-Name: e1de2287fd9b067f687cb8b427786b878af6c5b7
2008-06-26 15:04:57 +00:00
danielk1977
b06a0b67c4 Change the TEMP_STORE preprocessor symbol to SQLITE_TEMP_STORE. (CVS 5312)
FossilOrigin-Name: 1e3b8308021107d983d2152663f62b369cca091d
2008-06-26 10:54:12 +00:00
danielk1977
29bafeabcd 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
2008-06-26 10:41:19 +00:00
danielk1977
71bc31c68d Fix a race condition in sqlite3_initialize(). (CVS 5310)
FossilOrigin-Name: 70b2ed2afcf1757d1c58f3a83dad4a5fb226ae63
2008-06-26 08:29:34 +00:00
drh
4766b29d95 Documentation updates. No changes to code. (CVS 5309)
FossilOrigin-Name: cdc4e75a9f1e3c79ade92344cf32a4225222d44f
2008-06-26 02:53:02 +00:00
danielk1977
ff3c898d13 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
2008-06-25 17:54:53 +00:00
danielk1977
c0fa4c5f32 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
2008-06-25 17:19:00 +00:00
danielk1977
6b39c2e40b Have mem3.c and mem5.c grab a mutex when required. Include them both in the amalgamation again. (CVS 5306)
FossilOrigin-Name: 9e3c95ff4048cd8e4c56acf7a8ebedc49621e9c7
2008-06-25 14:57:53 +00:00
drh
3f994d06ff Test enhancements, especially to the new compound-SELECT merge logic. (CVS 5305)
FossilOrigin-Name: edf7f518361902924105142a8c67b898ba7d532f
2008-06-25 14:31:53 +00:00
danielk1977
c66c0e14a6 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
2008-06-25 14:26:07 +00:00
danielk1977
32155ef0ff 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
2008-06-25 10:34:34 +00:00
mihailim
29b13cc9d9 Fixed typo to close #1731. (CVS 5302)
FossilOrigin-Name: 9902be8d66453d3f4cfdc7f81a4ebe9bc6729204
2008-06-25 08:02:44 +00:00
drh
ff354e91ba 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
2008-06-25 02:47:57 +00:00
drh
fae37af17f Add new test script for compound select statements. (CVS 5300)
FossilOrigin-Name: a193b1612e7ccd1c8f6136ece8d4768fccfe43fe
2008-06-25 02:22:32 +00:00
drh
0acb7e4849 The compound-select merge optimization passes quick.test with no errors. (CVS 5299)
FossilOrigin-Name: 8bbfa97837a74ef0514e0c92ea2a6576f02cc361
2008-06-25 00:12:41 +00:00
pweilbacher
91ef8f45c4 OS/2 fixes for pre-C99 compilers and a return code correction in os2Access(). (CVS 5298)
FossilOrigin-Name: 3241a3bdd08f6abf3f1655152e296cc7ebe73bca
2008-06-24 22:50:06 +00:00
danielk1977
57e5ea9327 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
2008-06-24 19:02:55 +00:00
danielk1977
6fb6444c3e Add a few extra tests to select9.test. (CVS 5296)
FossilOrigin-Name: 37b084fd7d7ad7f13fc9454fc25ca5aed48d4a31
2008-06-24 15:39:43 +00:00
drh
f6e369a119 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
2008-06-24 12:46:30 +00:00
drh
398cf3d707 Remove a surplus "breakpoint" from select4.test. (CVS 5294)
FossilOrigin-Name: 3117238ce9cbfc36e2de929592decef86220e2a2
2008-06-24 12:28:03 +00:00
danielk1977
9afe68477d Add start of new test file "select9.test". To test LIMIT, OFFSET and ORDER BY on compound SELECT statements. (CVS 5293)
FossilOrigin-Name: 3a13e943d8fb4060fc1f0f827a156a730ee64be0
2008-06-24 11:21:20 +00:00
danielk1977
c001fc3c24 Fix a typo in the documentation for the sqlite3_bind_XXX() APIs. (CVS 5292)
FossilOrigin-Name: 839457f128c91a20aeae7ba570b4840792d41239
2008-06-24 09:52:39 +00:00
drh
92b01d53c2 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
2008-06-24 00:32:35 +00:00
pweilbacher
261696416b 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
2008-06-23 22:13:27 +00:00
mihailim
57c591aa92 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
2008-06-23 21:26:05 +00:00
mihailim
d3d259dcb7 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
2008-06-23 21:18:10 +00:00
mihailim
bfccf423b5 Added ldconfig invocations for postinstall and postuninstall. Updated package URL and description to match the current website. (CVS 5287)
FossilOrigin-Name: 66529ae3a21ea8c57d3f50cdf6e1e8929fd7e437
2008-06-23 20:55:20 +00:00
danielk1977
f7b9d66fd4 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
2008-06-23 18:49:43 +00:00
drh
52fd7beaba Additional tests added to capi3.test. (CVS 5285)
FossilOrigin-Name: 1fdab2c65b966f74bdf130c640ae56a0e811fb71
2008-06-23 17:56:47 +00:00
danielk1977
27a430cc84 Fix a failure to report a failed malloc() within sqlite3_create_module(). (CVS 5284)
FossilOrigin-Name: 3ca7dab88e030cc945e0d358d7f53ddca35bc221
2008-06-23 17:44:18 +00:00
danielk1977
8cf6c554c0 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
2008-06-23 16:53:46 +00:00
danielk1977
b13dee9900 Run (a subset of) the rtree tests from quick.test. (CVS 5282)
FossilOrigin-Name: e872c78c72eb5976e72123485692a76409bd857f
2008-06-23 15:55:52 +00:00
danielk1977
950292fbb8 Handle a real system malloc() failure in mem1.c. (CVS 5281)
FossilOrigin-Name: 006fd69bf56f05448fd9aa82d3b1cdcc175369ad
2008-06-23 15:10:24 +00:00
danielk1977
834a5aab16 Remove a non-ansi construct from mem1.c - an assert() statement before the variable declarations in a function. (CVS 5280)
FossilOrigin-Name: 1de98da6b4c2039e5dc594cc9bfc7d49ae36697c
2008-06-23 14:40:18 +00:00
danielk1977
ca02679635 Avoid passing "void(*)(void)" as an argument to va_arg(). Codewarrior doesn't like it. (CVS 5279)
FossilOrigin-Name: edae76d6ff5918007c0a802a34e65412f8f0ebb6
2008-06-23 14:15:52 +00:00
danielk1977
867d05a019 Fix some codewarrior compilation problems. (CVS 5278)
FossilOrigin-Name: e6ea8f87c102bd36ab0f2fbc8360fde49f4e3422
2008-06-23 14:03:45 +00:00
danielk1977
5dfecba1a4 Fix a compilation problem with SQLITE_OMIT_VIRTUAL_TABLE is defined. (CVS 5277)
FossilOrigin-Name: 0421c09967a191fb62338eb8b1bd766be42f61cc
2008-06-23 13:57:21 +00:00
mihailim
bda2e62c55 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
2008-06-23 11:23:14 +00:00
danielk1977
8468024da8 Correct comments above sqlite3_release_memory() and sqlite3_soft_heap_limit(). Ticket #3138. (CVS 5275)
FossilOrigin-Name: 3240446853a11f5a1e379d4841d0268873aad64d
2008-06-23 11:11:35 +00:00
danielk1977
171bfed311 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
2008-06-23 09:50:50 +00:00
mihailim
421dfca16b 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
2008-06-22 16:35:48 +00:00
drh
b21e7c70f7 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
2008-06-22 12:37:57 +00:00
mihailim
04bcc00788 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
2008-06-22 10:21:27 +00:00
mihailim
1519422672 More documentation spellcheck and cleanup. No changes to code. (CVS 5270)
FossilOrigin-Name: 3a88e3ded9c54c319b6c5b6c3d521752cb6dac6d
2008-06-22 09:55:14 +00:00
mihailim
dc884825d3 More documentation spellcheck and cleanup. No changes to code. (CVS 5269)
FossilOrigin-Name: d96b9bcd10c3fe27a449e6ad3ab77c2187a06578
2008-06-22 08:58:50 +00:00
mihailim
ebe796ca5b More documentation spellcheck and cleanup. No changes to code. (CVS 5268)
FossilOrigin-Name: 65edead166aafa8ca18b3aaa9eda89816239066a
2008-06-21 20:11:17 +00:00