mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-22 20:22:44 +03:00
Make sure the WHERE_IDX_ONLY flag is not set on query plans that will not
be using an index. FossilOrigin-Name: 698b2a28004a9a2f0eabaadf36d833da4400b2bf
This commit is contained in:
@@ -3223,6 +3223,7 @@ static void bestBtreeIndex(
|
||||
** it seems to be working well enough at the moment.
|
||||
*/
|
||||
cost = aiRowEst[0]*4;
|
||||
wsFlags &= ~WHERE_IDX_ONLY;
|
||||
}else{
|
||||
log10N = estLog(aiRowEst[0]);
|
||||
cost = nRow;
|
||||
|
||||
Reference in New Issue
Block a user