Lines Matching refs:pRec

62066 static void applyNumericAffinity(Mem *pRec){
62067 if( (pRec->flags & (MEM_Real|MEM_Int))==0 ){
62070 u8 enc = pRec->enc;
62071 if( (pRec->flags&MEM_Str)==0 ) return;
62072 if( sqlite3AtoF(pRec->z, &rValue, pRec->n, enc)==0 ) return;
62073 if( 0==sqlite3Atoi64(pRec->z, &iValue, pRec->n, enc) ){
62074 pRec->u.i = iValue;
62075 pRec->flags |= MEM_Int;
62077 pRec->r = rValue;
62078 pRec->flags |= MEM_Real;
62089 ** Try to convert pRec to an integer representation or a
62096 ** Convert pRec to a text representation.
62099 ** No-op. pRec is unchanged.
62102 Mem *pRec, /* The value to apply affinity to */
62111 if( 0==(pRec->flags&MEM_Str) && (pRec->flags&(MEM_Real|MEM_Int)) ){
62112 sqlite3VdbeMemStringify(pRec, enc);
62114 pRec->flags &= ~(MEM_Real|MEM_Int);
62118 applyNumericAffinity(pRec);
62119 if( pRec->flags & MEM_Real ){
62120 sqlite3VdbeIntegerAffinity(pRec);
62577 Mem *pRec; /* The new record */
62809 Mem *pRec;
64750 Mem *pRec; /* The new record */
64800 for(u.ao.pRec=u.ao.pData0; u.ao.pRec<=u.ao.pLast; u.ao.pRec++){
64801 assert( memIsValid(u.ao.pRec) );
64803 applyAffinity(u.ao.pRec, u.ao.zAffinity[u.ao.pRec-u.ao.pData0], encoding);
64805 if( u.ao.pRec->flags&MEM_Zero && u.ao.pRec->n>0 ){
64806 sqlite3VdbeMemExpandBlob(u.ao.pRec);
64808 u.ao.serial_type = sqlite3VdbeSerialType(u.ao.pRec, u.ao.file_format);
64812 if( u.ao.pRec->flags & MEM_Zero ){
64815 u.ao.nZero += u.ao.pRec->u.nZero;
64843 for(u.ao.pRec=u.ao.pData0; u.ao.pRec<=u.ao.pLast; u.ao.pRec++){
64844 u.ao.serial_type = sqlite3VdbeSerialType(u.ao.pRec, u.ao.file_format);
64847 for(u.ao.pRec=u.ao.pData0; u.ao.pRec<=u.ao.pLast; u.ao.pRec++){ /* serial data */
64848 u.ao.i += sqlite3VdbeSerialPut(&u.ao.zNewRecord[u.ao.i], (int)(u.ao.nByte-u.ao.i), u.ao.pRec,u.ao.file_format);
67583 Mem *pRec;
67590 u.cb.pRec = &aMem[pOp->p2];
67593 for(u.cb.i=0; u.cb.i<u.cb.n; u.cb.i++, u.cb.pRec++){
67594 assert( memIsValid(u.cb.pRec) );
67595 u.cb.apVal[u.cb.i] = u.cb.pRec;
67596 memAboutToChange(p, u.cb.pRec);
67597 sqlite3VdbeMemStoreType(u.cb.pRec);