Home | History | Annotate | Download | only in dist

Lines Matching defs:pRec

64613 static void applyNumericAffinity(Mem *pRec){
64614 if( (pRec->flags & (MEM_Real|MEM_Int))==0 ){
64617 u8 enc = pRec->enc;
64618 if( (pRec->flags&MEM_Str)==0 ) return;
64619 if( sqlite3AtoF(pRec->z, &rValue, pRec->n, enc)==0 ) return;
64620 if( 0==sqlite3Atoi64(pRec->z, &iValue, pRec->n, enc) ){
64621 pRec->u.i = iValue;
64622 pRec->flags |= MEM_Int;
64624 pRec->r = rValue;
64625 pRec->flags |= MEM_Real;
64636 ** Try to convert pRec to an integer representation or a
64643 ** Convert pRec to a text representation.
64646 ** No-op. pRec is unchanged.
64649 Mem *pRec, /* The value to apply affinity to */
64658 if( 0==(pRec->flags&MEM_Str) && (pRec->flags&(MEM_Real|MEM_Int)) ){
64659 sqlite3VdbeMemStringify(pRec, enc);
64661 pRec->flags &= ~(MEM_Real|MEM_Int);
64665 applyNumericAffinity(pRec);
64666 if( pRec->flags & MEM_Real ){
64667 sqlite3VdbeIntegerAffinity(pRec);
65129 Mem *pRec; /* The new record */
65371 Mem *pRec;
67370 Mem *pRec; /* The new record */
67420 for(u.ap.pRec=u.ap.pData0; u.ap.pRec<=u.ap.pLast; u.ap.pRec++){
67421 assert( memIsValid(u.ap.pRec) );
67423 applyAffinity(u.ap.pRec, u.ap.zAffinity[u.ap.pRec-u.ap.pData0], encoding);
67425 if( u.ap.pRec->flags&MEM_Zero && u.ap.pRec->n>0 ){
67426 sqlite3VdbeMemExpandBlob(u.ap.pRec);
67428 u.ap.serial_type = sqlite3VdbeSerialType(u.ap.pRec, u.ap.file_format);
67432 if( u.ap.pRec->flags & MEM_Zero ){
67435 u.ap.nZero += u.ap.pRec->u.nZero;
67463 for(u.ap.pRec=u.ap.pData0; u.ap.pRec<=u.ap.pLast; u.ap.pRec++){
67464 u.ap.serial_type = sqlite3VdbeSerialType(u.ap.pRec, u.ap.file_format);
67467 for(u.ap.pRec=u.ap.pData0; u.ap.pRec<=u.ap.pLast; u.ap.pRec++){ /* serial data */
67468 u.ap.i += sqlite3VdbeSerialPut(&u.ap.zNewRecord[u.ap.i], (int)(u.ap.nByte-u.ap.i), u.ap.pRec,u.ap.file_format);
70330 Mem *pRec;
70337 u.cf.pRec = &aMem[pOp->p2];
70340 for(u.cf.i=0; u.cf.i<u.cf.n; u.cf.i++, u.cf.pRec++){
70341 assert( memIsValid(u.cf.pRec) );
70342 u.cf.apVal[u.cf.i] = u.cf.pRec;
70343 memAboutToChange(p, u.cf.pRec);
70344 sqlite3VdbeMemStoreType(u.cf.pRec);