Searched refs:pWhere (Results 1 – 8 of 8) sorted by relevance
/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | select.c | 26 Expr *pWhere, /* the WHERE clause */ in sqliteSelectNew() argument 39 sqliteExprDelete(pWhere); in sqliteSelectNew() 49 pNew->pWhere = pWhere; in sqliteSelectNew() 231 addWhereTerm(pTab->aCol[j].zName, pTab, pOther->pTab, &p->pWhere); in sqliteProcessJoin() 249 if( p->pWhere==0 ){ in sqliteProcessJoin() 250 p->pWhere = pTerm->pOn; in sqliteProcessJoin() 252 p->pWhere = sqliteExpr(TK_AND, p->pWhere, pTerm->pOn, 0); in sqliteProcessJoin() 276 addWhereTerm(pList->a[j].zName, pTerm->pTab, pOther->pTab, &p->pWhere); in sqliteProcessJoin() 290 sqliteExprDelete(p->pWhere); in sqliteSelectDelete() 1647 Expr *pWhere; in flattenSubquery() local [all …]
|
H A D | trigger.c | 24 sqliteExprDelete(pTmp->pWhere); in sqliteDeleteTriggerStep() 252 if( p->pWhere ){ in sqlitePersistTriggerStep() 253 Expr *pNew = sqliteExprDup(p->pWhere); in sqlitePersistTriggerStep() 254 sqliteExprDelete(p->pWhere); in sqlitePersistTriggerStep() 255 p->pWhere = pNew; in sqlitePersistTriggerStep() 327 Expr *pWhere, /* The WHERE clause */ in sqliteTriggerUpdateStep() argument 336 pTriggerStep->pWhere = pWhere; in sqliteTriggerUpdateStep() 348 TriggerStep *sqliteTriggerDeleteStep(Token *pTableName, Expr *pWhere){ in sqliteTriggerDeleteStep() argument 354 pTriggerStep->pWhere = pWhere; in sqliteTriggerDeleteStep() 628 sqliteExprDup(pTriggerStep->pWhere), orconf); in codeTriggerProgram() [all …]
|
H A D | delete.c | 59 Expr *pWhere /* The WHERE clause. May be null */ in sqliteDeleteFrom() argument 124 if( pWhere ){ in sqliteDeleteFrom() 125 if( sqliteExprResolveIds(pParse, pTabList, 0, pWhere) ){ in sqliteDeleteFrom() 128 if( sqliteExprCheck(pParse, pWhere, 0, 0) ){ in sqliteDeleteFrom() 167 if( pWhere==0 && !row_triggers_exist ){ in sqliteDeleteFrom() 197 pWInfo = sqliteWhereBegin(pParse, pTabList, pWhere, 1, 0); in sqliteDeleteFrom() 312 sqliteExprDelete(pWhere); in sqliteDeleteFrom()
|
H A D | update.c | 30 Expr *pWhere, /* The WHERE clause. May be null */ in sqliteUpdate() argument 195 if( pWhere ){ in sqliteUpdate() 196 if( sqliteExprResolveIds(pParse, pTabList, 0, pWhere) ){ in sqliteUpdate() 199 if( sqliteExprCheck(pParse, pWhere, 0, 0) ){ in sqliteUpdate() 228 pWInfo = sqliteWhereBegin(pParse, pTabList, pWhere, 1, 0); in sqliteUpdate() 457 sqliteExprDelete(pWhere); in sqliteUpdate()
|
H A D | attach.c | 253 if( sqliteFixExpr(pFix, pSelect->pWhere) ){ in sqliteFixSelect() 302 if( sqliteFixExpr(pFix, pStep->pWhere) ){ in sqliteFixTriggerStep()
|
H A D | where.c | 383 Expr *pWhere, /* The WHERE clause */ in sqliteWhereBegin() argument 412 nExpr = exprSplit(ARRAYSIZE(aExpr), aExpr, pWhere); in sqliteWhereBegin() 435 if( pWhere && (pTabList->nSrc==0 || sqliteExprIsConstant(pWhere)) ){ in sqliteWhereBegin() 436 sqliteExprIfFalse(pParse, pWhere, pWInfo->iBreak, 1); in sqliteWhereBegin() 437 pWhere = 0; in sqliteWhereBegin()
|
H A D | sqliteInt.h | 855 Expr *pWhere; /* The WHERE clause */ member 1030 Expr *pWhere; /* Valid for DELETE, UPDATE steps */ member
|
H A D | expr.c | 229 pNew->pWhere = sqliteExprDup(p->pWhere); in sqliteSelectDup()
|