Lines Matching refs:pIdx
39 Index *pIdx; /* For looping over indices */ in sqliteUpdate() local
105 for(pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext){ in sqliteUpdate()
161 for(nIdx=nIdxTotal=0, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, nIdxTotal++){ in sqliteUpdate()
165 for(i=0; i<pIdx->nColumn; i++){ in sqliteUpdate()
166 if( aXRef[pIdx->aiColumn[i]]>=0 ) break; in sqliteUpdate()
169 if( i<pIdx->nColumn ) nIdx++; in sqliteUpdate()
176 for(nIdx=j=0, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, j++){ in sqliteUpdate()
180 for(i=0; i<pIdx->nColumn; i++){ in sqliteUpdate()
181 if( aXRef[pIdx->aiColumn[i]]>=0 ) break; in sqliteUpdate()
184 if( i<pIdx->nColumn ){ in sqliteUpdate()
185 apIdx[nIdx++] = pIdx; in sqliteUpdate()
323 for(pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext){ in sqliteUpdate()
324 if( pIdx->onError==OE_Replace ){ in sqliteUpdate()
330 for(i=0, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, i++){ in sqliteUpdate()
332 sqliteVdbeAddOp(v, OP_Integer, pIdx->iDb, 0); in sqliteUpdate()
333 sqliteVdbeAddOp(v, OP_OpenWrite, iCur+i+1, pIdx->tnum); in sqliteUpdate()
406 for(i=0, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, i++){ in sqliteUpdate()
428 for(i=0, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, i++){ in sqliteUpdate()