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
MCOL-3416 Revived MULT_EQUAL_FUNC support in conditions.
Removed unused symbol from DML code of the plugin.
This commit is contained in:
@ -470,6 +470,27 @@ bool SimpleFilter::operator==(const SimpleFilter& t) const
|
||||
return true;
|
||||
}
|
||||
|
||||
bool SimpleFilter::semanticEq(const SimpleFilter& t) const
|
||||
{
|
||||
if (fOp != NULL)
|
||||
{
|
||||
if (*fOp != *t.fOp)
|
||||
return false;
|
||||
}
|
||||
if (fLhs != NULL)
|
||||
{
|
||||
if (*fLhs != t.fLhs && *fLhs != *t.fRhs)
|
||||
return false;
|
||||
}
|
||||
if (fRhs != NULL)
|
||||
{
|
||||
if (*fRhs != t.fRhs && *fRhs != *t.fLhs)
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
bool SimpleFilter::operator==(const TreeNode* t) const
|
||||
{
|
||||
const SimpleFilter* o;
|
||||
|
@ -138,28 +138,36 @@ public:
|
||||
/** @brief Do a deep, strict (as opposed to semantic) equivalence test
|
||||
*
|
||||
* Do a deep, strict (as opposed to semantic) equivalence test.
|
||||
* @return true iff every member of t is a duplicate copy of every member of this; false otherwise
|
||||
* @return true if every member of t is a duplicate copy of every member of this; false otherwise
|
||||
*/
|
||||
virtual bool operator==(const TreeNode* t) const;
|
||||
|
||||
/** @brief Do a deep, strict (as opposed to semantic) equivalence test
|
||||
*
|
||||
* Do a deep, strict (as opposed to semantic) equivalence test.
|
||||
* @return true iff every member of t is a duplicate copy of every member of this; false otherwise
|
||||
* @return true if every member of t is a duplicate copy of every member of this; false otherwise
|
||||
*/
|
||||
bool operator==(const SimpleFilter& t) const;
|
||||
|
||||
/** @brief Do a semantic equivalence test
|
||||
*
|
||||
* Do a semantic equivalence test.
|
||||
* @return true if filter operation are the same and
|
||||
* the sets of arguments are the same; false otherwise
|
||||
*/
|
||||
bool semanticEq(const SimpleFilter& t) const;
|
||||
|
||||
/** @brief Do a deep, strict (as opposed to semantic) equivalence test
|
||||
*
|
||||
* Do a deep, strict (as opposed to semantic) equivalence test.
|
||||
* @return false iff every member of t is a duplicate copy of every member of this; true otherwise
|
||||
* @return false if every member of t is a duplicate copy of every member of this; true otherwise
|
||||
*/
|
||||
virtual bool operator!=(const TreeNode* t) const;
|
||||
|
||||
/** @brief Do a deep, strict (as opposed to semantic) equivalence test
|
||||
*
|
||||
* Do a deep, strict (as opposed to semantic) equivalence test.
|
||||
* @return false iff every member of t is a duplicate copy of every member of this; true otherwise
|
||||
* @return false if every member of t is a duplicate copy of every member of this; true otherwise
|
||||
*/
|
||||
bool operator!=(const SimpleFilter& t) const;
|
||||
|
||||
|
Reference in New Issue
Block a user