Lines Matching refs:pVector
93088 SQLITE_PRIVATE Expr *sqlite3VectorFieldSubexpr(Expr *pVector, int i){
93089 assert( i<sqlite3ExprVectorSize(pVector) );
93090 if( sqlite3ExprIsVector(pVector) ){
93091 assert( pVector->op2==0 || pVector->op==TK_REGISTER );
93092 if( pVector->op==TK_SELECT || pVector->op2==TK_SELECT ){
93093 return pVector->x.pSelect->pEList->a[i].pExpr;
93095 return pVector->x.pList->a[i].pExpr;
93098 return pVector;
93124 Expr *pVector, /* The vector. List of expressions or a sub-SELECT */
93128 if( pVector->op==TK_SELECT ){
93129 assert( pVector->flags & EP_xIsSelect );
93149 pRet->pLeft = pVector;
93153 if( pVector->op==TK_VECTOR ) pVector = pVector->x.pList->a[iField].pExpr;
93154 pRet = sqlite3ExprDup(pParse->db, pVector, 0);
93197 Expr *pVector, /* Vector to extract element from */
93203 u8 op = pVector->op;
93206 *ppExpr = sqlite3VectorFieldSubexpr(pVector, iField);
93207 return pVector->iTable+iField;
93210 *ppExpr = pVector->x.pSelect->pEList->a[iField].pExpr;
93213 *ppExpr = pVector->x.pList->a[iField].pExpr;