Home | History | Annotate | Download | only in orig

Lines Matching defs:iSavepoint

9737 SQLITE_PRIVATE int sqlite3PagerSavepoint(Pager *pPager, int op, int iSavepoint);
10904 int iSavepoint; /* Depth of the SAVEPOINT stack */
46767 ** index iSavepoint. If it is SAVEPOINT_ROLLBACK, then rollback all changes
46771 ** iSavepoint. A value of 0 means to operate on the outermost savepoint
46773 ** on the most recently created savepoint. If iSavepoint is greater than
46782 ** In any case, all savepoints with an index greater than iSavepoint
46784 ** then savepoint iSavepoint is also destroyed.
46790 SQLITE_PRIVATE int sqlite3PagerSavepoint(Pager *pPager, int op, int iSavepoint){
46794 assert( iSavepoint>=0 || op==SAVEPOINT_ROLLBACK );
46796 if( rc==SQLITE_OK && iSavepoint<pPager->nSavepoint ){
46804 nNew = iSavepoint + (( op==SAVEPOINT_RELEASE ) ? 0 : 1);
55070 ** savepoint identified by parameter iSavepoint, depending on the value
55073 ** Normally, iSavepoint is greater than or equal to zero. However, if op is
55074 ** SAVEPOINT_ROLLBACK, then iSavepoint may also be -1. In this case the
55079 SQLITE_PRIVATE int sqlite3BtreeSavepoint(Btree *p, int op, int iSavepoint){
55084 assert( iSavepoint>=0 || (iSavepoint==-1 && op==SAVEPOINT_ROLLBACK) );
55086 rc = sqlite3PagerSavepoint(pBt->pPager, op, iSavepoint);
55088 if( iSavepoint<0 && (pBt->btsFlags & BTS_INITIALLY_EMPTY)!=0 ){
64411 const int iSavepoint = p->iStatement-1;
64422 rc2 = sqlite3BtreeSavepoint(pBt, SAVEPOINT_ROLLBACK, iSavepoint);
64425 rc2 = sqlite3BtreeSavepoint(pBt, SAVEPOINT_RELEASE, iSavepoint);
64437 iSavepoint);
64440 rc = sqlite3VtabSavepoint(db, SAVEPOINT_RELEASE, iSavepoint);
70773 int iSavepoint;
70833 iSavepoint = 0;
70842 iSavepoint++;
70876 iSavepoint = db->nSavepoint - iSavepoint - 1;
70883 rc = sqlite3BtreeSavepoint(db->aDb[ii].pBt, p1, iSavepoint);
70921 rc = sqlite3VtabSavepoint(db, p1, iSavepoint);
110130 pVTab->iSavepoint = 0;
110232 ** virtual tables that currently have an open transaction. Pass iSavepoint
110245 SQLITE_PRIVATE int sqlite3VtabSavepoint(sqlite3 *db, int op, int iSavepoint){
110249 assert( iSavepoint>=0 );
110260 pVTab->iSavepoint = iSavepoint+1;
110269 if( xMethod && pVTab->iSavepoint>iSavepoint ){
110270 rc = xMethod(pVTab->pVtab, iSavepoint);
130495 static int fts3SavepointMethod(sqlite3_vtab *pVtab, int iSavepoint){
130497 UNUSED_PARAMETER(iSavepoint);
130499 assert( ((Fts3Table *)pVtab)->mxSavepoint < iSavepoint );
130500 TESTONLY( ((Fts3Table *)pVtab)->mxSavepoint = iSavepoint );
130512 static int fts3ReleaseMethod(sqlite3_vtab *pVtab, int iSavepoint){
130514 UNUSED_PARAMETER(iSavepoint);
130517 assert( p->mxSavepoint >= iSavepoint );
130518 TESTONLY( p->mxSavepoint = iSavepoint-1 );
130527 static int fts3RollbackToMethod(sqlite3_vtab *pVtab, int iSavepoint){
130529 iSavepoint);
130531 assert( p->mxSavepoint >= iSavepoint );
130532 TESTONLY( p->mxSavepoint = iSavepoint );