Home | History | Annotate | Download | only in dist

Lines Matching defs:aff

65561 ** "aff".  Casting is different from applying affinity in that a cast
65566 SQLITE_PRIVATE void sqlite3VdbeMemCast(Mem *pMem, u8 aff, u8 encoding){
65568 switch( aff ){
65592 assert( aff==SQLITE_AFF_TEXT );
66143 ** Affinity aff is applied to the result of the function before returning.
66156 u8 aff, /* Affinity to use */
66190 rc = sqlite3ValueFromExpr(db, pList->a[i].pExpr, enc, aff, &apVal[i]);
66210 sqlite3ValueApplyAffinity(pVal, aff, SQLITE_UTF8);
66277 u8 aff = sqlite3AffinityType(pExpr->u.zToken,0);
66278 rc = valueFromExpr(db, pExpr->pLeft, enc, aff, ppVal, pCtx);
66281 sqlite3VdbeMemCast(*ppVal, aff, SQLITE_UTF8);
70915 ** 0 instead. Unless it is NULL, apply affinity aff (one of the SQLITE_AFF_*
70920 SQLITE_PRIVATE sqlite3_value *sqlite3VdbeGetBoundValue(Vdbe *v, int iVar, u8 aff){
70928 sqlite3ValueApplyAffinity(pRet, aff, SQLITE_UTF8);
85213 char aff;
85218 aff = sqlite3ExprAffinity(pExpr->pLeft);
85220 aff = sqlite3CompareAffinity(pExpr->pRight, aff);
85222 aff = sqlite3CompareAffinity(pExpr->x.pSelect->pEList->a[0].pExpr, aff);
85223 }else if( !aff ){
85224 aff = SQLITE_AFF_BLOB;
85226 return aff;
85236 char aff = comparisonAffinity(pExpr);
85237 switch( aff ){
85252 u8 aff = (char)sqlite3ExprAffinity(pExpr2);
85253 aff = (u8)sqlite3CompareAffinity(pExpr1, aff) | (u8)jumpIfNull;
85254 return aff;
86499 SQLITE_PRIVATE int sqlite3ExprNeedsNoAffinityChange(const Expr *p, char aff){
86501 if( aff==SQLITE_AFF_BLOB ) return 1;
86507 return aff==SQLITE_AFF_INTEGER || aff==SQLITE_AFF_NUMERIC;
86510 return aff==SQLITE_AFF_REAL || aff==SQLITE_AFF_NUMERIC;
86513 return aff==SQLITE_AFF_TEXT;
86521 && (aff==SQLITE_AFF_INTEGER || aff==SQLITE_AFF_NUMERIC);
93939 char aff = SQLITE_AFF_NUMERIC;
93942 if( zIn==0 ) return aff;
93947 aff = SQLITE_AFF_TEXT;
93950 aff = SQLITE_AFF_TEXT;
93952 aff = SQLITE_AFF_TEXT;
93954 && (aff==SQLITE_AFF_NUMERIC || aff==SQLITE_AFF_REAL) ){
93955 aff = SQLITE_AFF_BLOB;
93959 && aff==SQLITE_AFF_NUMERIC ){
93960 aff = SQLITE_AFF_REAL;
93962 && aff==SQLITE_AFF_NUMERIC ){
93963 aff = SQLITE_AFF_REAL;
93965 && aff==SQLITE_AFF_NUMERIC ){
93966 aff = SQLITE_AFF_REAL;
93969 aff = SQLITE_AFF_INTEGER;
93978 if( aff<SQLITE_AFF_NUMERIC ){
93996 return aff;
101898 char aff;
101901 aff = sqlite3ExprAffinity(pIdx->aColExpr->a[n].pExpr);
101902 if( aff==0 ) aff = SQLITE_AFF_BLOB;
101903 pIdx->zColAff[n] = aff;
121975 char aff;
121980 aff = pSrc->pTab->aCol[pTerm->u.leftColumn].affinity;
121981 if( !sqlite3IndexAffinityOk(pTerm->pExpr, aff) ) return 0;
122638 u8 aff = sqlite3IndexColumnAffinity(db, p, nEq);
122647 rc = sqlite3Stat4ValueFromExpr(pParse, pLower->pExpr->pRight, aff, &p1);
122651 rc = sqlite3Stat4ValueFromExpr(pParse, pUpper->pExpr->pRight, aff, &p2);
122756 u8 aff;
122786 aff = sqlite3IndexColumnAffinity(pParse->db, p, nEq);
122787 assert( nEq!=p->nKeyCol || aff==SQLITE_AFF_INTEGER );
122812 rc = sqlite3Stat4ProbeSetValue(pParse, p, &pRec, pExpr, aff, nEq, &bOk);
122827 rc = sqlite3Stat4ProbeSetValue(pParse, p, &pRec, pExpr, aff, nEq, &bOk);
122921 u8 aff; /* Column affinity */
122945 aff = sqlite3IndexColumnAffinity(pParse->db, p, nEq-1);
122946 rc = sqlite3Stat4ProbeSetValue(pParse, p, &pRec, pExpr, aff, nEq-1, &bOk);