1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-14 00:22:38 +03:00

Fix a problem causing the OR/covering-index optimization to be disabled if compile time parameter SQLITE_MAX_ATTACHED were set to greater than 30.

FossilOrigin-Name: a17712bf8d98dd485560f434a5350e6381cf1411
This commit is contained in:
dan
2016-02-01 13:58:56 +00:00
parent b0c886510f
commit cddb6ba03b
3 changed files with 9 additions and 9 deletions

View File

@@ -778,7 +778,7 @@ static void codeDeferredSeek(
sqlite3VdbeAddOp3(v, OP_Seek, iIdxCur, 0, iCur);
if( (pWInfo->wctrlFlags & WHERE_FORCE_TABLE)
&& sqlite3ParseToplevel(pParse)->writeMask==0
&& DbMaskAllZero(sqlite3ParseToplevel(pParse)->writeMask)
){
int i;
Table *pTab = pIdx->pTable;