drh
b7f1d9a747
Further simplifications to the VDBE - removing functionality that is no longer
...
used.
FossilOrigin-Name: b271e16621831957468a1d3925174aac73f58891
2009-09-08 02:27:58 +00:00
drh
3e9ca09453
Code simplifications, especially to the pseudo-table logic, and comment
...
improvements.
FossilOrigin-Name: 52449a9569b7142095cc88ee208b31cc59a3cab4
2009-09-08 01:14:48 +00:00
drh
417168ade2
Add the SQLITE_LIMIT_TRIGGER_DEPTH option to sqlite3_limit().
...
FossilOrigin-Name: d7dc8b433691745b3842282569f1573d1e057963
2009-09-07 18:14:02 +00:00
dan
2f8e4959d1
Merge [/src/vinfo/1958db4493461b3a54217a6a45f2730287107860|1958db4493] and [/src/vinfo/26cd015c0ee1c18dd37f11b47ce35cfa320b3514|26cd015c0e].
...
FossilOrigin-Name: ecbe0832be77599c7cc66fb9968d0f419000d231
2009-09-07 17:41:48 +00:00
dan
0c6621ac66
Fix a bug where a condition was incorrectly being compiled out when SQLITE_OMIT_VIRTUALTABLE was defined.
...
FossilOrigin-Name: 1958db4493461b3a54217a6a45f2730287107860
2009-09-07 17:32:34 +00:00
shane
cea72b2dc2
Warning cleanup from the MSVC compile.
...
FossilOrigin-Name: 26cd015c0ee1c18dd37f11b47ce35cfa320b3514
2009-09-07 04:38:36 +00:00
shane
e025d1d7e5
Attempt to handle numbers at the limits of the IEEE 754 range better (nan.test now passes).
...
FossilOrigin-Name: 2a74ae1969aeec93576a44e11177677e6f3cea9c
2009-09-07 03:48:52 +00:00
shane
dcabfcee27
Changes to internal AtoF to improve "accuracy" when measured against built-in GCC atof().
...
FossilOrigin-Name: 438e1577d0f9ceb2851ee0df0df18f0229eca491
2009-09-07 02:46:31 +00:00
drh
0c2694b744
Add the "unix-wfl" VFS that does whole-file locking in order to help NFS
...
do better cache coherency.
FossilOrigin-Name: 2aeab80e5b84f5e94c5c99b4adeca805601c844b
2009-09-03 16:23:44 +00:00
drh
d7d385dde0
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
2009-09-03 01:18:00 +00:00
drh
4e0b31ceda
Documentation updates for the version info #defines and C interfaces.
...
FossilOrigin-Name: 69055e9b4cb6346e9e10fd9dd65e6ea06b959e76
2009-09-02 19:04:24 +00:00
dan
5e1a278879
Fix a problem in main.c. SQLITE_NoRecTriggers -> SQLITE_RecTriggers.
...
FossilOrigin-Name: 5ac69ed608affb4104b4665560a3a490ea5af217
2009-09-01 17:28:29 +00:00
dan
5bde73c4eb
Change "PRAGMA disable_recursive_triggers" to "PRAGMA recursive_triggers". Also a fix for compiling with OMIT_TRIGGER defined.
...
FossilOrigin-Name: e016cca36390451d5d1c6e0d1b3cdbd6d869be1a
2009-09-01 17:11:07 +00:00
dan
3c94888d07
Merge in changes to support recursive invocation of triggers (disabled by default).
...
FossilOrigin-Name: c1b388c30de1b660c56afbcac9c69700500808a9
2009-09-01 16:39:06 +00:00
dan
436355a091
Add new test script triggerC.test.
...
FossilOrigin-Name: a2a062a4b52f45af85c195582a36d1b76d2675db
2009-09-01 16:19:19 +00:00
dan
65a7cd1631
More fixes and comment updates.
...
FossilOrigin-Name: 38a9327bad1a01e3d7a47fad44ece2f6c7e88643
2009-09-01 12:16:01 +00:00
drh
5ec5319165
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
2009-08-31 16:09:58 +00:00
dan
2832ad4221
More fixes for test cases.
...
FossilOrigin-Name: 85d9f23be1e8673dbda42e43b9b23332ada9225f
2009-08-31 15:27:27 +00:00
dan
2bd935168e
Fix some authorization callback problems.
...
FossilOrigin-Name: 8a746fbfd51f70f56e25ade59df49d2dc03c131c
2009-08-31 08:22:46 +00:00
dan
c02008333c
Merge with main branch.
...
FossilOrigin-Name: 6e09e28751a7071969ef9f3445f4092d2c28f358
2009-08-31 05:39:58 +00:00
dan
523a087b9e
Fix another test problem and some instances where an OOM may cause a segfault.
...
FossilOrigin-Name: 31199db0f77cf4b32d5589a29abd9535b155164b
2009-08-31 05:23:32 +00:00
dan
76d462ee78
Fixes for new triggers scheme.
...
FossilOrigin-Name: 9eb91efda5241609ff18ff15ef5eaa0e86788eab
2009-08-30 11:42:51 +00:00
dan
165921a742
Changes to support recursive triggers.
...
FossilOrigin-Name: 9b9c19211593d5ff7b39254a29c284560a8bcedb
2009-08-28 18:53:45 +00:00
drh
5d00d0a8dc
Add a new source code logo gif.
...
FossilOrigin-Name: 6abcba1021b237452f542f1fbb69eb75d9f50f53
2009-08-28 00:49:03 +00:00
drh
2238dcccc7
Patch to the named semaphore locking mechanism used by VxWorks.
...
FossilOrigin-Name: 609c5341bea16e4e8bcd15388b209c753ca9e0bb
2009-08-27 17:56:20 +00:00
drh
67fba28055
Updates to the pluggable page cache documentation.
...
FossilOrigin-Name: 3085ad7612e2c50a2d7906e82b2d057954d9c3f9
2009-08-26 00:26:51 +00:00
drh
a8f576126e
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
2009-08-25 16:28:14 +00:00
drh
011cfca18e
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
2009-08-25 15:56:51 +00:00
drh
333ceb9389
Attempt to clarify the meaning of a "parameter" in the sqlite3_bind() API
...
documentation.
FossilOrigin-Name: 9389e6a7dad7ba70923282d6fe45fbccd22f681e
2009-08-25 14:59:37 +00:00
drh
560168934c
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
2009-08-25 14:24:04 +00:00
drh
ec9b31f033
Avoid calling sqite3VdbeRecordCompare() with uninitialized memory following
...
an OOM. Doing so is harmless, but it worries valgrind.
FossilOrigin-Name: d33b9eb2567561ccfdc588c95604cce9b697d768
2009-08-25 13:53:49 +00:00
drh
ff104c17b7
Fix an uninitialized variable in sqlite3VdbeIdxRowid().
...
FossilOrigin-Name: 6e787e18fa87f5463bf62cd91a0c0855099693f0
2009-08-25 13:10:27 +00:00
drh
fd3ca1c680
Merge together the os_unix.c fix of [aa6acfa8ca] and the trigger fix of
...
[dee1b8eb40].
FossilOrigin-Name: 1e2c6e134e04dd22795ad4839874ec0edd9b0970
2009-08-25 12:11:00 +00:00
dan
15edd587fd
Fix a bad interaction between "proxy-locking" and [ http://www.sqlite.org/src/vdiff/aa6acfa8caa2ef59b4c16dfe42c4b5644da96905 |aa6acfa8ca].
...
FossilOrigin-Name: 2a5c9e1dbf7f5f4b2081c964450a9305a4516f5b
2009-08-25 05:57:47 +00:00
drh
cee4c93771
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
2009-08-24 19:37:20 +00:00
dan
6aa657f76b
Fix some errors in [ http://www.sqlite.org/src/vdiff/aa6acfa8caa2ef59b4c16dfe42c4b5644da96905 |aa6acfa8ca].
...
FossilOrigin-Name: 82d1934a428a34c292a612fb67bbcea262990e0f
2009-08-24 18:57:58 +00:00
drh
e408edac16
Run the column cache in a new context when generating code for trigger
...
programs. Fix for ticket [efc02f9779].
FossilOrigin-Name: dee1b8eb402f47c6d5ee60aac28f8e3dcf98167f
2009-08-24 01:35:25 +00:00
drh
30a89a3845
Remove an obsolete documentation file left over from SQLite version 1.0.
...
FossilOrigin-Name: f7eb1efc37d0658d66b3b86d5afd5419d22bfe92
2009-08-22 19:17:02 +00:00
dan
e946c3966a
Fix a problem in os_unix.c where a malloc failure could lead to a leaked file descriptor.
...
FossilOrigin-Name: aa6acfa8caa2ef59b4c16dfe42c4b5644da96905
2009-08-22 11:39:46 +00:00
dan
08da86a68e
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
2009-08-21 17:18:03 +00:00
drh
d00151613a
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
2009-08-21 13:22:25 +00:00
dan
9359c7b7ab
Add assert() statements to os_unix.c to check that the mutex is held when it should be.
...
FossilOrigin-Name: 11a669b6537d6bac67764fd91a319234345ac504
2009-08-21 08:29:10 +00:00
shane
6085f5e0a0
Updated sqlite3AtoF() that performs slightly better with GCC, and significantly better with MSVC.
...
FossilOrigin-Name: f084f5a8ba850de627ca8e9de6c81ab1ad9b7a1b
2009-08-21 02:13:14 +00:00
shane
8e283794b6
Updates for test_init.c for configure and other consistency changes.
...
FossilOrigin-Name: 3ba316e9a32de406a4390fb3f52fccb48da4da30
2009-08-21 02:07:09 +00:00
drh
9e1fadee5b
Remove a redundant OOM test from the sqlite_stat2 analysis loader.
...
FossilOrigin-Name: d30ceeb8b303e2ebfab2855beb973da606a97fa9
2009-08-20 23:05:31 +00:00
drh
daf4a9f3b8
Simplifications to the range-scan logic in support of structural testing.
...
FossilOrigin-Name: bbbee81075d923be7ca11e6e635c069a05d1605a
2009-08-20 20:05:55 +00:00
drh
98cdf62690
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
2009-08-20 18:14:42 +00:00
dan
68c4dbbdfc
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
2009-08-20 09:11:06 +00:00
drh
cdaca55eb1
Incremental code and comment cleanup in where.c. There is more to be done.
...
FossilOrigin-Name: 4a5d9550bdc08633535a7869d7748f56ac3e9a36
2009-08-20 13:45:07 +00:00
drh
f8d4e8bd3f
Set the "type" correctly of built-in BINARY collating sequences for UTF16.
...
FossilOrigin-Name: 167644f33c949b532655c2297aedf13f93876396
2009-08-20 02:49:30 +00:00