aboutsummaryrefslogtreecommitdiff
path: root/src/vdbeInt.h
diff options
context:
space:
mode:
authordan <Dan Kennedy>2022-12-07 20:09:54 +0000
committerdan <Dan Kennedy>2022-12-07 20:09:54 +0000
commit7f4b066eb2b5ab99ed126809e56e8a9bd41a91e3 (patch)
treeb905b159c9214d8360ddb8f29921ba9a0c193457 /src/vdbeInt.h
parent209dbab9979628ea1587a07e11c0bcfe78971dd8 (diff)
downloadsqlite-7f4b066eb2b5ab99ed126809e56e8a9bd41a91e3.tar.gz
sqlite-7f4b066eb2b5ab99ed126809e56e8a9bd41a91e3.zip
Reduce the overhead of SQLITE_ENABLE_STMT_SCANSTATUS some.
FossilOrigin-Name: 212927e97e7be7d237de08359dce0dfb9211ac406b32009a6e15afd79c006475
Diffstat (limited to 'src/vdbeInt.h')
-rw-r--r--src/vdbeInt.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/vdbeInt.h b/src/vdbeInt.h
index df47e0544..cd112e9c4 100644
--- a/src/vdbeInt.h
+++ b/src/vdbeInt.h
@@ -171,8 +171,6 @@ struct VdbeFrame {
Vdbe *v; /* VM this frame belongs to */
VdbeFrame *pParent; /* Parent of this frame, or NULL if parent is main */
Op *aOp; /* Program instructions for parent frame */
- i64 *anExec; /* Event counters from parent frame */
- u64 *anCycle; /* Cycle counters from parent frame */
Mem *aMem; /* Array of memory cells for parent frame */
VdbeCursor **apCsr; /* Array of Vdbe cursors for parent frame */
u8 *aOnce; /* Bitmask used by OP_Once */
@@ -492,10 +490,6 @@ struct Vdbe {
u32 expmask; /* Binding to these vars invalidates VM */
SubProgram *pProgram; /* Linked list of all sub-programs used by VM */
AuxData *pAuxData; /* Linked list of auxdata allocations */
-#if defined(SQLITE_ENABLE_STMT_SCANSTATUS) || defined(VDBE_PROFILE)
- i64 *anExec; /* Number of times each op has been executed */
- u64 *anCycle; /* Sum of sqlite3HwTime() spent in each opcode */
-#endif
#ifdef SQLITE_ENABLE_STMT_SCANSTATUS
int nScan; /* Entries in aScan[] */
ScanStatus *aScan; /* Scan definitions for sqlite3_stmt_scanstatus() */