/ Check-in [6b518635]
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:Reduce the number of times that OP_Column calls sqlite3VdbeMemMakeWriteable().
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 6b51863553e51334880fb322bdf74e51e35d0e61
User & Date: drh 2013-12-09 21:06:46
Context
2013-12-09
21:48
Correct the VFS name as reported by the file control when explicitly using the 'win32-longpath' VFS. check-in: c43b59da user: mistachkin tags: trunk
21:06
Reduce the number of times that OP_Column calls sqlite3VdbeMemMakeWriteable(). check-in: 6b518635 user: drh tags: trunk
20:43
Simplify the sqlite3BtreeKeyFetch() and sqlite3BtreeDataFetch() interfaces to the storage engine. check-in: bf975985 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/vdbe.c.

  2492   2492         pDest->z = sMem.z;
  2493   2493         pDest->zMalloc = sMem.zMalloc;
  2494   2494       }
  2495   2495     }
  2496   2496     pDest->enc = encoding;
  2497   2497   
  2498   2498   op_column_out:
  2499         -  rc = sqlite3VdbeMemMakeWriteable(pDest);
         2499  +  Deephemeralize(pDest);
  2500   2500   op_column_error:
  2501   2501     UPDATE_MAX_BLOBSIZE(pDest);
  2502   2502     REGISTER_TRACE(pOp->p3, pDest);
  2503   2503     break;
  2504   2504   }
  2505   2505   
  2506   2506   /* Opcode: Affinity P1 P2 * P4 *