Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libsqlite/src/
H A Dselect.c28 ExprList *pEList, /* which columns to include in the result */ in sqliteSelectNew() argument
41 sqliteExprListDelete(pEList); in sqliteSelectNew()
48 if( pEList==0 ){ in sqliteSelectNew()
49 pEList = sqliteExprListAppend(0, sqliteExpr(TK_ALL,0,0,0), 0); in sqliteSelectNew()
51 pNew->pEList = pEList; in sqliteSelectNew()
292 sqliteExprListDelete(p->pEList); in sqliteSelectDelete()
358 void sqliteAddKeyType(Vdbe *v, ExprList *pEList){ in sqliteAddKeyType() argument
359 int nColumn = pEList->nExpr; in sqliteAddKeyType()
364 zType[i] = sqliteExprType(pEList->a[i].pExpr)==SQLITE_SO_NUM ? 'n' : 't'; in sqliteAddKeyType()
406 ExprList *pEList, /* List of values being extracted */ in selectInnerLoop() argument
[all …]
H A Dtrigger.c301 ExprList *pEList, /* The VALUE clause: a list of values to be inserted */ in sqliteTriggerInsertStep() argument
308 assert(pEList == 0 || pSelect == 0); in sqliteTriggerInsertStep()
309 assert(pEList != 0 || pSelect != 0); in sqliteTriggerInsertStep()
315 pTriggerStep->pExprList = pEList; in sqliteTriggerInsertStep()
329 ExprList *pEList, /* The SET clause: list of column and new values */ in sqliteTriggerUpdateStep() argument
338 pTriggerStep->pExprList = pEList; in sqliteTriggerUpdateStep()
512 static int checkColumnOverLap(IdList *pIdList, ExprList *pEList){ in checkColumnOverLap() argument
514 if( !pIdList || !pEList ) return 1; in checkColumnOverLap()
515 for(e=0; e<pEList->nExpr; e++){ in checkColumnOverLap()
516 if( sqliteIdListIndex(pIdList, pEList->a[e].zName)>=0 ) return 1; in checkColumnOverLap()
H A Dexpr.c230 pNew->pEList = sqliteExprListDup(p->pEList); in sqliteSelectDup()
418 ExprList *pEList, /* List of expressions used to resolve "AS" */ in lookupName() argument
448 assert( zTab==0 || pEList==0 ); in lookupName()
541 if( cnt==0 && pEList!=0 ){ in lookupName()
542 for(j=0; j<pEList->nExpr; j++){ in lookupName()
543 char *zAs = pEList->a[j].zName; in lookupName()
548 pExpr->pLeft = sqliteExprDup(pEList->a[j].pExpr); in lookupName()
635 ExprList *pEList, /* List of expressions used to resolve "AS" */ in sqliteExprResolveIds() argument
656 if( lookupName(pParse, 0, 0, &pExpr->token, pSrcList, pEList, pExpr) ){ in sqliteExprResolveIds()
691 if( sqliteExprResolveIds(pParse, pSrcList, pEList, pExpr->pLeft) ){ in sqliteExprResolveIds()
[all …]
H A Dbuild.c1057 ExprList *pEList; in sqliteViewGetColumnNames() local
1094 pEList = pSel->pEList; in sqliteViewGetColumnNames()
1095 pSel->pEList = sqliteExprListDup(pEList); in sqliteViewGetColumnNames()
1096 if( pSel->pEList==0 ){ in sqliteViewGetColumnNames()
1097 pSel->pEList = pEList; in sqliteViewGetColumnNames()
1115 sqliteExprListDelete(pSel->pEList); in sqliteViewGetColumnNames()
1116 pSel->pEList = pEList; in sqliteViewGetColumnNames()
H A Dattach.c250 if( sqliteFixExprList(pFix, pSelect->pEList) ){ in sqliteFixSelect()
H A Dinsert.c191 assert( pSelect->pEList ); in sqliteInsert()
192 nColumn = pSelect->pEList->nExpr; in sqliteInsert()
H A DsqliteInt.h854 ExprList *pEList; /* The fields of the result */ member