/ Check-in [cd9096e6]
Login

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

Overview
Comment:Fix a typo in the previous commit.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | typo
Files: files | file ages | folders
SHA1: cd9096e64b86c8d45f6744e6eb6ced2aa1a18279
User & Date: dan 2013-07-18 18:28:04
Context
2013-07-18
18:29
Ensure that all auxiliary data registered by calls to sqlite3_set_auxdata() is destroyed when the VM is halted. check-in: 153deac8 user: dan tags: trunk
18:28
Fix a typo in the previous commit. Closed-Leaf check-in: cd9096e6 user: dan tags: typo
17:12
Ensure that all auxiliary data registered by calls to sqlite3_set_auxdata() is destroyed when the VM is halted. Partial fix for [406d3b2ef9]. DRH adds: Stray text accidentally inserted into vdbe.c just prior to the commit breaks the build. check-in: 71effa59 user: dan tags: typo
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/vdbe.c.

  1446   1446     db->lastRowid = lastRowid;
  1447   1447     (*ctx.pFunc->xFunc)(&ctx, n, apVal); /* IMP: R-24505-23230 */
  1448   1448     lastRowid = db->lastRowid;
  1449   1449   
  1450   1450     /* If any auxiliary data functions have been called by this user function,
  1451   1451     ** immediately call the destructor for any non-static values.
  1452   1452     */
  1453         -  sqlite3VdbeDeleteAuxData(ppc, pc, pOp->p1);
         1453  +  sqlite3VdbeDeleteAuxData(p, pc, pOp->p1);
  1454   1454   
  1455   1455     if( db->mallocFailed ){
  1456   1456       /* Even though a malloc() has failed, the implementation of the
  1457   1457       ** user function may have called an sqlite3_result_XXX() function
  1458   1458       ** to return a value. The following call releases any resources
  1459   1459       ** associated with such a value.
  1460   1460       */