aboutsummaryrefslogtreecommitdiff
path: root/src/select.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2009-12-24 16:00:28 +0000
committerdrh <drh@noemail.net>2009-12-24 16:00:28 +0000
commitb6da74ebd5140fac15bb007ce21e3b79b981f98e (patch)
tree469fc9a139de5d332f6b84302bd0b4ffad43ec4b /src/select.c
parent07096f68ae9f9de330350cafc6d11b37d8e328f7 (diff)
downloadsqlite-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/select.c')
-rw-r--r--src/select.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/select.c b/src/select.c
index 2e07213f9..0ba56a8ae 100644
--- a/src/select.c
+++ b/src/select.c
@@ -3917,7 +3917,7 @@ int sqlite3Select(
int r2;
r2 = sqlite3ExprCodeGetColumn(pParse,
- pCol->pTab, pCol->iColumn, pCol->iTable, r1, 0);
+ pCol->pTab, pCol->iColumn, pCol->iTable, r1);
if( r1!=r2 ){
sqlite3VdbeAddOp2(v, OP_SCopy, r2, r1);
}