1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Record when the OP_IfNotOpen branch is and is not taken.

FossilOrigin-Name: 182a898b14d585edd5fcfdcd6584c957911f0d81773d2868f16b5762dec031ca
This commit is contained in:
drh
2020-01-04 18:33:20 +00:00
parent 64f7ee0219
commit 56ea69bf0e
3 changed files with 8 additions and 7 deletions

View File

@@ -4396,6 +4396,7 @@ case OP_SeekHit: {
*/
case OP_IfNotOpen: { /* jump */
assert( pOp->p1>=0 && pOp->p1<p->nCursor );
VdbeBranchTaken(p->apCsr[pOp->p1]==0, 2);
if( !p->apCsr[pOp->p1] ){
goto jump_to_p2_and_check_for_interrupt;
}