]>
git.ipfire.org Git - thirdparty/sqlite.git/log
shane [Wed, 23 Sep 2009 18:49:41 +0000 (18:49 +0000)]
dan [Wed, 23 Sep 2009 18:07:22 +0000 (18:07 +0000)]
Fix a problem with FK constraints that implicitly map to a composite primary key.
FossilOrigin-Name:
e0a48d53110130de75602603f524539e421a9dba
dan [Wed, 23 Sep 2009 17:31:19 +0000 (17:31 +0000)]
Fix a problem in the fkey_malloc.test script.
FossilOrigin-Name:
0ce1efa46080f379089b03706daeac96c4add0f9
dan [Wed, 23 Sep 2009 17:29:59 +0000 (17:29 +0000)]
Do not check immediate foreign key constraints until the end of the statement. This matches the postgres behaviour.
FossilOrigin-Name:
1a32149cc3c722058f4ed4c81edadeb6ce5bc9e4
drh [Wed, 23 Sep 2009 15:51:35 +0000 (15:51 +0000)]
Modify the ".dump" command on the CLI so that it always issues a
PRAGMA foreign_keys=OFF at the top of the output.
FossilOrigin-Name:
0755b9b697d32292f378a4b934ca1cf9f56225cd
drh [Wed, 23 Sep 2009 14:45:05 +0000 (14:45 +0000)]
Change the version number to 3.6.19. Fix a couple of incorrect testcase()
macros associated with the new IS and IS NOT operators in expr.c.
FossilOrigin-Name:
e3b73394bf9c0391e997079b160eace3589415ab
dan [Wed, 23 Sep 2009 13:59:17 +0000 (13:59 +0000)]
Disallow using the implicit rowid column as the parent key of an FK constraint.
FossilOrigin-Name:
a5f7e71f424900071a3925e53e9128c9148ea2e8
drh [Wed, 23 Sep 2009 13:39:56 +0000 (13:39 +0000)]
Add test cases for the IS and IS NOT operator.
FossilOrigin-Name:
101ed58cf4a1dfe53031b98cfc7ed01e86b4c7b6
dan [Wed, 23 Sep 2009 12:06:52 +0000 (12:06 +0000)]
Add extra tests for foreign key support.
FossilOrigin-Name:
7d086afe69da4d03bd1de5408626858273f91e8f
dan [Wed, 23 Sep 2009 08:43:35 +0000 (08:43 +0000)]
Add missing comments to fkey.c. Also, change the terminology used for comments and names in fkey.c from "referenced/referencing" to "parent/child". This is arguably less correct, but is easier to follow.
FossilOrigin-Name:
540c2d18e14c277b55f95729fbafc04ca66466b2
drh [Wed, 23 Sep 2009 03:01:58 +0000 (03:01 +0000)]
Do not run ON UPDATE actions of a foreign key constraint unless at least one
column value really does change.
FossilOrigin-Name:
71ac8e28e55ff0250ebe2fe239159ce2458d9165
drh [Wed, 23 Sep 2009 02:29:36 +0000 (02:29 +0000)]
Generalize the IS and IS NOT operators so that their right-hand side can be
an arbitrary expression and not simple the constant NULL. They work like
= and <> except that NULL values compare equal to one another an unequal to
everything else.
FossilOrigin-Name:
98853f6104076c50ea92175e17a3254bfbbd4619
drh [Tue, 22 Sep 2009 20:08:34 +0000 (20:08 +0000)]
Factor the UMINUS and UPLUS tokens out of the parser so that the parser
tables can go back to using 8-bit values instead of 16-bit values.
FossilOrigin-Name:
3fc938c961fd7810594224b91a2d6e1ac9e48084
drh [Tue, 22 Sep 2009 19:53:41 +0000 (19:53 +0000)]
The NO ACTION action really should be no-action and not RESTRICT.
FossilOrigin-Name:
55b263fa2b2fed8c721154e3c48f4226be95065c
dan [Tue, 22 Sep 2009 16:55:38 +0000 (16:55 +0000)]
Fix another OOM related problem in fkey.c.
FossilOrigin-Name:
e2bc51bc61d54d103ccffd12106c27a574e4e997
dan [Tue, 22 Sep 2009 16:08:58 +0000 (16:08 +0000)]
Fix a problem with ON DELETE SET DEFAULT actions.
FossilOrigin-Name:
9406995055f53639b0af46985c7b0a24a80308ae
dan [Tue, 22 Sep 2009 15:53:47 +0000 (15:53 +0000)]
Fix an OOM related crash in fkey.c.
FossilOrigin-Name:
635d6a775a3f192d4292738905f5e01bc956a712
shane [Tue, 22 Sep 2009 13:25:00 +0000 (13:25 +0000)]
Allow specific exclusion of localtime_s() usage on Windows.
FossilOrigin-Name:
216bcda7d2818efda55849d5cb84aa483bc6429b
dan [Tue, 22 Sep 2009 07:13:42 +0000 (07:13 +0000)]
Fix compilation errors when OMIT_FOREIGN_KEY is defined.
FossilOrigin-Name:
c447cb37d6439090eb08028d54a91d7d06043744
dan [Mon, 21 Sep 2009 18:56:23 +0000 (18:56 +0000)]
Fix a problem with foreign key constraints that map from and IPK column.
FossilOrigin-Name:
84129052623dc6a175c76db602ab07fa3e57f1eb
dan [Mon, 21 Sep 2009 16:34:24 +0000 (16:34 +0000)]
Fix compilation with both OMIT_UTF16 and ENABLE_STAT2 defined. Ticket [
56928bd084ea530eb8a0b3ebe5d2d9033fb1de7f |
56928bd084 ].
FossilOrigin-Name:
cd850d49a12a2852258cbd7d5db56715132dff17
dan [Mon, 21 Sep 2009 16:06:03 +0000 (16:06 +0000)]
dan [Sat, 19 Sep 2009 17:59:59 +0000 (17:59 +0000)]
Add fkey.c to the autoconf and amalgamation build systems.
FossilOrigin-Name:
aab7a4b3c91e0a149f6499660892d09c17b010e3
dan [Sat, 19 Sep 2009 17:00:31 +0000 (17:00 +0000)]
Check in implementation of foreign key constraints.
FossilOrigin-Name:
d5d399811876391642937edeb9e8434dd9e356f5
drh [Thu, 17 Sep 2009 00:41:19 +0000 (00:41 +0000)]
When coding a trigger, assume that the "oldmask" requires all columns until
we know otherwise. That pessimistic assumption assures that all necessary
parameters are available on a cascading delete trigger.
Ticket [
e25d9ea771f ]
FossilOrigin-Name:
03e464be51a1c36fc02cf31178ae91f736dfddd6
drh [Mon, 14 Sep 2009 23:47:24 +0000 (23:47 +0000)]
Make sure sufficient space is allocated for at least one VDBE cursor when
autoincrement is used. Ticket [
a696379c1f088 ].
FossilOrigin-Name:
2b2a1ef74e24857b8d18f6370894588fc2aa5ebb
drh [Fri, 11 Sep 2009 18:28:53 +0000 (18:28 +0000)]
Set the execute permission bit on "configure".
FossilOrigin-Name:
f8c02b2b720e26a9ca7e35cb8015888fae538351
drh [Fri, 11 Sep 2009 17:59:55 +0000 (17:59 +0000)]
Make sure the (unsupported) configure script in the source tree has
execute permission prior to constructing a tarball.
Ticket [
65bbb65a47ce ].
FossilOrigin-Name:
5e0e941f3adf09c5f315e27cefdc968c59aa574e
drh [Fri, 11 Sep 2009 14:05:06 +0000 (14:05 +0000)]
Add an #ifndef so that the build works with SQLITE_OMIT_ANALYZE again.
FossilOrigin-Name:
b084828a771ec40be85f07c590ca99de4f6c24ee
drh [Thu, 10 Sep 2009 22:30:53 +0000 (22:30 +0000)]
Omit the mutexIsInit test variable when mutexes are disabled.
FossilOrigin-Name:
3ea10434434d27a1300ba2b58e2c47c54909f4ff
shane [Thu, 10 Sep 2009 20:23:30 +0000 (20:23 +0000)]
Fixed some warnings and an assert in the WINCE code when compiling under MSVC.
FossilOrigin-Name:
f42ec993ac9d42ca31305f26b09924108c36d9f4
drh [Thu, 10 Sep 2009 19:20:03 +0000 (19:20 +0000)]
Make sure the threadsOverrideEachOthersLocks variable is only referenced by
linux systems on a threadsafe compile.
FossilOrigin-Name:
e9d064bd9318c2bc9248df948f71fd30f24525eb
shane [Thu, 10 Sep 2009 19:09:03 +0000 (19:09 +0000)]
Cleanup of warnings on MSVC build.
FossilOrigin-Name:
5588cc96bbe0b9df5f8d31f8f2d2b48b3f54ff09
dan [Thu, 10 Sep 2009 18:26:05 +0000 (18:26 +0000)]
Update an r-tree test to account for changes in the query planner.
FossilOrigin-Name:
e5ce66d40bd68dc014071f7830112fa3b1d72948
dan [Thu, 10 Sep 2009 18:17:10 +0000 (18:17 +0000)]
Define SQLITE_TEST when compiling mem5.c for testfixture.
FossilOrigin-Name:
6b16f3c9073e44a2d720a396078f0d71bda66df1
dan [Thu, 10 Sep 2009 18:04:02 +0000 (18:04 +0000)]
Fix a problem in test script corrupt.test.
FossilOrigin-Name:
dad2b74ad0a86ff07c77f0a60b26480fc0a2e54d
drh [Thu, 10 Sep 2009 17:45:00 +0000 (17:45 +0000)]
Add assert() statement to verify that new mutexes are not allocated when
the mutex subsystem is uninitialized.
FossilOrigin-Name:
1183c533571bc9c7ce56102b718f3e4f4e78019e
dan [Thu, 10 Sep 2009 16:14:50 +0000 (16:14 +0000)]
Fix a problem with the sqlite3VdbeMayAbort() assert failing following an OOM.
FossilOrigin-Name:
b3027863505fa8edf355f3f5eea4502ef365175e
dan [Thu, 10 Sep 2009 10:15:59 +0000 (10:15 +0000)]
Remove an ALWAYS macro around an expression that is sometimes false.
FossilOrigin-Name:
f2a9ee722c568e73f2a08fb6a2886719850f2923
shane [Thu, 10 Sep 2009 02:54:48 +0000 (02:54 +0000)]
Reduce default SQLITE_MAX_TRIGGER_DEPTH when SQLITE_SMALL_STACK is defined.
FossilOrigin-Name:
913fb70ea85f05d94db5cf2e692a7c8b7489e3ba
dan [Wed, 9 Sep 2009 18:46:52 +0000 (18:46 +0000)]
Trying to open a transaction in one thread and close it in another is a misuse with LinuxThreads. Doing so may cause memory and file-descriptors to be leaked. Update an assert() and some test cases to account for this.
FossilOrigin-Name:
ef99eb57c536d82e7c19fd3d990c17793cc64a3f
drh [Wed, 9 Sep 2009 16:10:50 +0000 (16:10 +0000)]
Suppress some harmless compiler warnings.
FossilOrigin-Name:
f0c72a53c5d57d7487b48a06a40816153f47aaac
drh [Wed, 9 Sep 2009 15:29:41 +0000 (15:29 +0000)]
Bug fix in the SQLITE_OPEN_PRIVATECACHE option added a few minutes ago.
FossilOrigin-Name:
f3a0f23bc77f8c73924f1d371afae9a0f65bae67
dan [Wed, 9 Sep 2009 15:06:10 +0000 (15:06 +0000)]
Add some tests that involve BEFORE UPDATE or BEFORE DELETE triggers messing with the row being updated or deleted. SQLite behaviour in this scenario is undefined, so the tests just check that the behaviour is relatively sane and there are no crashes.
FossilOrigin-Name:
9a4c59a2ddd0df2d9425097004b450a6685f2147
drh [Wed, 9 Sep 2009 14:48:21 +0000 (14:48 +0000)]
Update the README file to state that TCL is required in order to run
the makefiles for SQLite. Ticket [
7d96113ff ].
FossilOrigin-Name:
ba20091ae8146d276414f97527bf63e50fac8691
drh [Wed, 9 Sep 2009 14:17:52 +0000 (14:17 +0000)]
Added SQLITE_OPEN_SHAREDCACHE and SQLITE_OPEN_PRIVATECACHE flags as
possibilities to sqlite3_open_v2(), to override the global shared
cache mode setting. Ticket [
9fd0bc36639c15 ]
FossilOrigin-Name:
f509eb8b488bb39deda4ca88f66ed40c6784af02
drh [Wed, 9 Sep 2009 12:41:17 +0000 (12:41 +0000)]
Increase the size of bitvec objects to 1024 bytes on 64-bit systems.
FossilOrigin-Name:
f1272b90f6078d301ab05592593e9415f2b2b90b
dan [Wed, 9 Sep 2009 11:43:43 +0000 (11:43 +0000)]
Add a test case to show that [/info/
29ab7be99f |
29ab7be99f ] is fixed.
FossilOrigin-Name:
135d656a20a2a450955ed9ec57d9637cf31493c6
dan [Wed, 9 Sep 2009 11:37:20 +0000 (11:37 +0000)]
Add a complicated assert() to check that statement transactions are opened when required.
FossilOrigin-Name:
28aa1f4ea8dad56ffedb31d6c2bc27c1d6be2407
dan [Tue, 8 Sep 2009 19:15:01 +0000 (19:15 +0000)]
Combine the OP_Statement and OP_Transaction opcodes.
FossilOrigin-Name:
aec9dbd8d21c55c3945287a3dfa55d3ed168f977
dan [Tue, 8 Sep 2009 15:55:15 +0000 (15:55 +0000)]
If recursive-triggers are enabled, fire DELETE triggers if database rows are removed as a result of OR REPLACE conflict resolution.
FossilOrigin-Name:
85cb0c94a63eda5f059ebe40887c7af9b4869893
drh [Tue, 8 Sep 2009 13:40:16 +0000 (13:40 +0000)]
Additional simplifications in support of structural testing.
FossilOrigin-Name:
4ab8c841f818326b0b04b95e3edd828c77f109d9
drh [Tue, 8 Sep 2009 02:27:58 +0000 (02:27 +0000)]
Further simplifications to the VDBE - removing functionality that is no longer
used.
FossilOrigin-Name:
b271e16621831957468a1d3925174aac73f58891
drh [Tue, 8 Sep 2009 01:14:48 +0000 (01:14 +0000)]
Code simplifications, especially to the pseudo-table logic, and comment
improvements.
FossilOrigin-Name:
52449a9569b7142095cc88ee208b31cc59a3cab4
drh [Mon, 7 Sep 2009 18:14:02 +0000 (18:14 +0000)]
Add the SQLITE_LIMIT_TRIGGER_DEPTH option to sqlite3_limit().
FossilOrigin-Name:
d7dc8b433691745b3842282569f1573d1e057963
dan [Mon, 7 Sep 2009 17:41:48 +0000 (17:41 +0000)]
dan [Mon, 7 Sep 2009 17:32:34 +0000 (17:32 +0000)]
Fix a bug where a condition was incorrectly being compiled out when SQLITE_OMIT_VIRTUALTABLE was defined.
FossilOrigin-Name:
1958db4493461b3a54217a6a45f2730287107860
shane [Mon, 7 Sep 2009 04:38:36 +0000 (04:38 +0000)]
Warning cleanup from the MSVC compile.
FossilOrigin-Name:
26cd015c0ee1c18dd37f11b47ce35cfa320b3514
shane [Mon, 7 Sep 2009 03:48:52 +0000 (03:48 +0000)]
Attempt to handle numbers at the limits of the IEEE 754 range better (nan.test now passes).
FossilOrigin-Name:
2a74ae1969aeec93576a44e11177677e6f3cea9c
shane [Mon, 7 Sep 2009 02:46:31 +0000 (02:46 +0000)]
Changes to internal AtoF to improve "accuracy" when measured against built-in GCC atof().
FossilOrigin-Name:
438e1577d0f9ceb2851ee0df0df18f0229eca491
drh [Thu, 3 Sep 2009 16:23:44 +0000 (16:23 +0000)]
Add the "unix-wfl" VFS that does whole-file locking in order to help NFS
do better cache coherency.
FossilOrigin-Name:
2aeab80e5b84f5e94c5c99b4adeca805601c844b
drh [Thu, 3 Sep 2009 01:18:00 +0000 (01:18 +0000)]
Do not reuse function parameters in subsequent expressions since the
function call might have triggered a text encoding change.
Fix for ticket [
2ea2425d34be ].
FossilOrigin-Name:
f22e388727f0ba0f187cdee51ff8ba17a5d50b8a
drh [Wed, 2 Sep 2009 19:04:24 +0000 (19:04 +0000)]
Documentation updates for the version info #defines and C interfaces.
FossilOrigin-Name:
69055e9b4cb6346e9e10fd9dd65e6ea06b959e76
dan [Tue, 1 Sep 2009 17:28:29 +0000 (17:28 +0000)]
Fix a problem in main.c. SQLITE_NoRecTriggers -> SQLITE_RecTriggers.
FossilOrigin-Name:
5ac69ed608affb4104b4665560a3a490ea5af217
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