aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2018-12-28 20:14:03 +0000
committerdrh <drh@noemail.net>2018-12-28 20:14:03 +0000
commitb6991796b4b6f1a9c591349dd6d6ac4438f1db79 (patch)
tree0ea05739088e4166cf0a2fe4030c409b132871b6 /src/sqliteInt.h
parent4177c8a2b780a3be520f423d896b8825a01a3924 (diff)
downloadsqlite-b6991796b4b6f1a9c591349dd6d6ac4438f1db79.tar.gz
sqlite-b6991796b4b6f1a9c591349dd6d6ac4438f1db79.zip
Move the nOpAlloc field from Parse into Vdbe to avoid an extra pointer
deference on the fast path in sqlite3VdbeAddOp3(). FossilOrigin-Name: 8f10efc29dea7b816b1ba401726c268950d6671d890f686911269082a241d8d9
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 2af59ecf8..93befd451 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -3065,7 +3065,6 @@ struct Parse {
int nErr; /* Number of errors seen */
int nTab; /* Number of previously allocated VDBE cursors */
int nMem; /* Number of memory cells used so far */
- int nOpAlloc; /* Number of slots allocated for Vdbe.aOp[] */
int szOpAlloc; /* Bytes of memory space allocated for Vdbe.aOp[] */
int iSelfTab; /* Table associated with an index on expr, or negative
** of the base register during check-constraint eval */