aboutsummaryrefslogtreecommitdiff
path: root/src/wherecode.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2017-12-13 18:01:52 +0000
committerdrh <drh@noemail.net>2017-12-13 18:01:52 +0000
commit472e41ea16b2f338634ad31495d21dca62259eed (patch)
tree6c228fbcb24292196cd79412e272c3f81f998baa /src/wherecode.c
parent34aebb88da49697c411b64c8e81e17486f26a513 (diff)
downloadsqlite-472e41ea16b2f338634ad31495d21dca62259eed.tar.gz
sqlite-472e41ea16b2f338634ad31495d21dca62259eed.zip
Correctly invalidate a column cache line when it is overwritten with NULL.
Fix for ticket [123c9ba32130a6c9d432]. FossilOrigin-Name: 65754dc3b830ef9482655d2e93c2cd4acaa7a8715a58d8309955d04378541f89
Diffstat (limited to 'src/wherecode.c')
-rw-r--r--src/wherecode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wherecode.c b/src/wherecode.c
index 40c5f4118..3c166a121 100644
--- a/src/wherecode.c
+++ b/src/wherecode.c
@@ -1690,6 +1690,7 @@ Bitmask sqlite3WhereCodeOneLoopStart(
}
}else if( bStopAtNull ){
sqlite3VdbeAddOp2(v, OP_Null, 0, regBase+nEq);
+ sqlite3ExprCacheRemove(pParse, regBase+nEq, 1);
endEq = 0;
nConstraint++;
}