diff options
author | dan <Dan Kennedy> | 2022-12-02 20:32:22 +0000 |
---|---|---|
committer | dan <Dan Kennedy> | 2022-12-02 20:32:22 +0000 |
commit | 231ff4b027b077ce9ac0c829cd9cee4108ca9b7a (patch) | |
tree | 5cf6210ffda1cc351169cef8dc576ac2edc83fc9 /src/util.c | |
parent | bb4e4a4840530da37c6fdaabc9769a1996f25809 (diff) | |
download | sqlite-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/util.c')
-rw-r--r-- | src/util.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c index 7a58fc876..72faafea5 100644 --- a/src/util.c +++ b/src/util.c @@ -1717,6 +1717,8 @@ int sqlite3VListNameToNum(VList *pIn, const char *zName, int nName){ /* ** High-resolution hardware timer used for debugging and testing only. */ -#if defined(VDBE_PROFILE) || defined(SQLITE_PERFORMANCE_TRACE) +#if defined(VDBE_PROFILE) \ + || defined(SQLITE_PERFORMANCE_TRACE) \ + || defined(SQLITE_ENABLE_STMT_SCANSTATUS) # include "hwtime.h" #endif |