aboutsummaryrefslogtreecommitdiff
path: root/src/vdbeInt.h
diff options
context:
space:
mode:
authordrh <>2023-07-28 18:37:13 +0000
committerdrh <>2023-07-28 18:37:13 +0000
commit58b5921ca460032c6d19bfe6f0f736763f33c3bc (patch)
tree4a7a6bafd520c7f78834a9b3be38d7f19718da52 /src/vdbeInt.h
parent58bf53d5730d327d17446caeda31a926b9cb66f3 (diff)
parent47079b19dfae85cba60a5c976d258b4ce6405d6c (diff)
downloadsqlite-58b5921ca460032c6d19bfe6f0f736763f33c3bc.tar.gz
sqlite-58b5921ca460032c6d19bfe6f0f736763f33c3bc.zip
Add the sqlite3_stmt_explain() API.
FossilOrigin-Name: 0443c0ef85f8f6f3efdee68bf59126c9459f08a58458756f8cbeeaf043d43a86
Diffstat (limited to 'src/vdbeInt.h')
-rw-r--r--src/vdbeInt.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vdbeInt.h b/src/vdbeInt.h
index f2ca65675..f42455992 100644
--- a/src/vdbeInt.h
+++ b/src/vdbeInt.h
@@ -481,16 +481,18 @@ struct Vdbe {
u32 nWrite; /* Number of write operations that have occurred */
#endif
u16 nResColumn; /* Number of columns in one row of the result set */
+ u16 nResAlloc; /* Column slots allocated to aColName[] */
u8 errorAction; /* Recovery action to do in case of an error */
u8 minWriteFileFormat; /* Minimum file format for writable database files */
u8 prepFlags; /* SQLITE_PREPARE_* flags */
u8 eVdbeState; /* On of the VDBE_*_STATE values */
bft expired:2; /* 1: recompile VM immediately 2: when convenient */
- bft explain:2; /* True if EXPLAIN present on SQL command */
+ bft explain:2; /* 0: normal, 1: EXPLAIN, 2: EXPLAIN QUERY PLAN */
bft changeCntOn:1; /* True to update the change-counter */
bft usesStmtJournal:1; /* True if uses a statement journal */
bft readOnly:1; /* True for statements that do not write */
bft bIsReader:1; /* True for statements that read */
+ bft haveEqpOps:1; /* Bytecode supports EXPLAIN QUERY PLAN */
yDbMask btreeMask; /* Bitmask of db->aDb[] entries referenced */
yDbMask lockMask; /* Subset of btreeMask that requires a lock */
u32 aCounter[9]; /* Counters used by sqlite3_stmt_status() */