aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
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/sqliteInt.h
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/sqliteInt.h')
-rw-r--r--src/sqliteInt.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 4711e4f09..5a19058bd 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -5565,7 +5565,9 @@ const char **sqlite3CompileOptions(int *pnOpt);
int sqlite3KvvfsInit(void);
#endif
-#if defined(VDBE_PROFILE) || defined(SQLITE_PERFORMANCE_TRACE)
+#if defined(VDBE_PROFILE) \
+ || defined(SQLITE_PERFORMANCE_TRACE) \
+ || defined(SQLITE_ENABLE_STMT_SCANSTATUS)
sqlite3_uint64 sqlite3Hwtime(void);
#endif