Home
last modified time | relevance | path

Searched refs:pEList (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/lib/libsqlite/src/
H A Dselect.c24 ExprList *pEList, /* which columns to include in the result */ in sqliteSelectNew() argument
37 sqliteExprListDelete(pEList); in sqliteSelectNew()
44 if( pEList==0 ){ in sqliteSelectNew()
45 pEList = sqliteExprListAppend(0, sqliteExpr(TK_ALL,0,0,0), 0); in sqliteSelectNew()
47 pNew->pEList = pEList; in sqliteSelectNew()
288 sqliteExprListDelete(p->pEList); in sqliteSelectDelete()
354 void sqliteAddKeyType(Vdbe *v, ExprList *pEList){ in sqliteAddKeyType() argument
355 int nColumn = pEList->nExpr; in sqliteAddKeyType()
360 zType[i] = sqliteExprType(pEList->a[i].pExpr)==SQLITE_SO_NUM ? 'n' : 't'; in sqliteAddKeyType()
402 ExprList *pEList, /* List of values being extracted */ in selectInnerLoop() argument
[all …]
H A Dtrigger.c298 ExprList *pEList, /* The VALUE clause: a list of values to be inserted */ in sqliteTriggerInsertStep() argument
305 assert(pEList == 0 || pSelect == 0); in sqliteTriggerInsertStep()
306 assert(pEList != 0 || pSelect != 0); in sqliteTriggerInsertStep()
312 pTriggerStep->pExprList = pEList; in sqliteTriggerInsertStep()
326 ExprList *pEList, /* The SET clause: list of column and new values */ in sqliteTriggerUpdateStep() argument
335 pTriggerStep->pExprList = pEList; in sqliteTriggerUpdateStep()
509 static int checkColumnOverLap(IdList *pIdList, ExprList *pEList){ in checkColumnOverLap() argument
511 if( !pIdList || !pEList ) return 1; in checkColumnOverLap()
512 for(e=0; e<pEList->nExpr; e++){ in checkColumnOverLap()
513 if( sqliteIdListIndex(pIdList, pEList->a[e].zName)>=0 ) return 1; in checkColumnOverLap()
H A Dexpr.c227 pNew->pEList = sqliteExprListDup(p->pEList); in sqliteSelectDup()
415 ExprList *pEList, /* List of expressions used to resolve "AS" */ in lookupName() argument
445 assert( zTab==0 || pEList==0 ); in lookupName()
538 if( cnt==0 && pEList!=0 ){ in lookupName()
539 for(j=0; j<pEList->nExpr; j++){ in lookupName()
540 char *zAs = pEList->a[j].zName; in lookupName()
545 pExpr->pLeft = sqliteExprDup(pEList->a[j].pExpr); in lookupName()
632 ExprList *pEList, /* List of expressions used to resolve "AS" */ in sqliteExprResolveIds() argument
654 if( lookupName(pParse, 0, 0, &pExpr->token, pSrcList, pEList, pExpr) ){ in sqliteExprResolveIds()
689 if( sqliteExprResolveIds(pParse, pSrcList, pEList, pExpr->pLeft) ){ in sqliteExprResolveIds()
[all …]
H A Dbuild.c1054 ExprList *pEList; in sqliteViewGetColumnNames() local
1091 pEList = pSel->pEList; in sqliteViewGetColumnNames()
1092 pSel->pEList = sqliteExprListDup(pEList); in sqliteViewGetColumnNames()
1093 if( pSel->pEList==0 ){ in sqliteViewGetColumnNames()
1094 pSel->pEList = pEList; in sqliteViewGetColumnNames()
1112 sqliteExprListDelete(pSel->pEList); in sqliteViewGetColumnNames()
1113 pSel->pEList = pEList; in sqliteViewGetColumnNames()
H A Dattach.c247 if( sqliteFixExprList(pFix, pSelect->pEList) ){ in sqliteFixSelect()
H A Dinsert.c188 assert( pSelect->pEList ); in sqliteInsert()
189 nColumn = pSelect->pEList->nExpr; in sqliteInsert()
H A DsqliteInt.h851 ExprList *pEList; /* The fields of the result */ member