/ Check-in [81891288]
Login

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

Overview
Comment:Remove unnecessary local variables from sqlite3VdbeExec() in order to reduce stack-space requirements of that routine.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:81891288d9f281cf2ceb4cd701c0c3231b1bab19
User & Date: drh 2013-11-27 21:07:03
Context
2013-11-28
06:17
Fix a test case in temptrigger.test so that it works in auto-vacuum mode. check-in: c3b7a0e6 user: dan tags: trunk
2013-11-27
21:53
Merge all recent trunk changes. check-in: 3a2a1bd4 user: drh tags: sessions
21:07
Remove unnecessary local variables from sqlite3VdbeExec() in order to reduce stack-space requirements of that routine. check-in: 81891288 user: drh tags: trunk
19:17
Update documentation of sqlite3_column() for clarity. Update evidence marks on test cases. check-in: ec2d47a1 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/vdbe.c.

  4128   4128   
  4129   4129     sqlite3BtreeSetCachedRowid(pC->pCursor, 0);
  4130   4130     rc = sqlite3BtreeDelete(pC->pCursor);
  4131   4131     pC->cacheStatus = CACHE_STALE;
  4132   4132   
  4133   4133     /* Invoke the update-hook if required. */
  4134   4134     if( rc==SQLITE_OK && db->xUpdateCallback && pOp->p4.z && pC->isTable ){
  4135         -    const char *zDb = db->aDb[pC->iDb].zName;
  4136         -    const char *zTbl = pOp->p4.z;
  4137         -    db->xUpdateCallback(db->pUpdateArg, SQLITE_DELETE, zDb, zTbl, iKey);
         4135  +    db->xUpdateCallback(db->pUpdateArg, SQLITE_DELETE,
         4136  +                        db->aDb[pC->iDb].zName, pOp->p4.z, iKey);
  4138   4137       assert( pC->iDb>=0 );
  4139   4138     }
  4140   4139     if( pOp->p2 & OPFLAG_NCHANGE ) p->nChange++;
  4141   4140     break;
  4142   4141   }
  4143   4142   /* Opcode: ResetCount * * * * *
  4144   4143   **