1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-02 05:54:29 +03:00

Revise variable declaration moved in the previous check-in so sqlite3VdbeReset() is consistent with sqlite3VdbeRewind().

FossilOrigin-Name: 63d1b425ee6a7d2ae782b738d81d98e39342ae7fe7c4fd217a28a0bdafe4f222
This commit is contained in:
mistachkin
2017-10-07 23:35:40 +00:00
parent b60424e495
commit 4537f77a53
3 changed files with 8 additions and 9 deletions

View File

@@ -2868,7 +2868,7 @@ static void vdbeInvokeSqllog(Vdbe *v){
** VDBE_MAGIC_INIT.
*/
int sqlite3VdbeReset(Vdbe *p){
#ifdef SQLITE_DEBUG
#if defined(SQLITE_DEBUG) || defined(VDBE_PROFILE)
int i;
#endif
@@ -2918,7 +2918,6 @@ int sqlite3VdbeReset(Vdbe *p){
{
FILE *out = fopen("vdbe_profile.out", "a");
if( out ){
int i;
fprintf(out, "---- ");
for(i=0; i<p->nOp; i++){
fprintf(out, "%02x", p->aOp[i].opcode);