aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordan <dan@noemail.net>2014-11-13 14:30:56 +0000
committerdan <dan@noemail.net>2014-11-13 14:30:56 +0000
commit8ac1a67eff83ed80083e94deb70a366cf1a9568e (patch)
tree1c69ab0d684a7feaf7bbf3b3924f5d50ce1c0276 /src
parentfad01993b7f9a5d519dd5d344dd5e4c8a44ccc06 (diff)
downloadsqlite-8ac1a67eff83ed80083e94deb70a366cf1a9568e.tar.gz
sqlite-8ac1a67eff83ed80083e94deb70a366cf1a9568e.zip
Modify the documentation for sqlite3_backup_init() to indicate that it will fail if there is already a read or read-write transaction open on the destination database.
FossilOrigin-Name: ef03a203351a6002e2b1075139717e4234c816cd
Diffstat (limited to 'src')
-rw-r--r--src/sqlite.h.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sqlite.h.in b/src/sqlite.h.in
index 2812bf511..4427f39d0 100644
--- a/src/sqlite.h.in
+++ b/src/sqlite.h.in
@@ -6848,6 +6848,10 @@ typedef struct sqlite3_backup sqlite3_backup;
** must be different or else sqlite3_backup_init(D,N,S,M) will fail with
** an error.
**
+** ^A call to sqlite3_backup_init() will fail, returning SQLITE_ERROR, if
+** there is already a read or read-write transaction open on the
+** destination database.
+**
** ^If an error occurs within sqlite3_backup_init(D,N,S,M), then NULL is
** returned and an error code and error message are stored in the
** destination [database connection] D.