Lines Matching defs:aVTrans

9785   int nVTrans;                  /* Allocated size of aVTrans */
9788 VTable **aVTrans; /* Virtual tables with open transactions */
12013 # define sqlite3VtabInSync(db) ((db)->nVTrans>0 && (db)->aVTrans==0)
67525 ** that the db->aVTrans[] array is empty. */
102045 ** Grow the db->aVTrans[] array so that there is room for at least one
102051 /* Grow the sqlite3.aVTrans array if required */
102053 VTable **aVTrans;
102055 aVTrans = sqlite3DbRealloc(db, (void *)db->aVTrans, nBytes);
102056 if( !aVTrans ){
102059 memset(&aVTrans[db->nVTrans], 0, sizeof(sqlite3_vtab *)*ARRAY_INCR);
102060 db->aVTrans = aVTrans;
102067 ** Add the virtual table pVTab to the array sqlite3.aVTrans[]. Space should
102071 /* Add pVtab to the end of sqlite3.aVTrans */
102072 db->aVTrans[db->nVTrans++] = pVTab;
102199 /* Remove the sqlite3_vtab* from the aVTrans[] array, if applicable */
102213 ** of each of the virtual tables in the sqlite3.aVTrans array. The method
102221 if( db->aVTrans ){
102223 VTable *pVTab = db->aVTrans[i];
102233 sqlite3DbFree(db, db->aVTrans);
102235 db->aVTrans = 0;
102240 ** Invoke the xSync method of all virtual tables in the sqlite3.aVTrans
102250 VTable **aVTrans = db->aVTrans;
102252 db->aVTrans = 0;
102255 sqlite3_vtab *pVtab = aVTrans[i]->pVtab;
102263 db->aVTrans = aVTrans;
102269 ** sqlite3.aVTrans array. Then clear the array itself.
102278 ** sqlite3.aVTrans array. Then clear the array itself.
102291 ** in the sqlite3.aVTrans array.
102297 /* Special case: If db->aVTrans is NULL and db->nVTrans is greater
102313 /* If pVtab is already in the aVTrans array, return early */
102315 if( db->aVTrans[i]==pVTab ){
102321 ** sqlite3.aVTrans[] array. */
102353 if( db->aVTrans ){
102356 VTable *pVTab = db->aVTrans[i];
113179 ** tables in the db->aVTrans[] array. The following sqlite3VtabRollback()