Home
last modified time | relevance | path

Searched refs:pIndex (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/lib/libsqlite/src/
H A Dbuild.c195 void sqliteUnlinkAndDeleteIndex(sqlite *db, Index *pIndex){ in sqliteUnlinkAndDeleteIndex() argument
196 if( pIndex->pTable->pIndex==pIndex ){ in sqliteUnlinkAndDeleteIndex()
197 pIndex->pTable->pIndex = pIndex->pNext; in sqliteUnlinkAndDeleteIndex()
200 for(p=pIndex->pTable->pIndex; p && p->pNext!=pIndex; p=p->pNext){} in sqliteUnlinkAndDeleteIndex()
201 if( p && p->pNext==pIndex ){ in sqliteUnlinkAndDeleteIndex()
202 p->pNext = pIndex->pNext; in sqliteUnlinkAndDeleteIndex()
205 sqliteDeleteIndex(db, pIndex); in sqliteUnlinkAndDeleteIndex()
320 Index *pIndex, *pNext; in sqliteDeleteTable() local
327 for(pIndex = pTable->pIndex; pIndex; pIndex=pNext){ in sqliteDeleteTable()
328 pNext = pIndex->pNext; in sqliteDeleteTable()
[all …]
H A Dupdate.c105 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()
176 for(nIdx=j=0, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, j++){ in sqliteUpdate()
323 for(pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext){ in sqliteUpdate()
330 for(i=0, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, i++){ 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()
H A Ddelete.c185 for(pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext){ in sqliteDeleteFrom()
273 for(i=1, pIdx=pTab->pIndex; pIdx; i++, pIdx=pIdx->pNext){ in sqliteDeleteFrom()
290 for(i=1, pIdx=pTab->pIndex; pIdx; i++, pIdx=pIdx->pNext){ in sqliteDeleteFrom()
377 for(i=1, pIdx=pTab->pIndex; pIdx; i++, pIdx=pIdx->pNext){ in sqliteGenerateRowIndexDelete()
H A Dpragma.c425 pIdx = pTab->pIndex; in sqlitePragma()
637 if( pTab->pIndex==0 ) continue; in sqlitePragma()
640 for(j=0, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, j++){ in sqlitePragma()
649 for(j=0, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, j++){ in sqlitePragma()
678 for(j=0, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, j++){ in sqlitePragma()
H A Dinsert.c489 for(idx=1, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, idx++){ in sqliteInsert()
517 for(idx=1, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, idx++){ in sqliteInsert()
761 for(iCur=0, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, iCur++){ in sqliteGenerateConstraintChecks()
880 for(nIdx=0, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, nIdx++){} in sqliteCompleteInsertion()
914 for(i=1, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, i++){ in sqliteOpenTableAndIndices()
H A Dmain.c99 Index *pIndex; in sqliteInitCallback() local
103 pIndex = sqliteFindIndex(db, argv[1], db->aDb[iDb].zName); in sqliteInitCallback()
104 if( pIndex==0 || pIndex->tnum!=0 ){ in sqliteInitCallback()
112 pIndex->tnum = atoi(argv[2]); in sqliteInitCallback()
H A Dwhere.c252 for(pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext){ in findSortingIndex()
557 for(pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext){ in sqliteWhereBegin()
H A DsqliteInt.h501 Index *pIndex; /* List of SQL indexes on this table. */ member
H A Dselect.c1893 for(pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext){ in simpleMinMaxQuery()