Lines Matching defs:aRoot
7289 SQLITE_PRIVATE char *sqlite3BtreeIntegrityCheck(Btree*, int *aRoot, int nRoot, int, int*);
52268 ** This routine does a complete check of the given BTree file. aRoot[] is
52270 ** a table. nRoot is the number of entries in aRoot.
52282 int *aRoot, /* An array of root pages numbers for individual trees */
52283 int nRoot, /* Number of entries in aRoot[] */
52329 if( aRoot[i]==0 ) continue;
52331 if( pBt->autoVacuum && aRoot[i]>1 ){
52332 checkPtrmap(&sCheck, aRoot[i], PTRMAP_ROOTPAGE, 0, 0);
52335 checkTreePage(&sCheck, aRoot[i], "List of tree roots: ", NULL, NULL);
59937 int *aRoot; /* Array of rootpage numbers for tables to be checked */
64242 int *aRoot; /* Array of rootpage numbers for tables to be checked */
64251 u.bv.aRoot = sqlite3DbMallocRaw(db, sizeof(int)*(u.bv.nRoot+1) );
64252 if( u.bv.aRoot==0 ) goto no_mem;
64259 u.bv.aRoot[u.bv.j] = (int)sqlite3VdbeIntValue(&pIn1[u.bv.j]);
64261 u.bv.aRoot[u.bv.j] = 0;
64264 u.bv.z = sqlite3BtreeIntegrityCheck(db->aDb[pOp->p5].pBt, u.bv.aRoot, u.bv.nRoot,
64266 sqlite3DbFree(db, u.bv.aRoot);
72339 int aRoot[] = {0, 0};
72362 aRoot[i] = pParse->regRoot;
72368 aRoot[i] = pStat->tnum;
72369 sqlite3TableLock(pParse, iDb, aRoot[i], 1, zTab);
72376 sqlite3VdbeAddOp2(v, OP_Clear, aRoot[i], iDb);
72383 sqlite3VdbeAddOp3(v, OP_OpenWrite, iStatCur+i, aRoot[i], iDb);