You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
Replace std::set contains method with count
to support Rocky/RHEL/Alma 8 where the std::set in the stock STL does not have contains method
This commit is contained in:
committed by
Gagan Goel
parent
f5822b5ed3
commit
3bd0ef4e43
@ -59,12 +59,12 @@ SimpleFilter* castToSimpleFilter(execplan::TreeNode* node)
|
||||
bool commonContainsSemantic(const CommonContainer& common, execplan::ParseTree* node)
|
||||
{
|
||||
auto filter = castToFilter(node);
|
||||
return filter && common.first.contains(node);
|
||||
return filter && common.first.count(node) != 0;
|
||||
}
|
||||
|
||||
bool commonContainsPtr(const CommonContainer& common, execplan::ParseTree* node)
|
||||
{
|
||||
return common.second.contains(node);
|
||||
return common.second.count(node) != 0;
|
||||
}
|
||||
|
||||
OpType operatorType(execplan::ParseTree* node)
|
||||
|
Reference in New Issue
Block a user