/ Check-in [e6e36b28]
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Remove an unnecessary setting of the Mem.enc field for the output of the OP_Record opcode, for a performance improvement and size reduction.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: e6e36b288fdf21b7ff7f0bf85d2225b6505f54367b183c302c93c34a4a40b8b5
User & Date: drh 2017-04-01 20:44:26
References
2018-06-11
11:14 New ticket [c2432ef9] Assertion fault due to column cache malfunction. artifact: de9d04b2 user: drh
Context
2017-04-03
12:04
Slightly smaller and faster implementation for vdbeSorterCompareInt(). check-in: 84fa069c user: drh tags: trunk
2017-04-01
20:44
Remove an unnecessary setting of the Mem.enc field for the output of the OP_Record opcode, for a performance improvement and size reduction. check-in: e6e36b28 user: drh tags: trunk
20:14
Minor performance enhancements to the OP_Affinity opcode. check-in: c45cd3b9 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/vdbe.c.

  2888   2888     assert( pOp->p3>0 && pOp->p3<=(p->nMem+1 - p->nCursor) );
  2889   2889     pOut->n = (int)nByte;
  2890   2890     pOut->flags = MEM_Blob;
  2891   2891     if( nZero ){
  2892   2892       pOut->u.nZero = nZero;
  2893   2893       pOut->flags |= MEM_Zero;
  2894   2894     }
  2895         -  pOut->enc = SQLITE_UTF8;  /* In case the blob is ever converted to text */
  2896   2895     REGISTER_TRACE(pOp->p3, pOut);
  2897   2896     UPDATE_MAX_BLOBSIZE(pOut);
  2898   2897     break;
  2899   2898   }
  2900   2899   
  2901   2900   /* Opcode: Count P1 P2 * * *
  2902   2901   ** Synopsis: r[P2]=count()