drh
782b873bf5
Convert an always-true condition in hash.c into an assert(). (CVS 6624)
...
FossilOrigin-Name: 4237299935b8bf8c346aacba021113224813bcb9
2009-05-09 23:29:12 +00:00
drh
f3af63f941
Add the SQLITE_TESTCTRL_ASSERT and SQLITE_TESTCTRL_ALWAYS codes for the
...
sqlite3_test_control() interface. (CVS 6623)
FossilOrigin-Name: 38df91c2edebee22d02b5f84260ee9e5e14db48e
2009-05-09 18:59:42 +00:00
drh
28414ee952
Change sqlite_blob_open() so that it zeros the output pBlob pointer when
...
it fails. The other sqlite3_blob interfaces accept a NULL pointer as
input. (CVS 6622)
FossilOrigin-Name: 999d507b4432b518cfc7e02e5b0a2473cf1980f6
2009-05-09 15:17:47 +00:00
drh
9ab4c2e880
Changes to the trigger.c module that facilitate full coverage testing. (CVS 6621)
...
FossilOrigin-Name: 567ccc68cc8c73b952a91c71a0e00b08bb25c689
2009-05-09 00:18:38 +00:00
danielk1977
50c55a90d5
Fix a warning in the osx-specific part of os_unix.c. Ticket #3847 . (CVS 6620)
...
FossilOrigin-Name: 254ca3273cfbd833de82296b4859e1ec5535e8be
2009-05-08 11:34:37 +00:00
danielk1977
ea24ac4b23
Correctly update the cache page-count when discarding pages in the xTruncate() method of the default pcache implementation. Otherwise the effective configured size of the cache shrinks each time xTruncate() is called. Fix for #3844 . (CVS 6619)
...
FossilOrigin-Name: 88211ceeec01ee0d3e55231512be26dd672db099
2009-05-08 06:52:47 +00:00
drh
79f02cef78
If compiling FTS3 in the amalgamation, include the ctype.h header file.
...
Ticket #3843 . (CVS 6618)
FossilOrigin-Name: 660108ef7a3c45f735789ba1039be2c37a8b0d0e
2009-05-07 14:11:52 +00:00
drh
dff6c173dd
Change the sqlite3_create_function() family of routines to return
...
SQLITE_MISUSE instead of SQLITE_ERROR if their parameters are incorrect. (CVS 6617)
FossilOrigin-Name: 866f13e28c6fdb98947e1c7a89b7855bb5bbdb96
2009-05-07 13:43:49 +00:00
drh
cdd0376a55
Make sure the iteration counter on aggregate functions is reset each
...
time the aggregate is used in an correlated subquery. Ticket #3841 . (CVS 6616)
FossilOrigin-Name: 4a86de35d57a0c8720772c29431c86cd9be1fb9b
2009-05-07 12:17:33 +00:00
drh
7f720d542d
Version 3.6.14 (CVS 6615)
...
FossilOrigin-Name: 469ad1ded35f5ff8ab2f6e8f776d73a9cea73527
2009-05-07 02:26:07 +00:00
drh
b2f9efc3f0
Fix compiler warning found with gcc -Wextra. (CVS 6614)
...
FossilOrigin-Name: 93bdbc5e2f9771a30358cde03f0d3cb708d73d48
2009-05-06 19:03:13 +00:00
shane
60a4b53823
Changes to silence compiler warnings under MSVC. (CVS 6613)
...
FossilOrigin-Name: df599237e1ca8b4f361477a712cf761aa1fac3df
2009-05-06 18:57:09 +00:00
drh
6a863cdad8
Fix three variable initialization problems found by valgrind. (CVS 6612)
...
FossilOrigin-Name: 37428435978027f6baffa552306dd5dc29ce5cd5
2009-05-06 18:42:21 +00:00
chw
73ccf01737
updated vxworks makefile for 3.6.14 release (CVS 6611)
...
FossilOrigin-Name: 5d4bffaabbf6a809938f115de266b382183a0a96
2009-05-06 15:24:04 +00:00
drh
310bd20a81
Add a short pause to force a context swap while waiting for a separate process
...
to clear its lock in the lock4.test script. (CVS 6610)
FossilOrigin-Name: 4357e76d53f692cb7495fbde61b4b7580560f816
2009-05-06 00:52:40 +00:00
drh
dc70e4c365
Fix the test case misc3-6.11 so that it works correctly on UTF16 databases
...
after the fix of for ticket #3838 , check-in (6603) (CVS 6609)
FossilOrigin-Name: c1e739e39b1df205f3beb4088ce7760a0d56359f
2009-05-06 00:49:00 +00:00
drh
76aeb34f0f
Minor changes to the sqlite3_exec() implementation in legacy.c
...
to facility full coverage testing. (CVS 6608)
FossilOrigin-Name: 9e3016c1846174a64833394a00a09335e8446de8
2009-05-05 20:02:47 +00:00
drh
70b6367cd9
Bump the version number up to 3.6.14. (CVS 6607)
...
FossilOrigin-Name: f4549904b22ff2340a5830cd67ed001d1c4730a1
2009-05-05 18:01:58 +00:00
drh
5dc348a2e2
Changes to vacuum.c to facilitate full coverage testing. (CVS 6606)
...
FossilOrigin-Name: 866284654c1f163af4164fe8c698d30af32e4eaa
2009-05-05 17:37:22 +00:00
drh
3500ed6650
Make sure the left-shift operator never overflows. (CVS 6605)
...
FossilOrigin-Name: 300da30178c46ab9f2ceb0c3e3ee3eac73d5d8e1
2009-05-05 15:46:43 +00:00
drh
e289d6069a
Changes to update.c to facilitate full coverage testing. (CVS 6604)
...
FossilOrigin-Name: 25a11b9ecae1befd3f58958d68f6346f1e1e47ad
2009-05-05 15:46:09 +00:00
drh
e3b9bfe6ab
Make sure the default value on a column added using ALTER TABLE has the
...
correct encoding. Ticket #3838 . (CVS 6603)
FossilOrigin-Name: 7f89a860b7cd0993c36a8b0482c2bac950a875d6
2009-05-05 12:54:50 +00:00
drh
eeb23a4c24
Make sure va_arg() does not occur on the same line as any "if" statement
...
or "?" operator. (CVS 6602)
FossilOrigin-Name: 3543be6e34ebff48b1b0c1710ae6fec557b09b52
2009-05-04 20:20:16 +00:00
danielk1977
11c327aabe
Avoid parsing cells that fit entirely on the b-tree page when searching a b-tree index. (CVS 6601)
...
FossilOrigin-Name: 77a8239548722f702ead9d7c60df0d68180948fb
2009-05-04 19:01:26 +00:00
drh
eba661f88f
Changes to auth.c to promote full coverage testing. (CVS 6600)
...
FossilOrigin-Name: c7615b44583c4b3afa45b57c6047478c18c234e9
2009-05-04 18:01:39 +00:00
danielk1977
de630353d8
Speed up INSERT operations that add data to UNIQUE or PRIMARY KEY indexes by rationalizing duplicate seek operations. (CVS 6599)
...
FossilOrigin-Name: cac4f3d812f0a02ca5c1fa78d366f694403929a8
2009-05-04 11:42:29 +00:00
drh
ce9b0157f0
Work toward cleaning up the authorizer interface. Work is on-going. This
...
is an incremental check-in. (CVS 6598)
FossilOrigin-Name: 694662f7860179403e0cc55b45ae8afa45aa7dfb
2009-05-04 01:58:31 +00:00
drh
dee0e404d6
Changes to facility full coverage testing of util.c. (CVS 6597)
...
FossilOrigin-Name: a612299092a48b38c5f9cf430bbcaf41777cbcb3
2009-05-03 20:23:53 +00:00
drh
1b7ecbb4ce
More changes to insert.c to facilitate full coverage testing. (CVS 6596)
...
FossilOrigin-Name: 46c4ec968bc22843c65744ab4a01ec7ac605567b
2009-05-03 01:00:59 +00:00
drh
098d1684d7
Simplifications to the uniqueness constraint failure error message
...
generation code. (CVS 6595)
FossilOrigin-Name: 8f3cac7682a0c992f95f7453aaf9a29b1fe35d6f
2009-05-02 15:46:46 +00:00
drh
e61922a6a1
Remove the aFKey hash table, which was not being used. Simplify the
...
FKey object. Simplify the hash.c module since the copyKey parameter
formerly used only by aFKey is now no longer required. (CVS 6594)
FossilOrigin-Name: 80c43a355c6e482457abc2f9c3ad3a565cec55fb
2009-05-02 13:29:37 +00:00
drh
7895fdd452
Reduce the size of an integer literal in rowhash.tcl so that the test
...
is able to run with the default TCL installation on Mac OS 10.5. (CVS 6593)
FossilOrigin-Name: 2229accef308db9feac4e1de16b57e7f680dbb1a
2009-05-02 12:02:01 +00:00
danielk1977
3f632d5bd2
When a cursor points at the last entry of an intkey btree after an insert, leave it there (instead of moving it to the tree root node). This speeds up statements of the form "INSERT INTO ... SELECT ..." that use auto-generated rowids. (CVS 6592)
...
FossilOrigin-Name: 9950c0a79c82eb7d8495b0b1a8fe117d566e2387
2009-05-02 10:03:09 +00:00
danielk1977
9c3acf3cfe
Do not reset the cursor before seeking it in sqlite3BtreeInsert(). This speeds up INSERT operations that use auto-generated rowid values. (CVS 6591)
...
FossilOrigin-Name: 20c4acc291def33980f584f882c76e85ee1c8238
2009-05-02 07:36:49 +00:00
drh
3f6e781d6a
When checking indices for xfer compatibility, compare collating sequences
...
by string, not by pointer. (CVS 6590)
FossilOrigin-Name: 7d2b80c7addc2d03d49647da9c6df9113f01349d
2009-05-02 00:28:19 +00:00
drh
24fb627afa
Record within the Token structure itself whether or not the token has
...
been dequoted. This steals one bit from the length of a token and
thus limits the size of tokens to 1GiB. (CVS 6589)
FossilOrigin-Name: 12bcb03d9b9e1a31c1a3c67cbb4263cc0af2f3d0
2009-05-01 21:13:36 +00:00
drh
d51397a614
Fix an error message that is generated if the number of columns do not
...
match on an INSERT into a virtual table with hidden columns. (CVS 6588)
FossilOrigin-Name: 795b453c9a03c32d9d4cdf62823d2b9dd667cc44
2009-05-01 15:17:48 +00:00
drh
b56cd55b9a
Update PRAGMA integrity_check so that it treats SQLITE_IOERR_NOMEM errors
...
from underlying components the same as SQLITE_NOMEM errors. (CVS 6587)
FossilOrigin-Name: 26444f2a4426d2e51464ef69ed83d3c78be2c11f
2009-05-01 13:16:54 +00:00
danielk1977
ff340d8e39
Change lock2.test so that it does not enter a busy loop if the child process exists unexpectedly. (CVS 6586)
...
FossilOrigin-Name: 164a7f5a45c3e7f7a73899678c374535b270b130
2009-05-01 10:55:34 +00:00
danielk1977
e979565473
Remove a NEVER() clause from a condition that is true at least once when running attachmalloc.test. (CVS 6585)
...
FossilOrigin-Name: 514efc7312d725c3fe35741e8c000526f3bdb3a6
2009-05-01 06:19:21 +00:00
danielk1977
bd2edd676b
Fix for tempdb.test so that it passes when running the inmemory_journal permutation test. (CVS 6584)
...
FossilOrigin-Name: 0256187b512c5849ffae0644e6a42ec0ca2de894
2009-05-01 05:23:17 +00:00
drh
7fe45908cc
Fix processing of BEFORE triggers on INSERT statements with RHS SELECTs
...
that insert a NULL into the INTEGER PRIMARY KEY. Ticket #3832 . (CVS 6583)
FossilOrigin-Name: 4a1f6a3a9ac8b476c86edac83b555adeef0be4e6
2009-05-01 02:08:04 +00:00
shane
eb4ac06f4e
More cleanup, etc. to support MSVC compiles. (CVS 6582)
...
FossilOrigin-Name: 2cd9655e7313671f2bbe8d4a6f13246cbbf61205
2009-04-30 17:45:33 +00:00
drh
0038e0c08f
Disable an always-false test in the attach.c module. (CVS 6581)
...
FossilOrigin-Name: 92b69481bd0eedf06599c40623b38a6f4990010a
2009-04-30 17:38:37 +00:00
danielk1977
f9d1a21421
Fix a problem with in-memory sub-journals and exclusive locking mode. Also a test script problem introduced by (6575). (CVS 6580)
...
FossilOrigin-Name: d67af3f5a21329e133aa6cf2be745a9f8c1a6562
2009-04-30 16:41:00 +00:00
drh
959b530d64
Documentation updates for sqlite3_set_authorizer(). No changes to code. (CVS 6579)
...
FossilOrigin-Name: 41f39c3145f2659fdb636cae07cdd424a10ac6e9
2009-04-30 15:59:56 +00:00
drh
c47fd8e031
Disallow attaching the same database multiple times to the same db connection
...
in shared cache mode, since doing so leads to deadlock. (CVS 6578)
FossilOrigin-Name: 715f14f1dcaf604d4794bf3e18e245d4f8c5d5a9
2009-04-30 13:30:32 +00:00
drh
9b3c24d15d
Fix apparent typo on exclusive.test in the (6575) check-in. (CVS 6577)
...
FossilOrigin-Name: 95d22405e096355ce815cdb0908c4ef04107b490
2009-04-30 12:25:58 +00:00
drh
1c5141484c
Changes sqlite3TempInMemory() to take a const parameter. (CVS 6576)
...
FossilOrigin-Name: aa29a14ca040db25dadbca787aa75be3b7588415
2009-04-30 12:25:10 +00:00
danielk1977
d829335e42
When SQLite is configured to use in-memory temp files (either by setting SQLITE_TEMP_STORE during compilation or using the temp_store pragma at run time), store statement/savepoint journals in memory also. Ticket #3825 . (CVS 6575)
...
FossilOrigin-Name: 38f8c5a14cd221af9e115a0fea689f2ff39e30e5
2009-04-30 09:10:37 +00:00