aboutsummaryrefslogtreecommitdiff
path: root/src/wherecode.c
diff options
context:
space:
mode:
authordrh <>2021-12-04 13:52:08 +0000
committerdrh <>2021-12-04 13:52:08 +0000
commit19ce9aafdb200670d5ee9c3f1b139801a988f2ba (patch)
treec732629361a7bca15f786ea251f5ed38ebcba35e /src/wherecode.c
parentfa35f5c5a7868902019c6a18eeec52f4a577fc8b (diff)
downloadsqlite-19ce9aafdb200670d5ee9c3f1b139801a988f2ba.tar.gz
sqlite-19ce9aafdb200670d5ee9c3f1b139801a988f2ba.zip
Add the "WITH BLOOM FILTER" clause to the EXPLAIN QUERY PLAN output for
cases were a Bloom filter is used. FossilOrigin-Name: 8e078c0e404fe4b3661dd4a11a992a8914c99e2a144cecc417421cbd68fa08cc
Diffstat (limited to 'src/wherecode.c')
-rw-r--r--src/wherecode.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wherecode.c b/src/wherecode.c
index 637db432e..2e616ad59 100644
--- a/src/wherecode.c
+++ b/src/wherecode.c
@@ -196,6 +196,9 @@ int sqlite3WhereExplainOneScan(
pLoop->u.vtab.idxNum, pLoop->u.vtab.idxStr);
}
#endif
+ if( flags & WHERE_BLOOMFILTER ){
+ sqlite3_str_appendf(&str, " WITH BLOOM FILTER");
+ }
#ifdef SQLITE_EXPLAIN_ESTIMATED_ROWS
if( pLoop->nOut>=10 ){
sqlite3_str_appendf(&str, " (~%llu rows)",