Lines Matching refs:pIx
6053 Index *pIx = pLoop->u.btree.pIndex; in sqlite3WhereBegin() local
6058 if( !HasRowid(pTab) && IsPrimaryKeyIndex(pIx) in sqlite3WhereBegin()
6069 while( ALWAYS(pJ) && pJ!=pIx ){ in sqlite3WhereBegin()
6080 if( pIx->bHasExpr && OptimizationEnabled(db, SQLITE_IndexedExpr) ){ in sqlite3WhereBegin()
6081 whereAddIndexedExpr(pParse, pIx, iIndexCur, pTabItem); in sqlite3WhereBegin()
6085 assert( pIx!=0 ); in sqlite3WhereBegin()
6086 assert( pIx->pSchema==pTab->pSchema ); in sqlite3WhereBegin()
6089 sqlite3VdbeAddOp3(v, op, iIndexCur, pIx->tnum, iDb); in sqlite3WhereBegin()
6090 sqlite3VdbeSetP4KeyInfo(pParse, pIx); in sqlite3WhereBegin()
6100 VdbeComment((v, "%s", pIx->zName)); in sqlite3WhereBegin()
6105 for(ii=0; ii<pIx->nColumn; ii++){ in sqlite3WhereBegin()
6106 jj = pIx->aiColumn[ii]; in sqlite3WhereBegin()
6404 Index *pIx = pLevel->u.pCoveringIdx; in sqlite3WhereEnd() local
6405 int iDb = sqlite3SchemaToIndex(db, pIx->pSchema); in sqlite3WhereEnd()
6406 sqlite3VdbeAddOp3(v, OP_ReopenIdx, pLevel->iIdxCur, pIx->tnum, iDb); in sqlite3WhereEnd()
6407 sqlite3VdbeSetP4KeyInfo(pParse, pIx); in sqlite3WhereEnd()