Lines Matching refs:zAff
81534 const char *zAff = "unk";
81536 case SQLITE_AFF_TEXT: zAff = "TEXT"; break;
81537 case SQLITE_AFF_NONE: zAff = "NONE"; break;
81538 case SQLITE_AFF_NUMERIC: zAff = "NUMERIC"; break;
81539 case SQLITE_AFF_INTEGER: zAff = "INTEGER"; break;
81540 case SQLITE_AFF_REAL: zAff = "REAL"; break;
81542 sqlite3ExplainPrintf(pOut, "CAST-%s(", zAff);
113334 ** Code an OP_Affinity opcode to apply the column affinity string zAff
113338 ** beginning and end of zAff are ignored. If all entries in zAff are
113341 ** This routine makes its own copy of zAff so that the caller is free
113342 ** to modify zAff after this routine returns.
113344 static void codeApplyAffinity(Parse *pParse, int base, int n, char *zAff){
113346 if( zAff==0 ){
113355 while( n>0 && zAff[0]==SQLITE_AFF_NONE ){
113358 zAff++;
113360 while( n>1 && zAff[n-1]==SQLITE_AFF_NONE ){
113367 sqlite3VdbeChangeP4(v, -1, zAff, n);
113518 char *zAff; /* Affinity string to return */
113534 zAff = sqlite3DbStrDup(pParse->db, sqlite3IndexAffinityStr(v, pIdx));
113535 if( !zAff ){
113560 assert( zAff==0 || (int)strlen(zAff)>=nEq );
113586 if( zAff ){
113587 if( sqlite3CompareAffinity(pRight, zAff[j])==SQLITE_AFF_NONE ){
113588 zAff[j] = SQLITE_AFF_NONE;
113590 if( sqlite3ExprNeedsNoAffinityChange(pRight, zAff[j]) ){
113591 zAff[j] = SQLITE_AFF_NONE;
113596 *pzAff = zAff;