Lines Matching refs:iSavepoint
8731 SQLITE_PRIVATE int sqlite3PagerSavepoint(Pager *pPager, int op, int iSavepoint);
9886 int iSavepoint; /* Depth of the SAVEPOINT stack */ member
43717 SQLITE_PRIVATE int sqlite3PagerSavepoint(Pager *pPager, int op, int iSavepoint){
43721 assert( iSavepoint>=0 || op==SAVEPOINT_ROLLBACK );
43723 if( rc==SQLITE_OK && iSavepoint<pPager->nSavepoint ){
43731 nNew = iSavepoint + (( op==SAVEPOINT_RELEASE ) ? 0 : 1);
51651 SQLITE_PRIVATE int sqlite3BtreeSavepoint(Btree *p, int op, int iSavepoint){
51656 assert( iSavepoint>=0 || (iSavepoint==-1 && op==SAVEPOINT_ROLLBACK) );
51658 rc = sqlite3PagerSavepoint(pBt->pPager, op, iSavepoint);
51660 if( iSavepoint<0 && pBt->initiallyEmpty ) pBt->nPage = 0;
60332 const int iSavepoint = p->iStatement-1;
60343 rc2 = sqlite3BtreeSavepoint(pBt, SAVEPOINT_ROLLBACK, iSavepoint);
60346 rc2 = sqlite3BtreeSavepoint(pBt, SAVEPOINT_RELEASE, iSavepoint);
60358 rc = sqlite3VtabSavepoint(db, SAVEPOINT_ROLLBACK, iSavepoint);
60361 rc = sqlite3VtabSavepoint(db, SAVEPOINT_RELEASE, iSavepoint);
63802 int iSavepoint;
66147 int iSavepoint;
66206 u.aq.iSavepoint = 0;
66215 u.aq.iSavepoint++;
66253 u.aq.iSavepoint = db->nSavepoint - u.aq.iSavepoint - 1;
66255 rc = sqlite3BtreeSavepoint(db->aDb[u.aq.ii].pBt, u.aq.p1, u.aq.iSavepoint);
66292 rc = sqlite3VtabSavepoint(db, u.aq.p1, u.aq.iSavepoint);
100043 pVTab->iSavepoint = 0;
100161 SQLITE_PRIVATE int sqlite3VtabSavepoint(sqlite3 *db, int op, int iSavepoint){
100165 assert( iSavepoint>=0 );
100176 pVTab->iSavepoint = iSavepoint+1;
100185 if( xMethod && pVTab->iSavepoint>iSavepoint ){
100186 rc = xMethod(db->aVTrans[i]->pVtab, iSavepoint);
117331 static int fts3SavepointMethod(sqlite3_vtab *pVtab, int iSavepoint){
117332 UNUSED_PARAMETER(iSavepoint);
117334 assert( ((Fts3Table *)pVtab)->mxSavepoint < iSavepoint );
117335 TESTONLY( ((Fts3Table *)pVtab)->mxSavepoint = iSavepoint );
117344 static int fts3ReleaseMethod(sqlite3_vtab *pVtab, int iSavepoint){
117346 UNUSED_PARAMETER(iSavepoint);
117349 assert( p->mxSavepoint >= iSavepoint );
117350 TESTONLY( p->mxSavepoint = iSavepoint-1 );
117359 static int fts3RollbackToMethod(sqlite3_vtab *pVtab, int iSavepoint){
117361 UNUSED_PARAMETER(iSavepoint);
117363 assert( p->mxSavepoint >= iSavepoint );
117364 TESTONLY( p->mxSavepoint = iSavepoint );