SQLITE3CHANGESET_CONCAT(3) | Library Functions Manual | SQLITE3CHANGESET_CONCAT(3) |
sqlite3changeset_concat
—
sqlite3changeset_concat
(int nA,
void *pA, int nB,
void *pB, int *pnOut,
void **ppOut );
This function combines the two input changesets using an sqlite3_changegroup object. Calling it produces similar results as the following code fragment:
sqlite3_changegroup *pGrp; rc = sqlite3_changegroup_new(&pGrp); if( rc==SQLITE_OK ) rc = sqlite3changegroup_add(pGrp, nA, pA); if( rc==SQLITE_OK ) rc = sqlite3changegroup_add(pGrp, nB, pB); if( rc==SQLITE_OK ){ rc = sqlite3changegroup_output(pGrp, pnOut, ppOut); }else{ *ppOut = 0; *pnOut = 0; }
Refer to the sqlite3_changegroup documentation below for details.
December 19, 2018 | NetBSD 9.0 |