Lines Matching defs:aff
70205 ** "aff". Casting is different from applying affinity in that a cast
70210 SQLITE_PRIVATE void sqlite3VdbeMemCast(Mem *pMem, u8 aff, u8 encoding){
70212 switch( aff ){
70236 assert( aff==SQLITE_AFF_TEXT );
70770 ** Affinity aff is applied to the result of the function before returning.
70783 u8 aff, /* Affinity to use */
70815 rc = sqlite3ValueFromExpr(db, pList->a[i].pExpr, enc, aff, &apVal[i]);
70835 sqlite3ValueApplyAffinity(pVal, aff, SQLITE_UTF8);
70899 u8 aff = sqlite3AffinityType(pExpr->u.zToken,0);
70900 rc = valueFromExpr(db, pExpr->pLeft, enc, aff, ppVal, pCtx);
70903 sqlite3VdbeMemCast(*ppVal, aff, SQLITE_UTF8);
71185 u8 aff = sqlite3IndexColumnAffinity(pParse->db, pIdx, iVal+i);
71187 rc = stat4ValueFromExpr(pParse, pElem, aff, &alloc, &pVal);
75865 ** 0 instead. Unless it is NULL, apply affinity aff (one of the SQLITE_AFF_*
75870 SQLITE_PRIVATE sqlite3_value *sqlite3VdbeGetBoundValue(Vdbe *v, int iVar, u8 aff){
75878 sqlite3ValueApplyAffinity(pRet, aff, SQLITE_UTF8);
90961 char aff;
90966 aff = sqlite3ExprAffinity(pExpr->pLeft);
90968 aff = sqlite3CompareAffinity(pExpr->pRight, aff);
90970 aff = sqlite3CompareAffinity(pExpr->x.pSelect->pEList->a[0].pExpr, aff);
90971 }else if( aff==0 ){
90972 aff = SQLITE_AFF_BLOB;
90974 return aff;
90984 char aff = comparisonAffinity(pExpr);
90985 switch( aff ){
91000 u8 aff = (char)sqlite3ExprAffinity(pExpr2);
91001 aff = (u8)sqlite3CompareAffinity(pExpr1, aff) | (u8)jumpIfNull;
91002 return aff;
92674 SQLITE_PRIVATE int sqlite3ExprNeedsNoAffinityChange(const Expr *p, char aff){
92676 if( aff==SQLITE_AFF_BLOB ) return 1;
92682 return aff==SQLITE_AFF_INTEGER || aff==SQLITE_AFF_NUMERIC;
92685 return aff==SQLITE_AFF_REAL || aff==SQLITE_AFF_NUMERIC;
92688 return aff==SQLITE_AFF_TEXT;
92696 && (aff==SQLITE_AFF_INTEGER || aff==SQLITE_AFF_NUMERIC);
94426 char aff;
94428 aff = sqlite3ExprAffinity(pFarg->a[0].pExpr);
94430 aff ? azAff[aff-SQLITE_AFF_BLOB] : "none");
100602 char aff = SQLITE_AFF_NUMERIC;
100610 aff = SQLITE_AFF_TEXT;
100613 aff = SQLITE_AFF_TEXT;
100615 aff = SQLITE_AFF_TEXT;
100617 && (aff==SQLITE_AFF_NUMERIC || aff==SQLITE_AFF_REAL) ){
100618 aff = SQLITE_AFF_BLOB;
100622 && aff==SQLITE_AFF_NUMERIC ){
100623 aff = SQLITE_AFF_REAL;
100625 && aff==SQLITE_AFF_NUMERIC ){
100626 aff = SQLITE_AFF_REAL;
100628 && aff==SQLITE_AFF_NUMERIC ){
100629 aff = SQLITE_AFF_REAL;
100632 aff = SQLITE_AFF_INTEGER;
100641 if( aff<SQLITE_AFF_NUMERIC ){
100659 return aff;
108667 char aff;
108670 aff = sqlite3ExprAffinity(pIdx->aColExpr->a[n].pExpr);
108671 if( aff==0 ) aff = SQLITE_AFF_BLOB;
108672 pIdx->zColAff[n] = aff;
130445 char aff;
130450 aff = pSrc->pTab->aCol[pTerm->u.leftColumn].affinity;
130451 if( !sqlite3IndexAffinityOk(pTerm->pExpr, aff) ) return 0;
131128 u8 aff = sqlite3IndexColumnAffinity(db, p, nEq);
131137 rc = sqlite3Stat4ValueFromExpr(pParse, pLower->pExpr->pRight, aff, &p1);
131141 rc = sqlite3Stat4ValueFromExpr(pParse, pUpper->pExpr->pRight, aff, &p2);
132087 char aff; /* Comparison affinity */
132111 aff = sqlite3CompareAffinity(pRhs, sqlite3ExprAffinity(pLhs));
132113 if( aff!=idxaff ) break;