/ Check-in [29f54b89]
Login

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

Overview
Comment:Make sure the Vdbe.expmask value is set correctly in sqlite3VdbeSwap(). This fixes a problem introduced by [a8fd7052].
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 29f54b899e5cf22ece98ab41c39c41d75a4b228d
User & Date: drh 2017-03-02 13:13:30
Context
2017-03-02
14:51
When saving the state of an RBU update in the incremental-checkpoint phase, sync the database file. Otherwise, if a power failure occurs and the RBU update resumed following system recovery, the database may become corrupt. check-in: edee6a80 user: dan tags: trunk
13:22
Merge recent trunk enhancements. check-in: c60cdb47 user: drh tags: auto-analyze
13:13
Make sure the Vdbe.expmask value is set correctly in sqlite3VdbeSwap(). This fixes a problem introduced by [a8fd7052]. check-in: 29f54b89 user: drh tags: trunk
2017-03-01
11:30
Fix a use-after-free problem in the shell tool code that could occur if an SQL statement were executed after an ".open" command with invalid options. check-in: ac760db0 user: dan tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/vdbeaux.c.

    82     82     pTmp = pA->pPrev;
    83     83     pA->pPrev = pB->pPrev;
    84     84     pB->pPrev = pTmp;
    85     85     zTmp = pA->zSql;
    86     86     pA->zSql = pB->zSql;
    87     87     pB->zSql = zTmp;
    88     88     pB->isPrepareV2 = pA->isPrepareV2;
           89  +  pB->expmask = pA->expmask;
    89     90   }
    90     91   
    91     92   /*
    92     93   ** Resize the Vdbe.aOp array so that it is at least nOp elements larger 
    93     94   ** than its current size. nOp is guaranteed to be less than or equal
    94     95   ** to 1024/sizeof(Op).
    95     96   **