mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-11 01:42:22 +03:00
When converting an aggregate expression to AGG_COLUMN, be sure to remove
the EP_Unlikely flag if it is present. [forum:/info/fbfe330a2009d036|Forum post fbfe330a2009d036]. FossilOrigin-Name: 48e65f18b2ebbe786e84e208f2c6c68de6067ba86912fea5a120fd41d0af2184
This commit is contained in:
@@ -6537,7 +6537,7 @@ static int aggregateIdxEprRefToColCallback(Walker *pWalker, Expr *pExpr){
|
||||
pExpr->op = TK_AGG_COLUMN;
|
||||
pExpr->iTable = pCol->iTable;
|
||||
pExpr->iColumn = pCol->iColumn;
|
||||
ExprClearProperty(pExpr, EP_Skip|EP_Collate);
|
||||
ExprClearProperty(pExpr, EP_Skip|EP_Collate|EP_Unlikely);
|
||||
return WRC_Prune;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user