Do a single OP_Expire at the very end of "PRAGMA optimize", and omit the
OP_Expire on ANALYZE commands invoked by the pragma.
FossilOrigin-Name: 188300a337c87b7ee0dd1f4b9a4f1bd80e70cca4
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index fddfe2a..e95d63e 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -1333,6 +1333,7 @@
u8 isTransactionSavepoint; /* True if the outermost savepoint is a TS */
u8 mTrace; /* zero or more SQLITE_TRACE flags */
u8 skipBtreeMutex; /* True if no shared-cache backends */
+ u8 nSqlExec; /* Number of pending OP_SqlExec opcodes */
int nextPagesize; /* Pagesize after VACUUM if >0 */
u32 magic; /* Magic number for detect library misuse */
int nChange; /* Value returned by sqlite3_changes() */