aboutsummaryrefslogtreecommitdiff
path: root/src/sqlite.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/sqlite.h.in')
-rw-r--r--src/sqlite.h.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/sqlite.h.in b/src/sqlite.h.in
index 369d6b602..91466399b 100644
--- a/src/sqlite.h.in
+++ b/src/sqlite.h.in
@@ -9946,6 +9946,8 @@ int sqlite3_vtab_rhs_value(sqlite3_index_info*, int, sqlite3_value **ppVal);
#define SQLITE_SCANSTAT_NAME 3
#define SQLITE_SCANSTAT_EXPLAIN 4
#define SQLITE_SCANSTAT_SELECTID 5
+#define SQLITE_SCANSTAT_PARENTID 6
+#define SQLITE_SCANSTAT_NCYCLE 7
/*
** CAPI3REF: Prepared Statement Scan Status
@@ -9985,6 +9987,16 @@ int sqlite3_stmt_scanstatus(
void *pOut /* Result written here */
);
+int sqlite3_stmt_scanstatus_v2(
+ sqlite3_stmt *pStmt, /* Prepared statement for which info desired */
+ int idx, /* Index of loop to report on */
+ int iScanStatusOp, /* Information desired. SQLITE_SCANSTAT_* */
+ int flags, /* Mask of flags defined below */
+ void *pOut /* Result written here */
+);
+
+#define SQLITE_SCANSTAT_COMPLEX 0x0001
+
/*
** CAPI3REF: Zero Scan-Status Counters
** METHOD: sqlite3_stmt