Lines Matching defs:rebase

12147 ** may set (*ppRebase) to point to a "rebase" that may be used with the
12395 ** In order to rebase a local changeset, the remote changeset must first
12397 ** the buffer of rebase information captured. Then:
12402 ** <li> The new object is configured with the rebase buffer obtained from
12430 ** Configure the changeset rebaser object to rebase changesets according
215771 ** A rebase blob may be output by sqlite3changeset_apply_v2() and its
215772 ** streaming equivalent for use with the sqlite3_rebaser APIs to rebase
215773 ** existing changesets. A rebase blob contains one entry for each conflict
215777 ** The format used for a rebase blob is very similar to that used for
215793 ** In a rebase blob, the first field is set to SQLITE_INSERT if the change
219299 SessionBuffer rebase; /* Rebase information (if any) here */
219300 u8 bRebaseStarted; /* If table header is already in rebase */
219301 u8 bRebase; /* True to collect rebase information */
219740 ** SessionApplyCtx.rebase, which will eventually be returned to the caller
219741 ** of apply_v2() as the "rebase" buffer.
219755 /* Append a table-header to the rebase buffer */
219757 sessionAppendByte(&p->rebase, 'T', &rc);
219758 sessionAppendVarint(&p->rebase, p->nCol, &rc);
219759 sessionAppendBlob(&p->rebase, p->abPK, p->nCol, &rc);
219760 sessionAppendBlob(&p->rebase, (u8*)zTab, (int)strlen(zTab)+1, &rc);
219767 sessionAppendByte(&p->rebase,
219770 sessionAppendByte(&p->rebase, (eType==SQLITE_CHANGESET_REPLACE), &rc);
219778 sessionAppendValue(&p->rebase, pVal, &rc);
220340 assert( sApply.bRebase || sApply.rebase.nBuf==0 );
220342 *ppRebase = (void*)sApply.rebase.aBuf;
220343 *pnRebase = sApply.rebase.nBuf;
220344 sApply.rebase.aBuf = 0;
220352 sqlite3_free((char*)sApply.rebase.aBuf);
220482 int bRebase, /* True for a rebase hash-table */
221021 ** old.* and new.* records for the change. The rebase buffer (a single
221028 ** in the rebase buffer is set to "replaced" (type 0xFF). If this
221033 ** corresponding field in the rebase buffer is not "undefined" (0x00)
221035 ** in the rebase buffer.
221041 u8 *aChange, int nChange, /* Record to rebase against */