1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-15 11:41:13 +03:00

Remove unreachable code that was added by the fix to the "(xANDy)OR(z)" bug

in the previous check-in.

FossilOrigin-Name: 04915562a0c2cb377bc7baa0c06c5d9ac376563c
This commit is contained in:
drh
2009-12-16 23:43:55 +00:00
parent c01a3c1775
commit b057e56f22
3 changed files with 11 additions and 13 deletions

View File

@@ -3416,9 +3416,7 @@ static Bitmask codeOneLoopStart(
testcase( pTerm->wtFlags & TERM_CODED );
if( pTerm->wtFlags & (TERM_VIRTUAL|TERM_CODED) ) continue;
if( (pTerm->prereqAll & notReady)!=0 ){
testcase( pWInfo->untestedTerms==0
&& (pWInfo->wctrlFlags & WHERE_ONETABLE_ONLY)!=0 );
pWInfo->untestedTerms = 1;
assert( pWInfo->untestedTerms );
continue;
}
assert( pTerm->pExpr );