drh
b74b101766
Remove references to deleted function sqlite3ExprRegister(). Changes to
...
the expr.c source module to promote better testing. (CVS 6686)
FossilOrigin-Name: 6ae4ad6ebee4db88c411df97bb1de574708dd53c
2009-05-28 21:04:37 +00:00
drh
2c220455b9
Fix a NULL pointer dereference following an OOM error in the column name
...
resolver. (CVS 6685)
FossilOrigin-Name: 3b46142532934d17aa136c2e56e58e7828df0f54
2009-05-28 14:34:49 +00:00
drh
0b0745ae37
Make sure the column name resolver does not try to duplicate Expr.u.zToken
...
when the Expr.u.iValue union member is the element being used. (CVS 6684)
FossilOrigin-Name: 376ecf0d87e4a2329f5861401f83ed9ceb35d528
2009-05-28 12:49:53 +00:00
danielk1977
4b0aa4cf3e
Workaround the need for internal API sqlite3BtreeCursorDb(). It was only being used for an assert() statement, which can be done differently. (CVS 6683)
...
FossilOrigin-Name: 5904af6e6df3effdaaa30e7cf96ee316fc09b28d
2009-05-28 11:05:57 +00:00
drh
33e619fc1c
Additional refinements to Expr handling. Restore compression of trigger
...
expressions. Change Expr.zToken to Expr.u.zToken and added Expr.u.iValue.
Remove an unnecessary ExprDup from CHECK constraint processing. And so forth. (CVS 6682)
FossilOrigin-Name: 4ac2bdfbb4230b6ceaae87e738fa61036bbe03cb
2009-05-28 01:00:55 +00:00
drh
b7916a78ff
Simplifications to the Expr object: Remove Expr.span completely and convert
...
Expr.token into a char* Expr.zToken. Also simplify the Token object by
removing the Token.dyn and Token.quoted fields. (CVS 6681)
FossilOrigin-Name: 7cb1c3ba0759539cb035978fdaff6316775986f3
2009-05-27 10:31:29 +00:00
drh
38a2c01b09
Fix the rtree test module so that it works even if the ext/ subfolder is
...
omitted from the tree. (CVS 6679)
FossilOrigin-Name: 086206e1f51e22ce7b9f45865b370088db126cd2
2009-05-25 14:17:35 +00:00
drh
5cd792399a
When pinning a temp register after it is reused by the column cache, make
...
sure all instances of that register in the cache are pinned so that the
register is never reused for a different purpose. Ticket #3879 . (CVS 6676)
FossilOrigin-Name: 5f358e63712e8de93bd6fecc5131badeef0292be
2009-05-25 11:46:29 +00:00
danielk1977
d17fe2a352
Add a test case for ticket #3879 . (CVS 6675)
...
FossilOrigin-Name: 5b9b66f47b0b8178427806149958387d32b70dc2
2009-05-25 11:46:10 +00:00
drh
09943b53dd
Additional clarification of the 3rd parameter to sqlite3_create_function().
...
Documentation change only; no changes to code. Ticket #3875 . (CVS 6674)
FossilOrigin-Name: dd75e376e8fed4f2e347672d483ee7c1929007cf
2009-05-24 21:59:27 +00:00
drh
091bc7bb16
In the previous, the upper bound on the number of function arguments is
...
127, not 255. Ticket #3876 (CVS 6673)
FossilOrigin-Name: 4fe4c5fac51c0a5b50f839a3f43d786e1ff4a4e0
2009-05-24 11:08:49 +00:00
drh
97602f8593
Correct and clarify the documentation on the third parameter to
...
sqlite3_create_function(). (CVS 6672)
FossilOrigin-Name: 6b7929ed36fa14291b6cb09de5808100945ad7a0
2009-05-24 11:07:49 +00:00
danielk1977
e672c8ed91
Do not transform a WHERE clause of the form "a = ? OR a = ?" to "a IN (?, ?)" if "a" is a column of a virtual table. Ticket #3871 . (CVS 6671)
...
FossilOrigin-Name: fad88e71cf195e703f7b56b13f0c1818fd0dac84
2009-05-22 15:43:26 +00:00
drh
dd1f4321ab
Add an assert() to pcache1.c to double-check that page cache buffer memory
...
is never allocated if pcache1 is not enabled. Ticket #3872 (CVS 6670)
FossilOrigin-Name: 93369d91abe10975507ea9302c145e3ddd0c2c76
2009-05-22 11:12:23 +00:00
drh
f4622dc176
Additional changes to pcache1 to prevent the page buffer memory from being
...
configured if pcache1 is not enabled. Ticket #3872 . (CVS 6669)
FossilOrigin-Name: 5153ad19daf0f3b0334b2a06655142899203abbf
2009-05-22 11:10:24 +00:00
drh
b093719a17
Make sure sqlite3_shutdown() completely disables the default pager cache
...
mechanism in pcache1.c. Ticket #3872 . Also fix some comments associated
with configuring the page cache. (CVS 6668)
FossilOrigin-Name: 6240992cef5cb867d7a638f1906d05aa8efd0652
2009-05-22 10:53:29 +00:00
drh
4fb0866d58
Add omitted word in the documentation for total_change_count().
...
ticket #3870 . (CVS 6667)
FossilOrigin-Name: 3f6fd16f92a16445891142b0a7dc9f6d6dc06546
2009-05-22 01:02:26 +00:00
drh
49145af9f2
Fix an 8-byte alignment problem on HP/UX. Ticket #3869 (CVS 6666)
...
FossilOrigin-Name: fc64f8509299a398ac1513e1778f271083e3eabc
2009-05-22 01:00:12 +00:00
drh
51f49f1745
Simplifications to expr.c in support of full coverage testing. (CVS 6665)
...
FossilOrigin-Name: 309adb5e22af2735b69460c164d870aea99c6da3
2009-05-21 20:41:32 +00:00
drh
157e29a9e3
In the CLI in the ".dump" command, do not attempt to clear the sqlite_sequence
...
table until the first row of content of that table is seen. Ticket #3867 (CVS 6664)
FossilOrigin-Name: bedd5ad1942021ef2b3defde3ff3e8aead86137e
2009-05-21 15:15:00 +00:00
drh
4f32476cea
In the CLI, always "dump" the sqlite_sequence table last. Ticket #3867 (CVS 6663)
...
FossilOrigin-Name: a0028d4808275cb1d020d56344d90b2a04603f4d
2009-05-21 14:51:03 +00:00
danielk1977
1ed93e9085
Add conditional 'extern "C"' block to sqlite3async.h. Ticket #3866 . (CVS 6662)
...
FossilOrigin-Name: e4d1b117c90dca341bfa74291c7dfc2afca38cc6
2009-05-21 04:42:19 +00:00
drh
748ce21115
Fix a memory leak that occurs when an out-of-memory error occurs while
...
preparing a statement that has multiple virtual table updates within
triggers. Other virtual table changes to support full-coverage testing. (CVS 6661)
FossilOrigin-Name: 02b77a582c65e0eb45eb1a9abbdeef11f52d7ce6
2009-05-20 20:10:47 +00:00
drh
9e27890ed9
Remove unused, undocumented, and untested error reporting logic from the
...
xFindFunction interface in virtual tables. (CVS 6660)
FossilOrigin-Name: 55d6ced262f5281076e4a68097ed21e150a9c225
2009-05-20 16:22:02 +00:00
drh
7aaa878619
Updates to the extension loading logic to support full coverage testing. (CVS 6659)
...
FossilOrigin-Name: 929cfbc66f6e2ea6b44417305d0f4ae36567c9bf
2009-05-20 02:40:45 +00:00
drh
43152cf85f
Changes to select.c to facilitate full coverage testing. (CVS 6658)
...
FossilOrigin-Name: f678ed34faab88f4e126e553119773386c7c84fa
2009-05-19 19:04:58 +00:00
drh
367882c27c
Improvements to the SQLITE_INT_TO_PTR macro to reduce the number of
...
warnings. For some platforms it might be necessary to compile with
the -DHAVE_STDINT_H flag. Ticket #3860 . (CVS 6657)
FossilOrigin-Name: 1b0ee9d188c000a2331caae2e9c8b89b0bcbc0b0
2009-05-19 14:21:28 +00:00
drh
e255086bb2
Update the showdb.c utility so that it works with databases larger than 4GiB. (CVS 6656)
...
FossilOrigin-Name: 9675b6223645fe01b202cbefae63f3209a50efcc
2009-05-19 03:21:52 +00:00
danielk1977
8d76ff9fe9
Fix memdb.test so that it works when OMIT_AUTOVACUUM is defined. (CVS 6649)
...
FossilOrigin-Name: 8c3c0c24c82606df41653dbf7324bf9f166c933a
2009-05-18 16:04:38 +00:00
drh
ccfcbcea60
Changes to select.c in support of full coverage testing. (CVS 6647)
...
FossilOrigin-Name: e225f365bd9353f753161887e05fe1eccaf9be1d
2009-05-18 15:46:07 +00:00
drh
5e49edcabb
Fix a typo on a comment associated with check-in (6641) and ticket #3860 . (CVS 6646)
...
FossilOrigin-Name: 43051e0315246d734a81ccef2cf1a0cc159f239b
2009-05-18 13:34:37 +00:00
drh
d2c52f1cfd
Remove debugging code accidently left in check-in (6642). Ticket #3862 . (CVS 6645)
...
FossilOrigin-Name: 0d974613473b9d2af71638248a57036f903ef387
2009-05-17 15:29:31 +00:00
drh
03949bac60
Take care to free the memory for the ORDER BY clause on SELECT statements
...
containing errors and contained within triggers. Ticket #3863 . (CVS 6644)
FossilOrigin-Name: dd665eac8c04259e44a95827ebd1f037460fe1b2
2009-05-17 15:26:20 +00:00
drh
554b3830db
Fix a typo in the sqlite3_blob_open() documentation. (CVS 6643)
...
FossilOrigin-Name: 92866482ef7cc91b5ac7bebec7e6edf900aa64c6
2009-05-17 12:07:47 +00:00
drh
373cc2dd08
Tweaks and simplifications to select.c to facility full coverage testing. (CVS 6642)
...
FossilOrigin-Name: e3ccbc69babd05d45db8065f6612751eda1aa645
2009-05-17 02:06:14 +00:00
drh
875e9e7d88
Attempt to provide a version of the SQLITE_INT_TO_PTR macro that works
...
on both llvm-gcc-4.2 and MSVC. Ticket #3860 . (CVS 6641)
FossilOrigin-Name: ddee7ff23e9a396cab89d20ff9fc4cf3dfd4561c
2009-05-16 17:38:21 +00:00
danielk1977
74632880b7
Re-enable file locking in async4.test. (CVS 6640)
...
FossilOrigin-Name: f7098187280866a56563c7614513a40becd172e0
2009-05-15 14:41:40 +00:00
drh
abda611770
Documentation enhancements for sqlite3_update_hook(), sqlite3_commit_hook(),
...
and the various incremental blob I/O routines. No changes to code. (CVS 6639)
FossilOrigin-Name: e8ca932d8c7e1753c159041499355724d3e78b35
2009-05-14 22:37:47 +00:00
drh
dcd7db5dc9
Change the sqlite3_backup_finish() interface so that calling it with
...
a NULL pointer is a harmless no-op. One other change to backup.c to facilitate
full coverage testing. (CVS 6638)
FossilOrigin-Name: 06bc89177b3af20751d9567a68551d2d31c3fe8b
2009-05-14 19:26:51 +00:00
shane
089b0a4d9c
Documentation updates to better explain the SQLITE_OPEN_EXCLUSIVE flag. Ticket #3855 . (CVS 6637)
...
FossilOrigin-Name: 6bd44f36f46810eb9ce30c7780de6bcfe4aadf5f
2009-05-14 03:21:28 +00:00
drh
8af73d4154
Additional simplifications to build.c in support full coverage testing. (CVS 6636)
...
FossilOrigin-Name: 913d11149396d3dc797f1efeb4f7e60865483399
2009-05-13 22:58:28 +00:00
drh
b7f24de283
Remove incorrect NEVER() macro in the previous check-in (6634). (CVS 6635)
...
FossilOrigin-Name: c684957991fe45cbcb188d2a419501c3f1fdc93f
2009-05-13 17:35:23 +00:00
drh
0449171e0c
Changes to build.c to help facilitate full coverage testing. (CVS 6634)
...
FossilOrigin-Name: 264ace50bbaec3468de0e42b2b8cebf9ce1d6682
2009-05-13 17:21:13 +00:00
danielk1977
24d4b29d5b
Do not run async4.test as part of the "journaltest" permutation. It specifically tests that the asynchronous IO backend can be configured to violate the assumptions made by journaltest. (CVS 6633)
...
FossilOrigin-Name: b19bf39bbae96aeb6e742fb9fb1c33d0e251ad7f
2009-05-13 14:46:09 +00:00
danielk1977
e70f4f6482
When locking a database file, check if any backup objects need to be restarted even if the page cache is empty. Ticket #3858 . (CVS 6632)
...
FossilOrigin-Name: 90309008c35494c7a075fe76f7eb96b09a01d01b
2009-05-13 07:52:06 +00:00
drh
8b4aff3919
Remove debugging comments left in the prior check-in by mistake. (CVS 6631)
...
FossilOrigin-Name: 8207056036e17b99ab660edd650c5a6de1353299
2009-05-12 18:00:37 +00:00
drh
d300171150
Move the sqlite3MinimumFileFormat() routine from build.c over to alter.c
...
since alter.c is the only code that uses it. Additional changes and
cleanup to build.c to facility coverage testing. (CVS 6630)
FossilOrigin-Name: 6fe3750a30ab432ed476c2ae6b58972187abc624
2009-05-12 17:46:53 +00:00
drh
b25a9f4618
Make sure the SQLITE_OPEN_EXCLUSIVE flag is ignored by sqlite3_open_v2().
...
That flag is to be used by the VFS interface only. Ticket #3855 . (CVS 6629)
FossilOrigin-Name: c37f0279ebfaf76b4086e6d16b6e12633424c27d
2009-05-12 13:35:11 +00:00
drh
768578ee2a
Tweaks to build.c to facilitate coverage testing. (CVS 6628)
...
FossilOrigin-Name: 6572b438a02cc44546174e132dfbdc1d141cd451
2009-05-12 00:40:12 +00:00
drh
55f04f281b
If a virtual table constructor returns SQLITE_NOMEM, set the mallocFailed
...
flag in the corresponding database connection to insure that the error
is propagated back to the top layer. (CVS 6627)
FossilOrigin-Name: 5635666f20358e854a76d244768198734afd4299
2009-05-11 23:37:59 +00:00