]>
git.ipfire.org Git - thirdparty/sqlite.git/log
dan [Tue, 1 Sep 2009 17:11:07 +0000 (17:11 +0000)]
Change "PRAGMA disable_recursive_triggers" to "PRAGMA recursive_triggers". Also a fix for compiling with OMIT_TRIGGER defined.
FossilOrigin-Name:
e016cca36390451d5d1c6e0d1b3cdbd6d869be1a
dan [Tue, 1 Sep 2009 16:39:06 +0000 (16:39 +0000)]
Merge in changes to support recursive invocation of triggers (disabled by default).
FossilOrigin-Name:
c1b388c30de1b660c56afbcac9c69700500808a9
dan [Tue, 1 Sep 2009 16:19:19 +0000 (16:19 +0000)]
Add new test script triggerC.test.
FossilOrigin-Name:
a2a062a4b52f45af85c195582a36d1b76d2675db
dan [Tue, 1 Sep 2009 12:16:01 +0000 (12:16 +0000)]
More fixes and comment updates.
FossilOrigin-Name:
38a9327bad1a01e3d7a47fad44ece2f6c7e88643
drh [Mon, 31 Aug 2009 16:09:58 +0000 (16:09 +0000)]
More thorough initialization of a buffer when writing the rollback journal
header, in order to prevent a harmless valgrind warning.
CVSTrac ticket #4039
FossilOrigin-Name:
5e2f5496834bffb79236f803cdfedb18fbd533b7
dan [Mon, 31 Aug 2009 15:27:27 +0000 (15:27 +0000)]
More fixes for test cases.
FossilOrigin-Name:
85d9f23be1e8673dbda42e43b9b23332ada9225f
dan [Mon, 31 Aug 2009 08:22:46 +0000 (08:22 +0000)]
Fix some authorization callback problems.
FossilOrigin-Name:
8a746fbfd51f70f56e25ade59df49d2dc03c131c
dan [Mon, 31 Aug 2009 05:39:58 +0000 (05:39 +0000)]
Merge with main branch.
FossilOrigin-Name:
6e09e28751a7071969ef9f3445f4092d2c28f358
dan [Mon, 31 Aug 2009 05:23:32 +0000 (05:23 +0000)]
Fix another test problem and some instances where an OOM may cause a segfault.
FossilOrigin-Name:
31199db0f77cf4b32d5589a29abd9535b155164b
dan [Sun, 30 Aug 2009 11:42:51 +0000 (11:42 +0000)]
Fixes for new triggers scheme.
FossilOrigin-Name:
9eb91efda5241609ff18ff15ef5eaa0e86788eab
dan [Fri, 28 Aug 2009 18:53:45 +0000 (18:53 +0000)]
Changes to support recursive triggers.
FossilOrigin-Name:
9b9c19211593d5ff7b39254a29c284560a8bcedb
drh [Fri, 28 Aug 2009 00:49:03 +0000 (00:49 +0000)]
Add a new source code logo gif.
FossilOrigin-Name:
6abcba1021b237452f542f1fbb69eb75d9f50f53
drh [Thu, 27 Aug 2009 17:56:20 +0000 (17:56 +0000)]
Patch to the named semaphore locking mechanism used by VxWorks.
FossilOrigin-Name:
609c5341bea16e4e8bcd15388b209c753ca9e0bb
drh [Wed, 26 Aug 2009 00:26:51 +0000 (00:26 +0000)]
Updates to the pluggable page cache documentation.
FossilOrigin-Name:
3085ad7612e2c50a2d7906e82b2d057954d9c3f9
drh [Tue, 25 Aug 2009 16:28:14 +0000 (16:28 +0000)]
Remove an unreachable branch from where.c in order to restore 100%
branch test coverage. Add assert() and testcase() macros to verify
that the branch is unreachable.
FossilOrigin-Name:
58db7e7166ccefef77b237b77e17f47d31ff41e0
drh [Tue, 25 Aug 2009 15:56:51 +0000 (15:56 +0000)]
Initialize variables differently in the range processing logic of where.c
in order to make sure variables are always initialized even following
an OOM error.
FossilOrigin-Name:
3fb3686a4502140720dc3710a28a4f4128ab6554
drh [Tue, 25 Aug 2009 14:59:37 +0000 (14:59 +0000)]
Attempt to clarify the meaning of a "parameter" in the sqlite3_bind() API
documentation.
FossilOrigin-Name:
9389e6a7dad7ba70923282d6fe45fbccd22f681e
drh [Tue, 25 Aug 2009 14:24:04 +0000 (14:24 +0000)]
Make sure that the output of EXPLAIN is right when the P4 argument of
an opcode is of type P4_MEM with the MEM having type MEM_Blob.
FossilOrigin-Name:
6a623e6cf0370456232497a84366d18fa180debb
drh [Tue, 25 Aug 2009 13:53:49 +0000 (13:53 +0000)]
Avoid calling sqite3VdbeRecordCompare() with uninitialized memory following
an OOM. Doing so is harmless, but it worries valgrind.
FossilOrigin-Name:
d33b9eb2567561ccfdc588c95604cce9b697d768
drh [Tue, 25 Aug 2009 13:10:27 +0000 (13:10 +0000)]
Fix an uninitialized variable in sqlite3VdbeIdxRowid().
FossilOrigin-Name:
6e787e18fa87f5463bf62cd91a0c0855099693f0
drh [Tue, 25 Aug 2009 12:11:00 +0000 (12:11 +0000)]
Merge together the os_unix.c fix of [
aa6acfa8ca ] and the trigger fix of
[
dee1b8eb40 ].
FossilOrigin-Name:
1e2c6e134e04dd22795ad4839874ec0edd9b0970
dan [Tue, 25 Aug 2009 05:57:47 +0000 (05:57 +0000)]
Fix a bad interaction between "proxy-locking" and [http://www.sqlite.org/src/vdiff/
aa6acfa8caa2ef59b4c16dfe42c4b5644da96905 |
aa6acfa8ca ].
FossilOrigin-Name:
2a5c9e1dbf7f5f4b2081c964450a9305a4516f5b
drh [Mon, 24 Aug 2009 19:37:20 +0000 (19:37 +0000)]
Update the version number to 3.6.18, even though the actual release of
that version is still a few weeks away.
FossilOrigin-Name:
c0ea4e9a7dcd66c079f917af47157f6ab7d79401
dan [Mon, 24 Aug 2009 18:57:58 +0000 (18:57 +0000)]
drh [Mon, 24 Aug 2009 01:35:25 +0000 (01:35 +0000)]
Run the column cache in a new context when generating code for trigger
programs. Fix for ticket [
efc02f9779 ].
FossilOrigin-Name:
dee1b8eb402f47c6d5ee60aac28f8e3dcf98167f
drh [Sat, 22 Aug 2009 19:17:02 +0000 (19:17 +0000)]
Remove an obsolete documentation file left over from SQLite version 1.0.
FossilOrigin-Name:
f7eb1efc37d0658d66b3b86d5afd5419d22bfe92
dan [Sat, 22 Aug 2009 11:39:46 +0000 (11:39 +0000)]
Fix a problem in os_unix.c where a malloc failure could lead to a leaked file descriptor.
FossilOrigin-Name:
aa6acfa8caa2ef59b4c16dfe42c4b5644da96905
dan [Fri, 21 Aug 2009 17:18:03 +0000 (17:18 +0000)]
When a database file is opened, try to find an unused file descriptor to reuse. This change affects unix (and other systems that use os_unix.c) only. Fix for cvstrac ticket [http://www.sqlite.org/cvstrac/tktview?tn=4018|#4018].
FossilOrigin-Name:
9b4d9ab62d687289837b13b07885e72cc3abe8a9
drh [Fri, 21 Aug 2009 13:22:25 +0000 (13:22 +0000)]
Change the expression code generator to account for the fact that the new
sqlite3AtoF() never returns NaN. Also, clarification of a comment in
where.c.
FossilOrigin-Name:
75f596a04a74eb3a538c7be5b41756c970a21a1b
dan [Fri, 21 Aug 2009 08:29:10 +0000 (08:29 +0000)]
Add assert() statements to os_unix.c to check that the mutex is held when it should be.
FossilOrigin-Name:
11a669b6537d6bac67764fd91a319234345ac504
shane [Fri, 21 Aug 2009 02:13:14 +0000 (02:13 +0000)]
Updated sqlite3AtoF() that performs slightly better with GCC, and significantly better with MSVC.
FossilOrigin-Name:
f084f5a8ba850de627ca8e9de6c81ab1ad9b7a1b
shane [Fri, 21 Aug 2009 02:07:09 +0000 (02:07 +0000)]
Updates for test_init.c for configure and other consistency changes.
FossilOrigin-Name:
3ba316e9a32de406a4390fb3f52fccb48da4da30
drh [Thu, 20 Aug 2009 23:05:31 +0000 (23:05 +0000)]
Remove a redundant OOM test from the sqlite_stat2 analysis loader.
FossilOrigin-Name:
d30ceeb8b303e2ebfab2855beb973da606a97fa9
drh [Thu, 20 Aug 2009 20:05:55 +0000 (20:05 +0000)]
Simplifications to the range-scan logic in support of structural testing.
FossilOrigin-Name:
bbbee81075d923be7ca11e6e635c069a05d1605a
drh [Thu, 20 Aug 2009 18:14:42 +0000 (18:14 +0000)]
Continuing refinements of the range-scan optimizations in where.c.
The range scores are changed from an integer 1..9 to 0..100.
FossilOrigin-Name:
f0c24b5fb86940f1a88adfb39cc4b9cbfcc66f8a
dan [Thu, 20 Aug 2009 09:11:06 +0000 (09:11 +0000)]
Change the code that collects samples for sqlite_stat2 so that the first sample taken is the (nRow/(2*SQLITE_INDEX_SAMPLES))th entry in the index, where nRow is the total number of index entries.
FossilOrigin-Name:
cbfe6e9df39684607cbc9637e3fb3c5ee6af2515
drh [Thu, 20 Aug 2009 13:45:07 +0000 (13:45 +0000)]
Incremental code and comment cleanup in where.c. There is more to be done.
FossilOrigin-Name:
4a5d9550bdc08633535a7869d7748f56ac3e9a36
drh [Thu, 20 Aug 2009 02:49:30 +0000 (02:49 +0000)]
Set the "type" correctly of built-in BINARY collating sequences for UTF16.
FossilOrigin-Name:
167644f33c949b532655c2297aedf13f93876396
drh [Thu, 20 Aug 2009 02:34:15 +0000 (02:34 +0000)]
All the sqlite3GetCollSeq() function to specify an arbitrary text encoding.
FossilOrigin-Name:
4ee44322ca3c92ed8d6f5d4a3f89d219bf379595
drh [Wed, 19 Aug 2009 22:14:17 +0000 (22:14 +0000)]
Make sure that sqlite3ValueFromExpr() sets the "type" field of the
sqlite3_value object correctly when the value is a floating point
number.
FossilOrigin-Name:
2467eb68ace46f6185fd14758446a5c887caffe3
dan [Wed, 19 Aug 2009 17:17:00 +0000 (17:17 +0000)]
Change the way an Expr that has been converted to TK_REGISTER stores its original opcode. The previous method, overloading Expr.iColumn, did not work in all cases.
FossilOrigin-Name:
71ea9d0e148fbd3d633651c61c81044e37cf88b9
dan [Wed, 19 Aug 2009 16:34:31 +0000 (16:34 +0000)]
Fix an assert() failure that may follow an OOM error.
FossilOrigin-Name:
14a715c5639b2bc69b129485ca32e96366dab4c4
dan [Wed, 19 Aug 2009 16:21:25 +0000 (16:21 +0000)]
drh [Wed, 19 Aug 2009 15:57:07 +0000 (15:57 +0000)]
Documentation improvements in sqlite.h.in. No changes to code.
FossilOrigin-Name:
a6f39181a7b3083ae46cffd7aee7db895b4df8a4
dan [Wed, 19 Aug 2009 15:34:59 +0000 (15:34 +0000)]
Add some tests that use the sqlite_stat2 table in shared-cache mode.
FossilOrigin-Name:
29cafcfdccf4c0a27746b9a82fa4191605a4505a
dan [Wed, 19 Aug 2009 14:42:25 +0000 (14:42 +0000)]
dan [Wed, 19 Aug 2009 14:34:54 +0000 (14:34 +0000)]
Clean up sqlite_stat2 related code. Add test cases.
FossilOrigin-Name:
aa728e06ce456fa42e68687bff6c7424460c31ef
dan [Wed, 19 Aug 2009 09:09:38 +0000 (09:09 +0000)]
Fix a problem where a buffer allocated from a lookaside pool was being released using the system free().
FossilOrigin-Name:
67207a15bd7302ffeb2f342532b57b4852838d83
dan [Wed, 19 Aug 2009 08:18:32 +0000 (08:18 +0000)]
Add the SQLITE_ENABLE_STAT2 macro. If this is not defined at build-time, the stat2 table is not created, populated, or used.
FossilOrigin-Name:
362665e89c21fd603d9f8ad6c0ead590e885af7c
shane [Wed, 19 Aug 2009 04:24:48 +0000 (04:24 +0000)]
Adjust sync count for SQLITE_DISABLE_DIRSYNC compiler option.
FossilOrigin-Name:
709e16145e37940cb243eede75071fb15095d960
dan [Tue, 18 Aug 2009 16:24:58 +0000 (16:24 +0000)]
Change the sqlite_stat2 schema to be more flexible.
FossilOrigin-Name:
ded9dec6459baf21e01f63250db5ace57f390e7a
drh [Tue, 18 Aug 2009 16:05:46 +0000 (16:05 +0000)]
Unknown functions in the DEFAULT clause of a table cause an error when
the DEFAULT value is needed. Ticket [
2d401a94287b5 ].
FossilOrigin-Name:
093917d7fda442012dfd1a1b2f20f85d2eefa093
drh [Tue, 18 Aug 2009 15:33:44 +0000 (15:33 +0000)]
Move the allocation of the memsys5 mutex into the initializer.
FossilOrigin-Name:
4e377a09c194e90581ef00fd3a213e936b4e648a
drh [Tue, 18 Aug 2009 14:48:53 +0000 (14:48 +0000)]
Fix obscure issues with the memsys5 memory allocator. Arrange that the
xRealloc() interface to memory allocators is only called with a value
that has been through xRoundup().
FossilOrigin-Name:
577bd6f15556b7f6d86ee5167353fdd535577bf6
drh [Tue, 18 Aug 2009 12:16:03 +0000 (12:16 +0000)]
When shutting down the memsys5 memory allocator, be sure to clear the mutex
pointer in case the next startup does not use a mutex because it is configured
differently.
FossilOrigin-Name:
d4e7e2d82321c12fe471ed49098828bc0ef78543
drh [Tue, 18 Aug 2009 01:54:19 +0000 (01:54 +0000)]
Fix a bug in mem5.c which would cause an infinite loop on an attempt
to allocate more than
1073741824 bytes of contiguous memory. Also, some
cleanup of mem5.c. More work to do on this.
FossilOrigin-Name:
783b751a38f9f911c5ebdf738c255b7111978f76
dan [Mon, 17 Aug 2009 17:06:58 +0000 (17:06 +0000)]
First version of sqlite_stat2 (schema forces exactly 10 samples).
FossilOrigin-Name:
dd96bda2a85c1d94fb4a0bf5f27e2977f7f7e42e
drh [Mon, 17 Aug 2009 16:01:11 +0000 (16:01 +0000)]
Always call sqlite3_malloc() in sqlite3OsInit(), even when not compiled
with SQLITE_TEST.
FossilOrigin-Name:
b98a8706a61ad27c881b6820eee10d06bfb27417
dan [Mon, 17 Aug 2009 15:52:25 +0000 (15:52 +0000)]
Move error simulation code from the sqlite3_os_init() functions into a wrapper.
FossilOrigin-Name:
67ad21abf88abb7a3e2eacddcaf1ab5d54149807
shane [Mon, 17 Aug 2009 15:31:23 +0000 (15:31 +0000)]
More documentation and comment updates for sqlite3_initialize/shutdown interface changes to handle failures.
FossilOrigin-Name:
32509bc7339cd6a46cea4c243e3418546860cb2d
dan [Mon, 17 Aug 2009 15:16:19 +0000 (15:16 +0000)]
Add tests to check that sqlite recovers from an error in sqlite3_initialize() correctly.
FossilOrigin-Name:
904a371c6c9d3f20332b37767b06161fa0a78113
drh [Mon, 17 Aug 2009 13:42:29 +0000 (13:42 +0000)]
Enhanced documentation and minor code tweaks in preparation for hardening
the sqlite3_initialize/shutdown interfaces against initialization failures.
FossilOrigin-Name:
98c49e6135ae6268a80de88f8b0284f88ef32e1d
dan [Mon, 17 Aug 2009 09:29:09 +0000 (09:29 +0000)]
Add a test to verify that 3.6.17 releases read-locks obtained to read the database schema even if the connection is not currently in auto-commit mode.
FossilOrigin-Name:
78dfe8321db9debfcd4a7f3daf4223d0cbf23ab9
drh [Fri, 14 Aug 2009 18:18:03 +0000 (18:18 +0000)]
Update the amalgamation builder so that it avoids putting redundant
SQLITE_API macros on declarations.
FossilOrigin-Name:
0d5b058717858c9cda8ca120a3d814453a94a0e6
drh [Fri, 14 Aug 2009 17:53:39 +0000 (17:53 +0000)]
Work around an over-zealous optimization in GCC 4.3.3. See
CVSTrac ticket #4027.
FossilOrigin-Name:
9cbe3654055a78c09ea1ecd5dc599bcd888b57e3
dan [Fri, 14 Aug 2009 17:01:22 +0000 (17:01 +0000)]
Fix a case where SQLite may write past the end of a buffer as a result of a corrupted database file.
FossilOrigin-Name:
43321a556031942389ca11b033c1eae46ac6141b
drh [Fri, 14 Aug 2009 16:15:17 +0000 (16:15 +0000)]
Fix to the "publish.sh" script that was broken by the previous check-in.
FossilOrigin-Name:
34c21210eb03bd1230cde5d08039a8a656f35674
drh [Fri, 14 Aug 2009 16:01:24 +0000 (16:01 +0000)]
Incorporate fossil-scm version information into the build. Add the
SQLITE_SOURCE_ID macro to the header. Add the sqlite3_sourceid() interface.
Add the sqlite_source_id() SQL function.
FossilOrigin-Name:
302dabe98f50b472bccd65c58504bc8a330049c4
drh [Thu, 13 Aug 2009 20:15:29 +0000 (20:15 +0000)]
Fix typos in comments used to generate documentation.
CVSTrac tickets #4028 and #4029.
FossilOrigin-Name:
1fc73b9146ee8844c73fc6a545cd0c98ac4d472b
drh [Thu, 13 Aug 2009 19:54:26 +0000 (19:54 +0000)]
Tweak to the new whereB.test file to make it more consistent.
FossilOrigin-Name:
06098505fca5c67b627a9e1102451f93e490e192
dan [Thu, 13 Aug 2009 19:21:16 +0000 (19:21 +0000)]
If a binary operator in a WHERE clause that should be performed with no affinity conversions applied to its operands (see http://www.sqlite.org/datatype3.html) is optimized by index lookup, do not apply any conversions to the key value before looking it up in the index. Fix for
93fb9f89d6 .
FossilOrigin-Name:
e72186f2d68d28c2e0c32894f9adb28c155b5f63
drh [Thu, 13 Aug 2009 18:14:32 +0000 (18:14 +0000)]
Enhancements to the whereB.test to check more affinity corner cases.
FossilOrigin-Name:
1048459824746307c9e4296cbc21716bf8b5449d
drh [Thu, 13 Aug 2009 17:14:59 +0000 (17:14 +0000)]
Add a test case for the affinity problem reported by ticket [
93fb9f89d6 ].
FossilOrigin-Name:
149ec24e61437fac2b0dd6239276d3aa543c56cb
drh [Thu, 13 Aug 2009 15:42:52 +0000 (15:42 +0000)]
Merge the accidental fork.
FossilOrigin-Name:
86a06dd0494c2fe83d4fde517557600956cedd9e
drh [Thu, 13 Aug 2009 15:13:52 +0000 (15:13 +0000)]
Fix a typo on a comment in sqlite3VdbeIntegerAffinity().
FossilOrigin-Name:
b5a709d3609d40a6e5ef77f9889077d7395d3d26
dan [Thu, 13 Aug 2009 07:09:33 +0000 (07:09 +0000)]
Changes to the query planner that improve the order in which tables/indexes are scanned in join queries.
FossilOrigin-Name:
19f799b32f9d1be25d4185ce18b13f4dd502e199
shane [Wed, 12 Aug 2009 15:34:02 +0000 (15:34 +0000)]
Fixed some compiler warnings in WINCE only sections when using the MSVC compiler.
FossilOrigin-Name:
1f0a93e17d6291268da909699ce1a5a7619ae637
drh [Wed, 12 Aug 2009 11:45:40 +0000 (11:45 +0000)]
Make sure the large-file support macros occur first in sqliteInt.h.
Fix for CVSTrac ticket #4022.
FossilOrigin-Name:
b0848925babde5241aefe0a117ebb10299c94a15
danielk1977 [Tue, 11 Aug 2009 05:50:36 +0000 (05:50 +0000)]
Instead of adding SQLITE_API macros sqlite3.h while creating sqlite3.c, add them as part of generating the sqlite3.h target, while copying from sqlite.h.in to sqlite3.h. This fixes a build problem that was causing multiple SQLITE_API macros to be added to a single line of sqlite3.h, and the problem cited by #4016. (CVS 6971)
FossilOrigin-Name:
7f4810747b0864981f27edbd504bfab2efea1e3c
drh [Mon, 10 Aug 2009 17:48:57 +0000 (17:48 +0000)]
Reduce the maximum supported sector size to 64KiB. (CVS 6970)
FossilOrigin-Name:
8e1e0ba292150f8968e5295e8ba9cd7360b6a64b
drh [Mon, 10 Aug 2009 15:16:26 +0000 (15:16 +0000)]
Version 3.6.17 (CVS 6969)
FossilOrigin-Name:
36650102285ef9663853cacd5daf8dd6d7cf418f
danielk1977 [Mon, 10 Aug 2009 10:18:07 +0000 (10:18 +0000)]
Update a couple of tests in corrupt7.test to account for a change in the error message text emitted by SQLite. (CVS 6968)
FossilOrigin-Name:
3172a296926c6b50af5b6edfe38013056e155fa0
danielk1977 [Mon, 10 Aug 2009 04:37:49 +0000 (04:37 +0000)]
Exclude a static function in test1.c from the build when OMIT_DEPRECATED is defined. This avoids a compiler warning that occurs with some compilers. (CVS 6967)
FossilOrigin-Name:
ace499506e3c7a315f66928d8a98de255491b2b9
danielk1977 [Mon, 10 Aug 2009 04:26:39 +0000 (04:26 +0000)]
Change mallocI.test to close a database connection that was being left open. (CVS 6966)
FossilOrigin-Name:
4f0096d7ef43f4b9f32c4d78b3dfe34271f2120a
shane [Mon, 10 Aug 2009 03:57:58 +0000 (03:57 +0000)]
Removed some warnings from the MSVC compile. (CVS 6965)
FossilOrigin-Name:
ee034cfc71425745dda8d5fee58ae95f937c86cd
shane [Mon, 10 Aug 2009 03:23:21 +0000 (03:23 +0000)]
Fixed "Interlocked" logic error that prevented the "static" mutexes from being released when sqlite3_shutdown() is called. Ticket #4011. (CVS 6964)
FossilOrigin-Name:
04cafb7ee3b67a68c0604d7f1143feaec44be610
drh [Sat, 8 Aug 2009 18:01:07 +0000 (18:01 +0000)]
Suppress various compiler warnings. (CVS 6963)
FossilOrigin-Name:
257e9b575029f63277ed602d1402f87cfa15d22e
danielk1977 [Fri, 7 Aug 2009 16:55:59 +0000 (16:55 +0000)]
Enhancement to (6844). If sqlite3_exec() is to return SQLITE_NOMEM because it fails to allocate space for an error message, set the database error-code to SQLITE_NOMEM too. (CVS 6962)
FossilOrigin-Name:
8293fa19c02abe0e2a7594b9bceac28929de8fdf
danielk1977 [Thu, 6 Aug 2009 18:36:47 +0000 (18:36 +0000)]
Mark the rtreeUpdate function as static. (CVS 6961)
FossilOrigin-Name:
b6bdfdc69df4fc6cad669fd8b2cbaa9ecb95cb78
drh [Thu, 6 Aug 2009 17:43:31 +0000 (17:43 +0000)]
Alternative fix for ticket #3810. This is a replacement for check-in (6956). (CVS 6960)
FossilOrigin-Name:
ba1afc040171810d0c996708d7b9cb11abcd99d8
drh [Thu, 6 Aug 2009 17:40:45 +0000 (17:40 +0000)]
Change a hyperlink label on shared cache mode documentation. No changes
to code. (CVS 6959)
FossilOrigin-Name:
3d08ca0e54dd4c292b3db3a8364ab237713c5c43
shane [Wed, 5 Aug 2009 04:08:29 +0000 (04:08 +0000)]
Simplified conditional for read-only lock in winceLockFile() function. Ticket #3991. (CVS 6958)
FossilOrigin-Name:
a1c184cd2ac5a7559d787e6c34b1d0ce034d10cf
drh [Sat, 1 Aug 2009 18:22:30 +0000 (18:22 +0000)]
Make sure all database connections are closed at the end of the test case
for ticket #3810. (CVS 6957)
FossilOrigin-Name:
9bca5a0e8f22da6be41b0eda298fd2e19f64e8b6
drh [Sat, 1 Aug 2009 16:27:00 +0000 (16:27 +0000)]
Return a better error message when problems are encountered parsing a
TEMP trigger or TEMP view that references objects in other databases that
have been modified or dropped. Ticket #3810. (CVS 6956)
FossilOrigin-Name:
102785b9fbc5ab5dd740110243f080e3f3661e87
drh [Sat, 1 Aug 2009 15:54:25 +0000 (15:54 +0000)]
Add a testcase for ticket #3810. (CVS 6955)
FossilOrigin-Name:
29972f7445cede64d99c2433742572120c92b393
drh [Sat, 1 Aug 2009 15:09:58 +0000 (15:09 +0000)]
Fix a segfault following OOM that was introduced by check-in (6949) which
was a fix for ticket #3997. (CVS 6954)
FossilOrigin-Name:
359d78e144c2399791d341eda1760eb486f9740a
drh [Sat, 1 Aug 2009 15:04:19 +0000 (15:04 +0000)]
Increment the version number in preparation for the next release. (CVS 6953)
FossilOrigin-Name:
12d9b87316cf072d8071fb43ca1232d36720bbca
danielk1977 [Fri, 31 Jul 2009 06:14:51 +0000 (06:14 +0000)]
Fix a bug in where.c that could cause SQLite to write to freed memory while compiling a query with many terms in the WHERE clause. (CVS 6952)
FossilOrigin-Name:
8161af840e8fd2b06457e75023f934e1b8fe5fd6
danielk1977 [Wed, 29 Jul 2009 06:04:56 +0000 (06:04 +0000)]
Add a test to mallocI.test to show that a shared lock is correctly released if an OOM condition occurs while parsing a database schema. (CVS 6951)
FossilOrigin-Name:
5a82620efa1298530760e69e4e34d446a30233b8
danielk1977 [Tue, 28 Jul 2009 16:44:26 +0000 (16:44 +0000)]
Add the experimental API sqlite3_strnicmp(). Modify fts3 so that in terms like 'column_name:token' the column_name is interpreted in a case-insenstive fashion. Ticket #3996. (CVS 6950)
FossilOrigin-Name:
4571aa9e9142db465ae8250b0adf27e0a094331a