Searched refs:pTabList (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | select.c | 672 for(j=0; j<pTabList->nSrc && pTabList->a[j].iCursor!=p->iTable; j++){} in generateColumnTypes() 673 assert( j<pTabList->nSrc ); in generateColumnTypes() 674 pTab = pTabList->a[j].pTab; in generateColumnTypes() 727 for(j=0; j<pTabList->nSrc && pTabList->a[j].iCursor!=p->iTable; j++){} in generateColumnNames() 728 assert( j<pTabList->nSrc ); in generateColumnNames() 859 SrcList *pTabList; in fillInColumnList() local 864 pTabList = p->pSrc; in fillInColumnList() 870 if( pTabList->a[i].pTab ){ in fillInColumnList() 897 sqliteLocateTable(pParse,pTabList->a[i].zName,pTabList->a[i].zDatabase); in fillInColumnList() 2042 pTabList = p->pSrc; in sqliteSelect() [all …]
|
H A D | where.c | 428 pWInfo->pTabList = pTabList; in sqliteWhereBegin() 486 Table *pTab = pTabList->a[i].pTab; in sqliteWhereBegin() 670 pTab = pTabList->a[0].pTab; in sqliteWhereBegin() 701 for(i=0; i<pTabList->nSrc; i++){ in sqliteWhereBegin() 705 pTab = pTabList->a[i].pTab; in sqliteWhereBegin() 720 for(i=0; i<pTabList->nSrc; i++){ in sqliteWhereBegin() 722 int iCur = pTabList->a[i].iCursor; in sqliteWhereBegin() 1194 SrcList *pTabList = pWInfo->pTabList; in sqliteWhereEnd() local 1196 for(i=pTabList->nSrc-1; i>=0; i--){ in sqliteWhereEnd() 1218 for(i=0; i<pTabList->nSrc; i++){ in sqliteWhereEnd() [all …]
|
H A D | delete.c | 58 SrcList *pTabList, /* The table from which we should delete things */ in sqliteDeleteFrom() argument 80 pTabList = 0; in sqliteDeleteFrom() 84 assert( pTabList->nSrc==1 ); in sqliteDeleteFrom() 91 pTab = sqliteSrcListLookup(pParse, pTabList); in sqliteDeleteFrom() 122 assert( pTabList->nSrc==1 ); in sqliteDeleteFrom() 123 iCur = pTabList->a[0].iCursor = pParse->nTab++; in sqliteDeleteFrom() 125 if( sqliteExprResolveIds(pParse, pTabList, 0, pWhere) ){ in sqliteDeleteFrom() 197 pWInfo = sqliteWhereBegin(pParse, pTabList, pWhere, 1, 0); in sqliteDeleteFrom() 311 sqliteSrcListDelete(pTabList); in sqliteDeleteFrom()
|
H A D | auth.c | 106 SrcList *pTabList /* All table that pExpr might refer to */ in sqliteAuthRead() argument 117 for(iSrc=0; iSrc<pTabList->nSrc; iSrc++){ in sqliteAuthRead() 118 if( pExpr->iTable==pTabList->a[iSrc].iCursor ) break; in sqliteAuthRead() 120 if( iSrc>=0 && iSrc<pTabList->nSrc ){ in sqliteAuthRead() 121 pTab = pTabList->a[iSrc].pTab; in sqliteAuthRead()
|
H A D | update.c | 28 SrcList *pTabList, /* The table in which we should change things */ in sqliteUpdate() argument 66 assert( pTabList->nSrc==1 ); in sqliteUpdate() 71 pTab = sqliteSrcListLookup(pParse, pTabList); in sqliteUpdate() 104 pTabList->a[0].iCursor = iCur = pParse->nTab++; in sqliteUpdate() 117 if( sqliteExprResolveIds(pParse, pTabList, 0, pChanges->a[i].pExpr) ){ in sqliteUpdate() 196 if( sqliteExprResolveIds(pParse, pTabList, 0, pWhere) ){ in sqliteUpdate() 228 pWInfo = sqliteWhereBegin(pParse, pTabList, pWhere, 1, 0); in sqliteUpdate() 455 sqliteSrcListDelete(pTabList); in sqliteUpdate()
|
H A D | insert.c | 88 SrcList *pTabList, /* Name of table into which we are inserting */ in sqliteInsert() argument 124 assert( pTabList->nSrc==1 ); in sqliteInsert() 125 zTab = pTabList->a[0].zName; in sqliteInsert() 127 pTab = sqliteSrcListLookup(pParse, pTabList); in sqliteInsert() 262 pTabList, 0, pTab->nCol, nColumn); in sqliteInsert() 300 pTabList, 0, pColumn->a[i].zName); in sqliteInsert() 535 sqliteSrcListDelete(pTabList); in sqliteInsert()
|
H A D | sqliteInt.h | 823 SrcList *pTabList; /* List of tables in the join */ member
|