1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-18 10:21:03 +03:00

Add the "WITH BLOOM FILTER" clause to the EXPLAIN QUERY PLAN output for

cases were a Bloom filter is used.

FossilOrigin-Name: 8e078c0e404fe4b3661dd4a11a992a8914c99e2a144cecc417421cbd68fa08cc
This commit is contained in:
drh
2021-12-04 13:52:08 +00:00
parent fa35f5c5a7
commit 19ce9aafdb
3 changed files with 10 additions and 7 deletions

View File

@@ -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)",