aboutsummaryrefslogtreecommitdiff
path: root/src/expr.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2018-08-16 15:29:40 +0000
committerdrh <drh@noemail.net>2018-08-16 15:29:40 +0000
commitd8852095e01b4c41673779d95c951a7de75daf83 (patch)
treec919d380b3dc9e41946af9208d4280731c1f571c /src/expr.c
parent588032fe33588950ffcf525600822aacb07544c5 (diff)
downloadsqlite-d8852095e01b4c41673779d95c951a7de75daf83.tar.gz
sqlite-d8852095e01b4c41673779d95c951a7de75daf83.zip
Fix EXPLAIN QUERY PLAN so that it describes IN operators implemented using
a ROWID lookup. FossilOrigin-Name: 60045fbf52162f15f2e18a4e392e80fab19bdbce242728b5e62b0894eac49dfd
Diffstat (limited to 'src/expr.c')
-rw-r--r--src/expr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/expr.c b/src/expr.c
index 769d198c2..112755f61 100644
--- a/src/expr.c
+++ b/src/expr.c
@@ -2366,7 +2366,8 @@ int sqlite3FindInIndex(
sqlite3OpenTable(pParse, iTab, iDb, pTab, OP_OpenRead);
eType = IN_INDEX_ROWID;
-
+ ExplainQueryPlan((pParse, 0,
+ "USING ROWID SEARCH ON TABLE %s FOR IN-OPERATOR",pTab->zName));
sqlite3VdbeJumpHere(v, iAddr);
}else{
Index *pIdx; /* Iterator variable */