• Home
  • Raw
  • Download

Lines Matching refs:pScan

6070   IdxScan *pScan;                 /* List of scan objects */  member
6368 IdxScan *pScan; in expertBestIndex() local
6374 pScan = idxMalloc(&rc, sizeof(IdxScan)); in expertBestIndex()
6375 if( pScan ){ in expertBestIndex()
6379 pScan->pTab = p->pTab; in expertBestIndex()
6380 pScan->pNextScan = p->pExpert->pScan; in expertBestIndex()
6381 p->pExpert->pScan = pScan; in expertBestIndex()
6397 pNew->pNext = pScan->pEq; in expertBestIndex()
6398 pScan->pEq = pNew; in expertBestIndex()
6401 pNew->pNext = pScan->pRange; in expertBestIndex()
6402 pScan->pRange = pNew; in expertBestIndex()
6418 pNew->pNext = pScan->pOrder; in expertBestIndex()
6419 pNew->pLink = pScan->pOrder; in expertBestIndex()
6420 pScan->pOrder = pNew; in expertBestIndex()
6773 IdxScan *pScan, /* Scan for table to search for index on */ in idxFindCompatible() argument
6777 const char *zTbl = pScan->pTab->zName; in idxFindCompatible()
6839 IdxScan *pScan, in idxCreateFromCons() argument
6845 if( (pEq || pTail) && 0==idxFindCompatible(&rc, dbm, pScan, pEq, pTail) ){ in idxCreateFromCons()
6846 IdxTable *pTab = pScan->pTab; in idxCreateFromCons()
6862 const char *zTable = pScan->pTab->zName; in idxCreateFromCons()
6908 IdxScan *pScan, /* Create indexes for this scan */ in idxCreateFromWhere() argument
6916 for(pCon=pScan->pEq; pCon; pCon=pCon->pNext){ in idxCreateFromWhere()
6925 rc = idxCreateFromCons(p, pScan, p1, pTail); in idxCreateFromWhere()
6930 for(pCon=pScan->pRange; rc==SQLITE_OK && pCon; pCon=pCon->pNext){ in idxCreateFromWhere()
6933 rc = idxCreateFromCons(p, pScan, p1, pCon); in idxCreateFromWhere()
6949 for(pIter=p->pScan; pIter && rc==SQLITE_OK; pIter=pIter->pNextScan){ in idxCreateCandidates()
6976 static void idxScanFree(IdxScan *pScan, IdxScan *pLast){ in idxScanFree() argument
6979 for(p=pScan; p!=pLast; p=pNext){ in idxScanFree()
7749 IdxScan *pScanOrig = p->pScan; in sqlite3_expert_sql()
7780 idxScanFree(p->pScan, pScanOrig); in sqlite3_expert_sql()
7782 p->pScan = pScanOrig; in sqlite3_expert_sql()
7869 idxScanFree(p->pScan, 0); in sqlite3_expert_destroy()