aboutsummaryrefslogtreecommitdiff
path: root/src/wherecode.c
diff options
context:
space:
mode:
authordrh <>2023-03-30 16:08:54 +0000
committerdrh <>2023-03-30 16:08:54 +0000
commit09db37c022187873bc496c9f7e6630d4511560ca (patch)
tree1f69b64604ee27a54c482994decffc8b16f5531a /src/wherecode.c
parent53ed3830753dec80ad9bd4c7f372efe969f152a0 (diff)
downloadsqlite-09db37c022187873bc496c9f7e6630d4511560ca.tar.gz
sqlite-09db37c022187873bc496c9f7e6630d4511560ca.zip
Omit a branch that is no longer needed following [c9c4f287652933eb].
FossilOrigin-Name: 960a488a2db92f5437bc8171cdbed44618d9381c57fd41b2f0e357b6012c80b5
Diffstat (limited to 'src/wherecode.c')
-rw-r--r--src/wherecode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wherecode.c b/src/wherecode.c
index ac9326599..abb582fb7 100644
--- a/src/wherecode.c
+++ b/src/wherecode.c
@@ -2002,7 +2002,7 @@ Bitmask sqlite3WhereCodeOneLoopStart(
if( zEndAff ) sqlite3DbNNFreeNN(db, zEndAff);
/* Top of the loop body */
- if( pLevel->p2==0 ) pLevel->p2 = sqlite3VdbeCurrentAddr(v);
+ pLevel->p2 = sqlite3VdbeCurrentAddr(v);
/* Check if the index cursor is past the end of the range. */
if( nConstraint ){