diff options
author | drh <drh@noemail.net> | 2010-12-03 18:57:17 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2010-12-03 18:57:17 +0000 |
commit | ea76f555628f50d1f2160cb8ddc1a8c14afb722a (patch) | |
tree | 7b37bd7b1aa7b969d7a1f9c3dc0749294da0e346 /src | |
parent | c80491dbd12a56b4059e759e98eb2fa13511fc1b (diff) | |
download | sqlite-ea76f555628f50d1f2160cb8ddc1a8c14afb722a.tar.gz sqlite-ea76f555628f50d1f2160cb8ddc1a8c14afb722a.zip |
Remove an over-zealous call to memAboutToChange() from OP_MustBeInt.
OP_MustBeInt will never invalidate the Mem.z pointer so the memAboutToChange()
call is not necessary.
FossilOrigin-Name: 841cf7a7dbf0947cb7bde864609a8d3294f78689
Diffstat (limited to 'src')
-rw-r--r-- | src/vdbe.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/vdbe.c b/src/vdbe.c index 1a419c7a9..eddd1e599 100644 --- a/src/vdbe.c +++ b/src/vdbe.c @@ -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 ){ |