• Home
  • Raw
  • Download

Lines Matching refs:pRec

52163 static void applyNumericAffinity(Mem *pRec){
52164 if( (pRec->flags & (MEM_Real|MEM_Int))==0 ){
52166 sqlite3VdbeMemNulTerminate(pRec);
52167 if( (pRec->flags&MEM_Str)
52168 && sqlite3IsNumber(pRec->z, &realnum, pRec->enc) ){
52170 sqlite3VdbeChangeEncoding(pRec, SQLITE_UTF8);
52171 if( !realnum && sqlite3Atoi64(pRec->z, &value) ){
52172 pRec->u.i = value;
52173 MemSetTypeFlag(pRec, MEM_Int);
52175 sqlite3VdbeMemRealify(pRec);
52187 ** Try to convert pRec to an integer representation or a
52194 ** Convert pRec to a text representation.
52197 ** No-op. pRec is unchanged.
52200 Mem *pRec, /* The value to apply affinity to */
52209 if( 0==(pRec->flags&MEM_Str) && (pRec->flags&(MEM_Real|MEM_Int)) ){
52210 sqlite3VdbeMemStringify(pRec, enc);
52212 pRec->flags &= ~(MEM_Real|MEM_Int);
52216 applyNumericAffinity(pRec);
52217 if( pRec->flags & MEM_Real ){
52218 sqlite3VdbeIntegerAffinity(pRec);
52676 Mem *pRec; /* The new record */
52907 Mem *pRec;
54805 Mem *pRec; /* The new record */
54851 for(u.ao.pRec=u.ao.pData0; u.ao.pRec<=u.ao.pLast; u.ao.pRec++){
54853 applyAffinity(u.ao.pRec, u.ao.zAffinity[u.ao.pRec-u.ao.pData0], encoding);
54855 if( u.ao.pRec->flags&MEM_Zero && u.ao.pRec->n>0 ){
54856 sqlite3VdbeMemExpandBlob(u.ao.pRec);
54858 u.ao.serial_type = sqlite3VdbeSerialType(u.ao.pRec, u.ao.file_format);
54862 if( u.ao.pRec->flags & MEM_Zero ){
54865 u.ao.nZero += u.ao.pRec->u.nZero;
54895 for(u.ao.pRec=u.ao.pData0; u.ao.pRec<=u.ao.pLast; u.ao.pRec++){
54896 u.ao.serial_type = sqlite3VdbeSerialType(u.ao.pRec, u.ao.file_format);
54899 for(u.ao.pRec=u.ao.pData0; u.ao.pRec<=u.ao.pLast; u.ao.pRec++){ /* serial data */
54900 …u.ao.i += sqlite3VdbeSerialPut(&u.ao.zNewRecord[u.ao.i], (int)(u.ao.nByte-u.ao.i), u.ao.pRec,u.ao.…
57594 Mem *pRec;
57601 u.cb.pRec = &aMem[pOp->p2];
57604 for(u.cb.i=0; u.cb.i<u.cb.n; u.cb.i++, u.cb.pRec++){
57605 u.cb.apVal[u.cb.i] = u.cb.pRec;
57606 sqlite3VdbeMemStoreType(u.cb.pRec);