From 18657a960e125336f704ea058e25c27bd3900dcb Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 5 May 2024 19:28:19 +0200 Subject: Adding upstream version 3.40.1. Signed-off-by: Daniel Baumann --- www/session/sqlite3changegroup_output.html | 148 +++++++++++++++++++++++++++++ 1 file changed, 148 insertions(+) create mode 100644 www/session/sqlite3changegroup_output.html (limited to 'www/session/sqlite3changegroup_output.html') diff --git a/www/session/sqlite3changegroup_output.html b/www/session/sqlite3changegroup_output.html new file mode 100644 index 0000000..5cea844 --- /dev/null +++ b/www/session/sqlite3changegroup_output.html @@ -0,0 +1,148 @@ + + + + + +Obtain A Composite Changeset From A Changegroup + + + +
+ + + +
+
+Small. Fast. Reliable.
Choose any three. +
+ + +
+
+ + + +
+
+
+ +

Session Module C Interface

Obtain A Composite Changeset From A Changegroup

int sqlite3changegroup_output(
+  sqlite3_changegroup*,
+  int *pnData,                    /* OUT: Size of output buffer in bytes */
+  void **ppData                   /* OUT: Pointer to output buffer */
+);
+

+Obtain a buffer containing a changeset (or patchset) representing the +current contents of the changegroup. If the inputs to the changegroup +were themselves changesets, the output is a changeset. Or, if the +inputs were patchsets, the output is also a patchset.

+ +

As with the output of the sqlite3session_changeset() and +sqlite3session_patchset() functions, all changes related to a single +table are grouped together in the output of this function. Tables appear +in the same order as for the very first changeset added to the changegroup. +If the second or subsequent changesets added to the changegroup contain +changes for tables that do not appear in the first changeset, they are +appended onto the end of the output changeset, again in the order in +which they are first encountered.

+ +

If an error occurs, an SQLite error code is returned and the output +variables (*pnData) and (*ppData) are set to 0. Otherwise, SQLITE_OK +is returned and the output variables are set to the size of and a +pointer to the output buffer, respectively. In this case it is the +responsibility of the caller to eventually free the buffer using a +call to sqlite3_free(). +

See also lists of + Objects, + Constants, and + Functions.

+ -- cgit v1.2.3