aboutsummaryrefslogtreecommitdiff
path: root/src/vdbeaux.c
diff options
context:
space:
mode:
authordan <Dan Kennedy>2022-12-05 18:52:12 +0000
committerdan <Dan Kennedy>2022-12-05 18:52:12 +0000
commit07c8e08889b840574bb28f7ffd0e19fc76ba5ea5 (patch)
treec856f7b8def374ac455053b8d2d3a247739f14ab /src/vdbeaux.c
parent77e171e8fa536f47f7a5108d7b8b5d88fc01ae05 (diff)
downloadsqlite-07c8e08889b840574bb28f7ffd0e19fc76ba5ea5.tar.gz
sqlite-07c8e08889b840574bb28f7ffd0e19fc76ba5ea5.zip
Update comments in sqlite.h.in to account for sqlite3_stmt_scanstatus_v2().
FossilOrigin-Name: 009462f2344b1f468cf9440343a47fec68d783a2bfb4fa6168bb227ec910b918
Diffstat (limited to 'src/vdbeaux.c')
-rw-r--r--src/vdbeaux.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/vdbeaux.c b/src/vdbeaux.c
index 3078237a9..e22b74119 100644
--- a/src/vdbeaux.c
+++ b/src/vdbeaux.c
@@ -1128,6 +1128,13 @@ void sqlite3VdbeScanStatus(
}
}
+/*
+** Add the range of instructions from addrStart to addrEnd (inclusive) to
+** the set of those corresponding to the sqlite3_stmt_scanstatus() counters
+** associated with the OP_Explain instruction at addrExplain. The
+** sum of the sqlite3Hwtime() values for each of these instructions
+** will be returned for SQLITE_SCANSTAT_NCYCLE requests.
+*/
void sqlite3VdbeScanStatusRange(
Vdbe *p,
int addrExplain,
@@ -1153,6 +1160,11 @@ void sqlite3VdbeScanStatusRange(
}
}
+/*
+** Set the addresses for the SQLITE_SCANSTAT_NLOOP and SQLITE_SCANSTAT_NROW
+** counters for the query element associated with the OP_Explain at
+** addrExplain.
+*/
void sqlite3VdbeScanStatusCounters(
Vdbe *p,
int addrExplain,