Searched refs:pIdx (Results 1 - 9 of 9) sorted by relevance

/osnet-11/usr/src/lib/libsqlite/src/
H A Dupdate.c42 Index *pIdx; /* For looping over indices */ local
108 for(pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext){
164 for(nIdx=nIdxTotal=0, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, nIdxTotal++){
168 for(i=0; i<pIdx
[all...]
H A Ddelete.c70 Index *pIdx; /* For looping over indices of the table */ local
188 for(pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext){
189 sqliteVdbeAddOp(v, OP_Clear, pIdx->tnum, pIdx->iDb);
276 for(i=1, pIdx=pTab->pIndex; pIdx; i++, pIdx
378 Index *pIdx; local
[all...]
H A Dpragma.c399 Index *pIdx; local
401 pIdx = sqliteFindIndex(db, zRight, 0);
402 if( pIdx ){
409 pTab = pIdx->pTable;
411 for(i=0; i<pIdx->nColumn; i++){
412 int cnum = pIdx->aiColumn[i];
423 Index *pIdx; local
428 pIdx = pTab->pIndex;
430 if( pTab && pIdx ){
439 while(pIdx){
637 Index *pIdx; local
[all...]
H A Dwhere.c225 Index *pIdx; local
255 for(pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext){
257 if( pIdx->nColumn < nEqCol || pIdx->nColumn < nExpr ) continue;
259 if( pPreferredIdx->aiColumn[i]!=pIdx->aiColumn[i] ) break;
260 if( j<nExpr && pOrderBy->a[j].pExpr->iColumn==pIdx->aiColumn[i] ){ j++; }
264 if( pOrderBy->a[i+j].pExpr->iColumn!=pIdx
490 Index *pIdx; local
669 Index *pIdx; local
726 Index *pIdx; local
[all...]
H A Dinsert.c102 Index *pIdx; /* For looping over indices of the table */ local
492 for(idx=1, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, idx++){
520 for(idx=1, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, idx++){
640 Index *pIdx; local
878 Index *pIdx; local
912 Index *pIdx; local
[all...]
H A Dbtree.c479 u16 *pIdx; local
490 pIdx = &pPage->u.hdr.firstFree;
491 p = (FreeBlk*)&pPage->u.aDisk[SWAB16(pBt, *pIdx)];
496 pIdx = &pPage->u.hdr.firstFree;
498 pIdx = &p->iNext;
500 p = (FreeBlk*)&pPage->u.aDisk[SWAB16(pBt, *pIdx)];
503 start = SWAB16(pBt, *pIdx);
504 *pIdx = p->iNext;
507 start = SWAB16(pBt, *pIdx);
511 *pIdx
528 u16 *pIdx, idx; local
2092 u16 *pIdx; local
[all...]
H A Dselect.c1851 Index *pIdx; local
1887 ** Check to make sure we have an index and make pIdx point to the
1889 ** key column, no index is necessary so set pIdx to NULL. If no
1893 pIdx = 0;
1895 for(pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext){
1896 assert( pIdx->nColumn>=1 );
1897 if( pIdx
[all...]
H A Dbuild.c434 Index *pIdx; local
509 if( (pIdx = sqliteFindIndex(db, zName, 0))!=0 &&
510 (pIdx->iDb==0 || !db->init.busy) ){
808 static void identPut(char *z, int *pIdx, char *zIdent){ argument
810 i = *pIdx;
823 *pIdx = i;
1248 Index *pIdx; local
1282 for(pIdx=pTable->pIndex; pIdx; pIdx
1311 sqliteAddIdxKeyType(Vdbe *v, Index *pIdx) argument
[all...]
H A DsqliteInt.h805 Index *pIdx; /* Index used */ member in struct:WhereLevel

Completed in 78 milliseconds