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

Do a more thorough job of cleaning erasing traces of the strength-reduced

LEFT JOIN.

FossilOrigin-Name: 08833dda3a25965cc509d0244d7cd68bdb2306351ca52862f347e1efe5db4508
This commit is contained in:
drh
2018-03-20 22:52:27 +00:00
parent 2589787c5a
commit efce69de37
4 changed files with 50 additions and 48 deletions

View File

@@ -5215,7 +5215,7 @@ int sqlite3Select(
){
SELECTTRACE(0x100,pParse,p,
("LEFT-JOIN simplifies to JOIN on term %d\n",i));
pItem->fg.jointype &= ~JT_LEFT;
pItem->fg.jointype &= ~(JT_LEFT|JT_OUTER);
unsetJoinExpr(p->pWhere, pItem->iCursor);
}