mirror of
https://github.com/sqlite/sqlite.git
synced 2026-01-06 08:01:16 +03:00
Make sure WHERE clause constraints A=B and B=A work the same even with
COLLATE clauses. FossilOrigin-Name: b3f53668115f0a12a01167c2a75eecc735416024
This commit is contained in:
@@ -1244,7 +1244,7 @@ static void exprAnalyze(
|
||||
pNew = pTerm;
|
||||
}
|
||||
exprCommute(pParse, pDup);
|
||||
pLeft = pDup->pLeft;
|
||||
pLeft = sqlite3ExprSkipCollate(pDup->pLeft);
|
||||
pNew->leftCursor = pLeft->iTable;
|
||||
pNew->u.leftColumn = pLeft->iColumn;
|
||||
testcase( (prereqLeft | extraRight) != prereqLeft );
|
||||
|
||||
Reference in New Issue
Block a user