aboutsummaryrefslogtreecommitdiff
path: root/src/vdbeaux.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vdbeaux.c')
-rw-r--r--src/vdbeaux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vdbeaux.c b/src/vdbeaux.c
index 2642c59b8..da8108a59 100644
--- a/src/vdbeaux.c
+++ b/src/vdbeaux.c
@@ -2048,7 +2048,7 @@ int sqlite3VdbeNextOpcode(
{
assert( eMode==1 );
if( aOp[i].opcode==OP_Explain ) break;
- if( aOp[i].opcode==OP_Init && p->pc>1 ) break;
+ if( aOp[i].opcode==OP_Init && iPc>1 ) break;
}
}
*piPc = iPc;