diff options
author | drh <drh@noemail.net> | 2009-12-24 16:00:28 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2009-12-24 16:00:28 +0000 |
commit | b6da74ebd5140fac15bb007ce21e3b79b981f98e (patch) | |
tree | 469fc9a139de5d332f6b84302bd0b4ffad43ec4b /src/where.c | |
parent | 07096f68ae9f9de330350cafc6d11b37d8e328f7 (diff) | |
download | sqlite-b6da74ebd5140fac15bb007ce21e3b79b981f98e.tar.gz sqlite-b6da74ebd5140fac15bb007ce21e3b79b981f98e.zip |
Immediately purge entries from the column cache when the associated register
undergoes an affinity change. Ticket [eb5548a849]. Enhance the
SQLITE_TESTCTRL_OPTIMIZATIONS setting of sqlite3_test_control so that it
can disable the column cache for testing purposes, in an effort to prevent
future problems of a similar nature to this one.
FossilOrigin-Name: ea4e57e1c1b6663ceb12872e31a8503f6c14e3d8
Diffstat (limited to 'src/where.c')
-rw-r--r-- | src/where.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/where.c b/src/where.c index f6d9ab296..0f47d18af 100644 --- a/src/where.c +++ b/src/where.c @@ -3336,7 +3336,7 @@ static Bitmask codeOneLoopStart( int iSet = ((ii==pOrWc->nTerm-1)?-1:ii); int r; r = sqlite3ExprCodeGetColumn(pParse, pTabItem->pTab, -1, iCur, - regRowid, 0); + regRowid); sqlite3VdbeAddOp4Int(v, OP_RowSetTest, regRowset, sqlite3VdbeCurrentAddr(v)+2, r, iSet); } |