1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

MCOL-1234 Nested CASE filters not processed

Change the way buildCaseFunction() handles the ptWorkStack and the rcWorkStack.
This commit is contained in:
David Hall
2018-04-02 17:02:54 -05:00
parent 25661c0851
commit aa581b5dc3
7 changed files with 73 additions and 93 deletions

View File

@ -102,7 +102,7 @@ void ArithmeticOperator::unserialize(messageqcpp::ByteStream& b)
bool ArithmeticOperator::operator==(const ArithmeticOperator& t) const
{
if (fData == t.fData)
if (data() == t.data())
return true;
return false;
}

View File

@ -72,7 +72,7 @@ const string Filter::toString() const
bool Filter::operator==(const Filter& t) const
{
if (fData == t.fData)
if (data() == t.data())
return true;
return false;
}

View File

@ -106,7 +106,7 @@ void LogicOperator::unserialize(messageqcpp::ByteStream& b)
bool LogicOperator::operator==(const LogicOperator& t) const
{
if (fData == t.fData)
if (data() == t.data())
return true;
return false;
}

View File

@ -152,7 +152,7 @@ void PredicateOperator::unserialize(messageqcpp::ByteStream& b)
bool PredicateOperator::operator==(const PredicateOperator& t) const
{
if (fData == t.fData)
if (data() == t.data())
return true;
return false;
}

View File

@ -370,16 +370,16 @@ bool SimpleColumn::operator==(const SimpleColumn& t) const
return false;
if (fColumnName != t.fColumnName)
return false;
if (fIndexName != t.fIndexName)
return false;
// if (fIndexName != t.fIndexName)
// return false;
if (fViewName != t.fViewName)
return false;
if (fOid != t.fOid)
return false;
if (fData != t.fData)
return false;
if (fAlias != t.fAlias)
if (data() != t.data())
return false;
// if (fAlias != t.fAlias)
// return false;
if (fTableAlias != t.fTableAlias)
return false;
if (fAsc != t.fAsc)

View File

@ -63,7 +63,7 @@ const string TreeNodeImpl::toString() const
bool TreeNodeImpl::operator==(const TreeNodeImpl& t) const
{
if (fData == t.fData)
if (data() == t.data())
return true;
return false;
}