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

Fix an uninitialized variable in OR-clause processing.

FossilOrigin-Name: 54aecd929867606d14a062b501abbfb6f5f05e37
This commit is contained in:
drh
2011-10-18 19:14:33 +00:00
parent e802c5da01
commit a2153f75c3
3 changed files with 8 additions and 7 deletions

View File

@@ -1855,6 +1855,7 @@ static void bestOrClauseIndex(
tempWC.pOuter = pWC;
tempWC.op = TK_AND;
tempWC.a = pOrTerm;
tempWC.wctrlFlags = 0;
tempWC.nTerm = 1;
bestIndex(pParse, &tempWC, pSrc, notReady, notValid, 0, &sTermCost);
}else{