aboutsummaryrefslogtreecommitdiff
path: root/src/wherecode.c
diff options
context:
space:
mode:
authordan <Dan Kennedy>2022-12-02 20:32:22 +0000
committerdan <Dan Kennedy>2022-12-02 20:32:22 +0000
commit231ff4b027b077ce9ac0c829cd9cee4108ca9b7a (patch)
tree5cf6210ffda1cc351169cef8dc576ac2edc83fc9 /src/wherecode.c
parentbb4e4a4840530da37c6fdaabc9769a1996f25809 (diff)
downloadsqlite-231ff4b027b077ce9ac0c829cd9cee4108ca9b7a.tar.gz
sqlite-231ff4b027b077ce9ac0c829cd9cee4108ca9b7a.zip
Enhance the sqlite3_stmt_scanstatus() API and add sqlite3_stmt_scanstatus_v2(). For creation of easier to read query performance reports.
FossilOrigin-Name: 55800833645739efeddcacef464c623931cb6aeb43f4219b4e4faf473c25c8bb
Diffstat (limited to 'src/wherecode.c')
-rw-r--r--src/wherecode.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wherecode.c b/src/wherecode.c
index c731cc82f..b744556fa 100644
--- a/src/wherecode.c
+++ b/src/wherecode.c
@@ -270,6 +270,8 @@ int sqlite3WhereExplainBloomFilter(
zMsg = sqlite3StrAccumFinish(&str);
ret = sqlite3VdbeAddOp4(v, OP_Explain, sqlite3VdbeCurrentAddr(v),
pParse->addrExplain, 0, zMsg,P4_DYNAMIC);
+
+ sqlite3VdbeScanStatus(v, sqlite3VdbeCurrentAddr(v)-1, 0, 0, 0, 0);
return ret;
}
#endif /* SQLITE_OMIT_EXPLAIN */