Skip to content

Commit ac0c306

Browse files
author
D. Richard Hipp
committed
Add an ALWAYS() on a branch that is now unreachable.
1 parent 2a4b561 commit ac0c306

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vdbe.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3949,7 +3949,7 @@ case OP_OpenEphemeral: {
39493949
aMem[pOp->p3].z = "";
39503950
}
39513951
pCx = p->apCsr[pOp->p1];
3952-
if( pCx && pCx->pBtx ){
3952+
if( pCx && ALWAYS(pCx->pBtx) ){
39533953
/* If the ephermeral table is already open, erase all existing content
39543954
** so that the table is empty again, rather than creating a new table. */
39553955
assert( pCx->isEphemeral );

0 commit comments

Comments
 (0)