Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libsqlite/src/
H A Dbuild.c198 void sqliteUnlinkAndDeleteIndex(sqlite *db, Index *pIndex){ in sqliteUnlinkAndDeleteIndex() argument
199 if( pIndex->pTable->pIndex==pIndex ){ in sqliteUnlinkAndDeleteIndex()
200 pIndex->pTable->pIndex = pIndex->pNext; in sqliteUnlinkAndDeleteIndex()
203 for(p=pIndex->pTable->pIndex; p && p->pNext!=pIndex; p=p->pNext){} in sqliteUnlinkAndDeleteIndex()
204 if( p && p->pNext==pIndex ){ in sqliteUnlinkAndDeleteIndex()
205 p->pNext = pIndex->pNext; in sqliteUnlinkAndDeleteIndex()
208 sqliteDeleteIndex(db, pIndex); in sqliteUnlinkAndDeleteIndex()
323 Index *pIndex, *pNext; in sqliteDeleteTable() local
330 for(pIndex = pTable->pIndex; pIndex; pIndex=pNext){ in sqliteDeleteTable()
331 pNext = pIndex->pNext; in sqliteDeleteTable()
[all …]
H A Dupdate.c108 for(pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext){ in sqliteUpdate()
164 for(nIdx=nIdxTotal=0, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, nIdxTotal++){ in sqliteUpdate()
179 for(nIdx=j=0, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, j++){ in sqliteUpdate()
326 for(pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext){ in sqliteUpdate()
333 for(i=0, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, i++){ in sqliteUpdate()
409 for(i=0, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, i++){ in sqliteUpdate()
431 for(i=0, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, i++){ in sqliteUpdate()
H A Ddelete.c188 for(pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext){ in sqliteDeleteFrom()
276 for(i=1, pIdx=pTab->pIndex; pIdx; i++, pIdx=pIdx->pNext){ in sqliteDeleteFrom()
293 for(i=1, pIdx=pTab->pIndex; pIdx; i++, pIdx=pIdx->pNext){ in sqliteDeleteFrom()
380 for(i=1, pIdx=pTab->pIndex; pIdx; i++, pIdx=pIdx->pNext){ in sqliteGenerateRowIndexDelete()
H A Dpragma.c428 pIdx = pTab->pIndex; in sqlitePragma()
640 if( pTab->pIndex==0 ) continue; in sqlitePragma()
643 for(j=0, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, j++){ in sqlitePragma()
652 for(j=0, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, j++){ in sqlitePragma()
681 for(j=0, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, j++){ in sqlitePragma()
H A Dinsert.c492 for(idx=1, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, idx++){ in sqliteInsert()
520 for(idx=1, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, idx++){ in sqliteInsert()
764 for(iCur=0, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, iCur++){ in sqliteGenerateConstraintChecks()
883 for(nIdx=0, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, nIdx++){} in sqliteCompleteInsertion()
917 for(i=1, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, i++){ in sqliteOpenTableAndIndices()
H A Dmain.c102 Index *pIndex; in sqliteInitCallback() local
106 pIndex = sqliteFindIndex(db, argv[1], db->aDb[iDb].zName); in sqliteInitCallback()
107 if( pIndex==0 || pIndex->tnum!=0 ){ in sqliteInitCallback()
115 pIndex->tnum = atoi(argv[2]); in sqliteInitCallback()
H A Dwhere.c255 for(pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext){ in findSortingIndex()
560 for(pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext){ in sqliteWhereBegin()
H A DsqliteInt.h504 Index *pIndex; /* List of SQL indexes on this table. */ member
H A Dselect.c1897 for(pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext){ in simpleMinMaxQuery()