drh
860e077a7a
Fix the sqlite3_prepare() family of interfaces so that they zero the *ppStmt
...
value even on an SQLITE_MISUSE return. Make it clear in the documentation
that the ppStmt parameter cannot be zero. (CVS 6441)
FossilOrigin-Name: 23bf9f266559603e37b2703715eaf8ef5af6bb17
2009-04-02 18:32:26 +00:00
drh
7555d8ec40
Rename the unused MEM2 static mutex to OPEN and reuse it to serialize access
...
to the sqlite3BtreeOpen() routine to prevent a race condition on detection
of sharable caches. Ticket #3735 . (CVS 6363)
FossilOrigin-Name: 19fa5a29b97f017a9e176e48c848100299ba6920
2009-03-20 13:15:30 +00:00
drh
8948747d8d
Additional hyperlinks in the sqlite3_unlock_notify() documentation. (CVS 6349)
...
FossilOrigin-Name: 4dae5f6ed1662ca1c5c26d57049f7d349299468c
2009-03-16 13:37:02 +00:00
danielk1977
404ca07578
Add the sqlite3_unlock_notify() API. (CVS 6348)
...
FossilOrigin-Name: b649a6cc5bfefddd6a04b1183647d2923e0a0daa
2009-03-16 13:19:36 +00:00
drh
8b39db1c83
Move the text of C-API requirements out of the sqlite.h.in source file and
...
into separate files in the "docsrc" CM system. Comment changes only - no
changes to code. (CVS 6303)
FossilOrigin-Name: 419eb48b6b4238526850091eef28af503b6c4579
2009-02-18 18:37:58 +00:00
drh
aff46970a7
Add additional cross-references from API documentation to other documents.
...
Comment changes only; no changes to code. (CVS 6290)
FossilOrigin-Name: 97203a0ad7a7ddfae04daf99558389b0589fc170
2009-02-12 17:07:34 +00:00
drh
46f33ef93c
Continuing documentation refinements. Comment changes only. (CVS 6284)
...
FossilOrigin-Name: 83e8308435be8c954fe7a347a64f28abcb81437b
2009-02-11 15:23:35 +00:00
drh
ae1a880719
Add hyperlinks from sqlite3_limit() documention to the limits.html page.
...
Comment changes only - no changes to code. (CVS 6282)
FossilOrigin-Name: f0189ec8c9b5d1dfe1f5d93746cc7b5703a80de5
2009-02-11 15:04:40 +00:00
drh
52224a73f1
Create links from backup API documentation to the backup application note.
...
Comment changes only - no changes to code. (CVS 6275)
FossilOrigin-Name: 85de23fb4e63e5c71480c4c34efec331e774d7fb
2009-02-10 13:41:42 +00:00
danielk1977
03ab035796
Changes to the backup API: (1) if a negative number is passed as the second argument to backup_step(), this is interpreted as "copy all remaining pages" and (2) if backup_finish() is called after backup_step() fails with a BUSY or LOCKED error, then this error is also returned by backup_finish() (same handling as for other errors encountered by backup_step()). (CVS 6266)
...
FossilOrigin-Name: 9b8c8b18cf6b7d44d5fd64760537bc030097756b
2009-02-06 05:59:44 +00:00
drh
c7a3bb94c2
Make the pending byte adjustable via sqlite3_test_control() on all builds,
...
not just on test builds. (CVS 6263)
FossilOrigin-Name: e8f192e2a93350a136d86bd9caceff65f52f3513
2009-02-05 16:31:45 +00:00
drh
662c58c9ba
Must hold mutex on the destination during backups. Add documentation to
...
warn programmers that attempting to use the destination connection during
a backup can lead to deadlock. (CVS 6246)
FossilOrigin-Name: 5f6c06b974f26532264467ace603b6f1f830fba9
2009-02-03 21:13:07 +00:00
drh
62b5d2d8e6
More adjustments to the backup API documentation. No changes to code. (CVS 6243)
...
FossilOrigin-Name: ca650879d3168d4475a33430300a0e8ac806facf
2009-02-03 18:47:22 +00:00
drh
27b3b84796
Tweaks to the backup API documentation contained in comments. No changes
...
to code. (CVS 6242)
FossilOrigin-Name: 6298bcca14bc0dd447198430af4147a3673963fc
2009-02-03 18:25:13 +00:00
danielk1977
0410302e58
Commit first version of the 'backup' feature. (CVS 6241)
...
FossilOrigin-Name: 663479b417fc06ba1790a544f28694f8797cee57
2009-02-03 16:51:24 +00:00
danielk1977
e1fd508a28
Optimization: When loading a new page into the cache, avoid redundant memset() calls to zero it. (CVS 6201)
...
FossilOrigin-Name: 9c0b9f881367871105965d4268e2f2cde7f4d884
2009-01-23 16:45:00 +00:00
danielk1977
ab9b703fde
Invoke the authorization callback when compiling SAVEPOINT, ROLLBACK TO and RELEASE commands. (CVS 6074)
...
FossilOrigin-Name: e49807b16f7f86d3f2290d6c1f7562f3db6330f9
2008-12-30 06:24:58 +00:00
drh
66e8008404
Make sure the memory returned from sqlite3ScratchMalloc() is 8-byte aligned.
...
Ticket #3542 . (CVS 6031)
FossilOrigin-Name: 13b56b7ff97c3abc116dae934f6d1330bbb7762d
2008-12-16 13:46:29 +00:00
drh
49c3d5735d
New hyperlinks added to C interface documentation. No changes to working code. (CVS 6030)
...
FossilOrigin-Name: 230cb68e07ec791fa4a46dee8506716d52a99426
2008-12-15 22:51:38 +00:00
drh
032ca70167
Remove some obsolete markup from sqlite.h.in. (CVS 6002)
...
FossilOrigin-Name: d1d05e2a8a6e474e4921742ba055200d7f4d21ce
2008-12-10 11:44:30 +00:00
drh
1875f7a3db
The amalgamation now compiles cleanly on GCC with options
...
-pedantic-errors -Wno-long-long. (CVS 5991)
FossilOrigin-Name: 73c7302c5f76a2f61ecd75f8bda69bb500d3119c
2008-12-08 18:19:17 +00:00
aswift
aebf413d9a
Added support for proxy file locking style
...
Added pragma support for controlling proxy file locking
Added file control access to last errno and proxy locking
Added support for TMPDIR environment variable
Extended unit tests to cover new proxy locking pragmas and file control features (CVS 5934)
FossilOrigin-Name: b9bc36d3d5e35821ef69c0881a84c0afed253c9e
2008-11-21 00:10:35 +00:00
drh
b232c23297
Add an alternative application-defined pcache implementation and add test
...
cases to permutations.test to invoke it. Added the SQLITE_CONFIG_GETPCACHE
method to sqlite3_config(). (CVS 5920)
FossilOrigin-Name: 16f1e6ec2ad92f68c0079a0c2b5ca08a3b4af816
2008-11-19 01:20:26 +00:00
drh
2161474f62
Application-defined page cache documentation updates. (CVS 5916)
...
FossilOrigin-Name: db0f1203591fcc4c554c47cdf28abe279cf7f1d5
2008-11-18 19:18:08 +00:00
danielk1977
bc2ca9eb39
Add an API to support custom page cache implementations. (CVS 5899)
...
FossilOrigin-Name: 47866d6708e9b69e367937fd85f93580fd025447
2008-11-13 14:28:28 +00:00
drh
2e904c5f9e
Fix the documentation of the SQLITE_FUNCTION authorizer code so that it
...
agrees with how SQLite has always behaved. Ticket #3489 . (CVS 5876)
FossilOrigin-Name: 806b6ed202292e386ac3e51cebcfb67f3870cd2f
2008-11-10 23:54:05 +00:00
shane
2479de3a20
Removed a few more small parts of memsys6 code, including some config and test code for it; (CVS 5872)
...
FossilOrigin-Name: a11241d6fbc9e0408d5adc73d494b85124d2d609
2008-11-10 18:05:35 +00:00
shane
7ba429a61c
Fixed typos; Consistent use of Mac OS X name; (CVS 5870)
...
FossilOrigin-Name: dfc94743378e576ecc5c567ae4020bf9594a3fb9
2008-11-10 17:08:49 +00:00
drh
4c17c3fb11
Add documentation to make it clear that short reads from xRead in the VFS
...
must be zero-filled. (CVS 5867)
FossilOrigin-Name: fb311d6f4098a08f05b3fac9a2a7e2a53c38bb5f
2008-11-07 00:06:18 +00:00
drh
2838b47234
Enhance documentation of sqlite3_db_mutex(). (CVS 5861)
...
FossilOrigin-Name: 3aed410ab08557ec92101e5d7c4c90ba50555ddc
2008-11-04 14:48:22 +00:00
drh
4413d0e976
Add the sqlite3_db_mutex() interface. No test cases yet. (CVS 5859)
...
FossilOrigin-Name: d95de32e8ded397adeef8f7a29b87bc85669ac95
2008-11-04 13:46:27 +00:00
drh
99dfe5eb47
Add the sqlite3_extended_errcode() interface. Change to return
...
SQLITE_BUSY instead of SQLITE_ERROR when a COMMIT is attempted and one
or more queries are still pending. (CVS 5850)
FossilOrigin-Name: 4c6a90a16627b1664bf7f15ab40b440b3bd60b48
2008-10-30 15:03:15 +00:00
drh
7b228b3e39
Fix a typo in documentation. Ticket #3447 . (CVS 5829)
...
FossilOrigin-Name: 5ce2ddffea807d45318619cc9e259a99dfa14346
2008-10-17 15:10:37 +00:00
shane
eec556d3b7
Added SQLITE_OMIT_DEPRECATED compile time option to leave out deprecated functions. Updated test scripts to skip tests of deprecated functions if they are compiled out. (CVS 5808)
...
FossilOrigin-Name: ba3711acee6f4659bbf133a23d8f9f37e14d0f38
2008-10-12 00:27:53 +00:00
drh
f8cecdab84
Add the SQLITE_OMIT_TRUNCATE_OPTIMIZATION option. Other unrelated
...
documentation enhancements. (CVS 5798)
FossilOrigin-Name: fab4940d54fd1e5459a3d0d9b64b491e6972fd8d
2008-10-10 23:48:25 +00:00
drh
adfae6c68b
Documentation updates. No changes to code. (CVS 5793)
...
FossilOrigin-Name: 07b5f70317a0b2d32df86a01bdeec79ead00f68c
2008-10-10 17:26:35 +00:00
drh
d1d384888b
Add the experimental sqlite3_stmt_status() interface. (CVS 5781)
...
FossilOrigin-Name: de473efb35ffdf9a8222a70a84dfd7d3198c87c1
2008-10-07 23:46:38 +00:00
drh
25ef8f1c2c
Fix a typo that prevents the sqlite3_sql() interface from appearing
...
in the official documentation. (CVS 5761)
FossilOrigin-Name: b46814b202f4cc355b925551c90ea811f3f9e44a
2008-10-02 14:33:56 +00:00
drh
4d6618f9ed
Get rid of all of the compiler magic associated with SQLITE_EXPERIMENTAL
...
and SQLITE_DEPRECATED. It was causing more problems than it was solving.
Ticket #3395 et al. (CVS 5732)
FossilOrigin-Name: bc040073c7c059e91fddece27f99fa359cc1405d
2008-09-22 17:54:46 +00:00
drh
c807542bcf
Documentation updates: Describe recursion capabilities for the various
...
callbacks. (CVS 5688)
FossilOrigin-Name: edd80811d702bc0d7a25199d193c04ea057df4de
2008-09-10 13:09:23 +00:00
drh
afacce0a4d
API documentation updates for threading mode. (CVS 5667)
...
FossilOrigin-Name: fa237c14c8551315ea8f239e89a81b7725675c81
2008-09-02 21:35:03 +00:00
shane
a8b34b5630
Added (_MSC_VER>1200) to SQLITE_DEPRECATED and SQLITE_EXPERIMENTAL defines since __declspec(deprecated) isn't supported by VC 6 or earlier. Ticket #3347 . (CVS 5656)
...
FossilOrigin-Name: 4bcaed08a1b50aef9f4f8a447a35d8678df92050
2008-09-01 22:06:23 +00:00
danielk1977
075c23af26
Begin adding support for the SQLITE_OMIT_WSD macro. Some (many) WSD variables still need wrappers added to them. (CVS 5652)
...
FossilOrigin-Name: 573d92abb9adb1c321ebc2fcadcf14374213b093
2008-09-01 18:34:20 +00:00
drh
c178ba88a4
Add the SQLITE_OPEN_FULLMUTEX definition to sqlite3.h. It currently is not
...
valid for anything. This is merely to reserve the number. (CVS 5612)
FossilOrigin-Name: 3b6ffb4492b6c43897692c49dcccbfb55963a46c
2008-08-25 21:23:01 +00:00
aswift
5b1a256663
Added SQLITE_IOERR_LOCK extended error code and support for detecting and returning errors in the os_unix lock, unlock and check reserved lock variants, also added support for populating and returning system error codes so that they can be accessed via xGetLastError, unfortunately xGetLastError can't seem to access the unixFile structure where the lastErrno is recorded. (CVS 5586)
...
FossilOrigin-Name: c1af14e2b6bf5af0aff3df3adbe8cb9aabe1c4a3
2008-08-22 00:22:35 +00:00
drh
7b37c5d818
Documentation updates and clarifications in sqlite.h.in. (CVS 5557)
...
FossilOrigin-Name: e3935502fdca486613c8116b6057bfdd37545e58
2008-08-12 14:51:29 +00:00
shane
20698d5cbc
GCC attribute warning first appears in the 4.3.0 docs, so updated #if to specify at least that version. (CVS 5555)
...
FossilOrigin-Name: 46defad516bccb9921326bb4750251a3f7b5a869
2008-08-11 20:07:47 +00:00
drh
ec0a0c8c35
The GCC magic to warn about experimental interfaces does not work
...
on gcc version 4.1.0. Add #ifdefs to work around this. (CVS 5552)
FossilOrigin-Name: 90cae83169de980c6548ca6b57f4c65419e8eb13
2008-08-11 18:29:38 +00:00
shane
a79c3cc4ec
Added SQLITE_EXPERIMENTAL and SQLITE_DEPRECATED tags to APIs to take advantage of compiler warnings (with the necessary function attributes.) Ticket #3142 . (CVS 5551)
...
FossilOrigin-Name: 5f4b547aba56564cebfdd442d2171c1c8c2979ba
2008-08-11 17:27:01 +00:00
danielk1977
eaed356dc2
Fix typo in comments in sqlite.h.in. Ticket #3271 . (CVS 5543)
...
FossilOrigin-Name: 18030631e82c70e0d4d6093cd43fb0c0fa6d53c8
2008-08-06 13:40:13 +00:00