diff options
author | drh <> | 2022-04-01 17:01:57 +0000 |
---|---|---|
committer | drh <> | 2022-04-01 17:01:57 +0000 |
commit | 17c4865b838d222314fa6256e7584a5fe164281b (patch) | |
tree | 2079fcf9d6f70d8827ed83d751cbde81956bd8e1 /src/vdbe.c | |
parent | 00946d79535aa1c11d859ea2e944068c953faf48 (diff) | |
parent | 99a218282c42057ada2c187dc28f47442ce78751 (diff) | |
download | sqlite-17c4865b838d222314fa6256e7584a5fe164281b.tar.gz sqlite-17c4865b838d222314fa6256e7584a5fe164281b.zip |
Refactor the Vdbe.iVdbeMagic field into Vdbe.eVdbeState. Split the RUNNING
state into separate RUNNING and READY. This gives a size reduction and
performance increase.
FossilOrigin-Name: 5a50a42fde9477868fad31099f5fe976437825fac44f8b3a4cf6c739c7667bbb
Diffstat (limited to 'src/vdbe.c')
-rw-r--r-- | src/vdbe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vdbe.c b/src/vdbe.c index 138210943..ed781a96e 100644 --- a/src/vdbe.c +++ b/src/vdbe.c @@ -740,7 +740,7 @@ int sqlite3VdbeExec( #endif /*** INSERT STACK UNION HERE ***/ - assert( p->iVdbeMagic==VDBE_MAGIC_RUN ); /* sqlite3_step() verifies this */ + assert( p->eVdbeState==VDBE_RUN_STATE ); /* sqlite3_step() verifies this */ sqlite3VdbeEnter(p); #ifndef SQLITE_OMIT_PROGRESS_CALLBACK if( db->xProgress ){ |