aboutsummaryrefslogtreecommitdiff
path: root/src/wherecode.c
diff options
context:
space:
mode:
authordan <dan@noemail.net>2018-09-10 19:27:12 +0000
committerdan <dan@noemail.net>2018-09-10 19:27:12 +0000
commitbe312ae9fd73f9b6d6daa704966e7a6f43261256 (patch)
tree69268a2ce318286e3f0d53c8b3df6efed9fa1a79 /src/wherecode.c
parent173e7823df884e013726b93148159cc242dc6380 (diff)
downloadsqlite-be312ae9fd73f9b6d6daa704966e7a6f43261256.tar.gz
sqlite-be312ae9fd73f9b6d6daa704966e7a6f43261256.zip
Fix a minor problem causing an incorrect cursor-hint to be generated in some
cases. FossilOrigin-Name: d879c47d7d145cbe99602b2cf70294ddc946709e8d61040942085d29e2c5b6cd
Diffstat (limited to 'src/wherecode.c')
-rw-r--r--src/wherecode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wherecode.c b/src/wherecode.c
index 6b819da66..82519238a 100644
--- a/src/wherecode.c
+++ b/src/wherecode.c
@@ -882,7 +882,7 @@ static int codeCursorHintIsOrFunction(Walker *pWalker, Expr *pExpr){
static int codeCursorHintFixExpr(Walker *pWalker, Expr *pExpr){
int rc = WRC_Continue;
struct CCurHint *pHint = pWalker->u.pCCurHint;
- if( pExpr->op==TK_COLUMN && !ExprHasProperty(pExpr, EP_FixedCol) ){
+ if( pExpr->op==TK_COLUMN ){
if( pExpr->iTable!=pHint->iTabCur ){
Vdbe *v = pWalker->pParse->pVdbe;
int reg = ++pWalker->pParse->nMem; /* Register for column value */