diff options
author | drh <drh@noemail.net> | 2016-09-18 16:08:10 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2016-09-18 16:08:10 +0000 |
commit | 9e5eb9c8cc66320ec01298cc2e76ae6a1e29515a (patch) | |
tree | 0b928bf5c2a8af992d5487f4fb196856ced33980 /src/sqliteInt.h | |
parent | 598f7c59e140c244d616b8f7c882b7d17229f02c (diff) | |
download | sqlite-9e5eb9c8cc66320ec01298cc2e76ae6a1e29515a.tar.gz sqlite-9e5eb9c8cc66320ec01298cc2e76ae6a1e29515a.zip |
Revise the implementation of OP_Once so that it is smaller, faster, and uses
less memory. This also fixes an obscure bug introduced 3 days ago by check-in
[5990a1bdb4a073].
FossilOrigin-Name: 6bf5ba10d28f1b0a32aa9a560ae3143a1235eadb
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index dbb18a745..ebae7e54a 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -2896,7 +2896,6 @@ struct Parse { int nTab; /* Number of previously allocated VDBE cursors */ int nMem; /* Number of memory cells used so far */ int nSet; /* Number of sets used so far */ - int nOnce; /* Number of OP_Once instructions so far */ int nOpAlloc; /* Number of slots allocated for Vdbe.aOp[] */ int szOpAlloc; /* Bytes of memory space allocated for Vdbe.aOp[] */ int iFixedOp; /* Never back out opcodes iFixedOp-1 or earlier */ @@ -3230,6 +3229,7 @@ struct Sqlite3Config { int (*xTestCallback)(int); /* Invoked by sqlite3FaultSim() */ #endif int bLocaltimeFault; /* True to fail localtime() calls */ + int iOnceResetThreshold; /* When to reset OP_Once counters */ }; /* |