1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-18 10:21:03 +03:00

Omit the unnecessary WHERE_REOPEN_IDX flag in the WHERE interface.

FossilOrigin-Name: da94a6e0ebacad8f235dcd653a25474327f26137
This commit is contained in:
drh
2016-05-09 19:58:56 +00:00
parent ba1079ba2a
commit a72a15e45a
5 changed files with 15 additions and 13 deletions

View File

@@ -4479,7 +4479,7 @@ WhereInfo *sqlite3WhereBegin(
pWInfo->aiCurOnePass[1] = iIndexCur;
}else if( iAuxArg && (wctrlFlags & WHERE_ONETABLE_ONLY)!=0 ){
iIndexCur = iAuxArg;
if( wctrlFlags & WHERE_REOPEN_IDX ) op = OP_ReopenIdx;
op = OP_ReopenIdx;
}else{
iIndexCur = pParse->nTab++;
}