aboutsummaryrefslogtreecommitdiff
path: root/src/expr.c
diff options
context:
space:
mode:
authordan <dan@noemail.net>2010-03-05 16:32:12 +0000
committerdan <dan@noemail.net>2010-03-05 16:32:12 +0000
commitb7dca7d7335b02122a3fd1846723c07a3a5af32f (patch)
tree1b544e6fb8e1422be2e9441147557f0f60bb4ca6 /src/expr.c
parentf8b4d8c682ecc60197c9c3f5e76f55a3beda9981 (diff)
downloadsqlite-b7dca7d7335b02122a3fd1846723c07a3a5af32f.tar.gz
sqlite-b7dca7d7335b02122a3fd1846723c07a3a5af32f.zip
Modify the vdbe so that the comparison operator opcodes do not modify the data type of operands. Fix for [aa92c76cd4].
FossilOrigin-Name: 8858042fa1449516a2c7dbb991dca3eb6c5794cb
Diffstat (limited to 'src/expr.c')
-rw-r--r--src/expr.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/expr.c b/src/expr.c
index dcadd9856..034088faf 100644
--- a/src/expr.c
+++ b/src/expr.c
@@ -248,10 +248,6 @@ static int codeCompare(
addr = sqlite3VdbeAddOp4(pParse->pVdbe, opcode, in2, dest, in1,
(void*)p4, P4_COLLSEQ);
sqlite3VdbeChangeP5(pParse->pVdbe, (u8)p5);
- if( (p5 & SQLITE_AFF_MASK)!=SQLITE_AFF_NONE ){
- sqlite3ExprCacheAffinityChange(pParse, in1, 1);
- sqlite3ExprCacheAffinityChange(pParse, in2, 1);
- }
return addr;
}