Skip to content

Commit

Permalink
Remove an over-zealous call to memAboutToChange() from OP_MustBeInt.
Browse files Browse the repository at this point in the history
OP_MustBeInt will never invalidate the Mem.z pointer so the memAboutToChange()
call is not necessary.
  • Loading branch information
Unknown committed Dec 3, 2010
1 parent 9ed38d0 commit ff0855e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/vdbe.c
Expand Up @@ -1514,7 +1514,6 @@ case OP_AddImm: { /* in1 */
*/
case OP_MustBeInt: { /* jump, in1 */
pIn1 = &aMem[pOp->p1];
memAboutToChange(p, pIn1);
applyAffinity(pIn1, SQLITE_AFF_NUMERIC, encoding);
if( (pIn1->flags & MEM_Int)==0 ){
if( pOp->p2==0 ){
Expand Down

0 comments on commit ff0855e

Please sign in to comment.