You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-02 17:22:27 +03:00
MCOL-1531 Remove commented fields from equality functions
This commit is contained in:
@ -173,12 +173,11 @@ void ReturnedColumn::unserialize(messageqcpp::ByteStream& b)
|
||||
|
||||
bool ReturnedColumn::operator==(const ReturnedColumn& t) const
|
||||
{
|
||||
// Not all fields are considered for a positive equality.
|
||||
if (fData != t.fData)
|
||||
return false;
|
||||
if (fCardinality != t.fCardinality)
|
||||
return false;
|
||||
//if (fAlias != t.fAlias)
|
||||
// return false;
|
||||
if (fDistinct != t.fDistinct)
|
||||
return false;
|
||||
if (fJoinInfo != t.fJoinInfo)
|
||||
@ -187,20 +186,14 @@ bool ReturnedColumn::operator==(const ReturnedColumn& t) const
|
||||
return false;
|
||||
if (fNullsFirst != t.fNullsFirst)
|
||||
return false;
|
||||
//if (fOrderPos != t.fOrderPos)
|
||||
// return false;
|
||||
if (fInputIndex != t.fInputIndex)
|
||||
return false;
|
||||
if (fOutputIndex != t.fOutputIndex)
|
||||
return false;
|
||||
//if (fSequence != t.fSequence)
|
||||
// return false;
|
||||
if (fResultType != t.fResultType)
|
||||
return false;
|
||||
if (fOperationType != t.fOperationType)
|
||||
return false;
|
||||
//if (fExpressionId != t.fExpressionId)
|
||||
// return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user