Lines Matching defs:aRoot

15754 SQLITE_PRIVATE char *sqlite3BtreeIntegrityCheck(sqlite3*,Btree*,Pgno*aRoot,int nRoot,int,int*);
79285 ** This routine does a complete check of the given BTree file. aRoot[] is
79287 ** a table. nRoot is the number of entries in aRoot.
79297 ** If the first entry in aRoot[] is 0, that indicates that the list of
79303 ** the unverified btrees. Except, if aRoot[1] is 1, then the freelist
79309 Pgno *aRoot, /* An array of root pages numbers for individual trees */
79310 int nRoot, /* Number of entries in aRoot[] */
79324 /* aRoot[0]==0 means this is a partial check */
79325 if( aRoot[0]==0 ){
79328 if( aRoot[1]!=1 ) bCkFreelist = 0;
79383 for(i=0; (int)i<nRoot; i++) if( mx<aRoot[i] ) mx = aRoot[i];
79402 if( aRoot[i]==0 ) continue;
79404 if( pBt->autoVacuum && aRoot[i]>1 && !bPartial ){
79405 checkPtrmap(&sCheck, aRoot[i], PTRMAP_ROOTPAGE, 0);
79408 checkTreePage(&sCheck, aRoot[i], &notUsed, LARGEST_INT64);
97314 Pgno *aRoot; /* Array of rootpage numbers for tables to be checked */
97321 aRoot = pOp->p4.ai;
97323 assert( aRoot[0]==(Pgno)nRoot );
97331 z = sqlite3BtreeIntegrityCheck(db, db->aDb[pOp->p5].pBt, &aRoot[1], nRoot,
114795 u32 aRoot[ArraySize(aTable)];
114824 aRoot[i] = (u32)pParse->regRoot;
114831 aRoot[i] = pStat->tnum;
114832 sqlite3TableLock(pParse, iDb, aRoot[i], 1, zTab);
114844 sqlite3VdbeAddOp2(v, OP_Clear, (int)aRoot[i], iDb);
114852 sqlite3VdbeAddOp4Int(v, OP_OpenWrite, iStatCur+i, (int)aRoot[i], iDb, 3);
135942 int *aRoot; /* Array of root page numbers of all btrees */
135943 int cnt = 0; /* Number of entries in aRoot[] */
135969 aRoot = sqlite3DbMallocRawNN(db, sizeof(int)*(cnt+1));
135970 if( aRoot==0 ) break;
135972 if( pObjTab ) aRoot[++cnt] = 0;
135977 if( HasRowid(pTab) ) aRoot[++cnt] = pTab->tnum;
135979 aRoot[++cnt] = pIdx->tnum;
135982 aRoot[0] = cnt;
135989 sqlite3VdbeAddOp4(v, OP_IntegrityCk, 2, cnt, 1, (char*)aRoot,P4_INTARRAY);
194150 const char *aRoot = 0; /* Pointer to %_segdir.root buffer */
194151 int nRoot = 0; /* Size of aRoot[] in bytes */
194167 aRoot = sqlite3_column_blob(pSelect, 4);
194168 if( aRoot==0 ){
194205 int nHeight = (int)aRoot[0];
194228 memcpy(pNode->block.a, aRoot, nRoot);
194573 const char *aRoot = sqlite3_column_blob(pFetch, 4);
194576 rc = fts3TruncateNode(aRoot, nRoot, &root, zTerm, nTerm, &iBlock);