diff options
author | dan <dan@noemail.net> | 2014-08-15 20:15:49 +0000 |
---|---|---|
committer | dan <dan@noemail.net> | 2014-08-15 20:15:49 +0000 |
commit | 73b3c055904e82ad4e4f1081ee42413a31c8efc9 (patch) | |
tree | 874af5c40bc30759a8475dd122293e9f6844b3e8 /ext/session/sqlite3session.h | |
parent | f3a3dfe9f1d931c7b46369d69d4ed573a4f15d66 (diff) | |
download | sqlite-73b3c055904e82ad4e4f1081ee42413a31c8efc9.tar.gz sqlite-73b3c055904e82ad4e4f1081ee42413a31c8efc9.zip |
Begin adding the sqlite3session_patchset() API to the sessions extension. This is an interim commit.
FossilOrigin-Name: 60a4565a8c44762a002cd02979317df5ca47e899
Diffstat (limited to 'ext/session/sqlite3session.h')
-rw-r--r-- | ext/session/sqlite3session.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/session/sqlite3session.h b/ext/session/sqlite3session.h index 974a770c7..de4ee77b9 100644 --- a/ext/session/sqlite3session.h +++ b/ext/session/sqlite3session.h @@ -274,6 +274,15 @@ int sqlite3session_changeset( ); /* +** CAPI3REF: Generate A Patchset From A Session Object +*/ +int sqlite3session_patchset( + sqlite3_session *pSession, /* Session object */ + int *pnPatchset, /* OUT: Size of buffer at *ppChangeset */ + void **ppPatchset /* OUT: Buffer containing changeset */ +); + +/* ** CAPI3REF: Test if a changeset has recorded any changes. ** ** Return non-zero if no changes to attached tables have been recorded by |