/ Check-in [ac790729]
Login

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

Overview
Comment:Improved debugging output from the OP_MakeRecord opcode.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: ac790729d9c8f8612936bab56dca6061408007bc2150ac8c7089132403d7f885
User & Date: drh 2019-05-09 16:22:51
Context
2019-05-09
16:57
Avoid long delays that can occur when ".recover"ing data from a database with a corrupt freelist. check-in: 20f06bf2 user: dan tags: trunk
16:22
Improved debugging output from the OP_MakeRecord opcode. check-in: ac790729 user: drh tags: trunk
15:51
Fix another corruption related buffer overread in the sqlite_dbdata module. check-in: 5cd728fb user: dan tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/vdbe.c.

  2878   2878   
  2879   2879     /* Apply the requested affinity to all inputs
  2880   2880     */
  2881   2881     assert( pData0<=pLast );
  2882   2882     if( zAffinity ){
  2883   2883       pRec = pData0;
  2884   2884       do{
  2885         -      applyAffinity(pRec++, *(zAffinity++), encoding);
         2885  +      applyAffinity(pRec, zAffinity[0], encoding);
         2886  +      REGISTER_TRACE((int)(pRec-aMem), pRec);
         2887  +      zAffinity++;
         2888  +      pRec++;
  2886   2889         assert( zAffinity[0]==0 || pRec<=pLast );
  2887   2890       }while( zAffinity[0] );
  2888   2891     }
  2889   2892   
  2890   2893   #ifdef SQLITE_ENABLE_NULL_TRIM
  2891   2894     /* NULLs can be safely trimmed from the end of the record, as long as
  2892   2895     ** as the schema format is 2 or more and none of the omitted columns