You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-07 03:22:57 +03:00
chore(build): satisfy gcc9 for execplan partionions unequivalence
This commit is contained in:
committed by
Leonid Fedorov
parent
bd1622f331
commit
8859e3f4df
@@ -6370,5 +6370,10 @@ bool operator ==(const Partitions& a, const Partitions& b)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool operator !=(const Partitions& a, const Partitions& b)
|
||||
{
|
||||
return !(a == b);
|
||||
}
|
||||
|
||||
} // namespace execplan
|
||||
// vim:sw=4 ts=4:
|
||||
|
@@ -101,6 +101,7 @@ struct Partitions {
|
||||
};
|
||||
bool operator <(const Partitions& a, const Partitions& b);
|
||||
bool operator ==(const Partitions& a, const Partitions& b);
|
||||
bool operator !=(const Partitions& a, const Partitions& b); // for GCC9
|
||||
|
||||
/** The CalpontSystemCatalog class
|
||||
*
|
||||
|
@@ -210,9 +210,7 @@ SimpleColumn::SimpleColumn(const SimpleColumn& rhs, const uint32_t sessionID)
|
||||
}
|
||||
|
||||
SimpleColumn::SimpleColumn(const ReturnedColumn& rhs, const uint32_t sessionID)
|
||||
: ReturnedColumn(rhs, sessionID)
|
||||
, fData(rhs.data())
|
||||
, fisColumnStore(true)
|
||||
: ReturnedColumn(rhs, sessionID), fData(rhs.data()), fisColumnStore(true)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -283,15 +281,13 @@ const string SimpleColumn::toString() const
|
||||
// set in the plugin code.
|
||||
datatypes::Charset cs(fResultType.charsetNumber);
|
||||
output << " s/t/ps/c/v/o/ct/TA/CA/RA/#/card/join/source/engine/colPos/cs/coll: " << schemaName() << delim
|
||||
<< tableName() << delim << ossps.str() << delim << columnName() << delim
|
||||
<< viewName() << delim << oid() << delim
|
||||
<< colDataTypeToString(fResultType.colDataType) << delim << tableAlias() << delim << alias() << delim
|
||||
<< returnAll() << delim << sequence() << delim << cardinality() << delim << joinInfo() << delim
|
||||
<< colSource() << delim << (isColumnStore() ? "ColumnStore" : "ForeignEngine") << delim
|
||||
<< colPosition() << delim << cs.getCharset().cs_name.str << delim << cs.getCharset().coll_name.str
|
||||
<< " inputindex/outputindex: " << fInputIndex << delim << fOutputIndex
|
||||
<< " eid " << fExpressionId
|
||||
<< endl;
|
||||
<< tableName() << delim << ossps.str() << delim << columnName() << delim << viewName() << delim
|
||||
<< oid() << delim << colDataTypeToString(fResultType.colDataType) << delim << tableAlias() << delim
|
||||
<< alias() << delim << returnAll() << delim << sequence() << delim << cardinality() << delim
|
||||
<< joinInfo() << delim << colSource() << delim << (isColumnStore() ? "ColumnStore" : "ForeignEngine")
|
||||
<< delim << colPosition() << delim << cs.getCharset().cs_name.str << delim
|
||||
<< cs.getCharset().coll_name.str << " inputindex/outputindex: " << fInputIndex << delim
|
||||
<< fOutputIndex << " eid " << fExpressionId << endl;
|
||||
|
||||
return output.str();
|
||||
}
|
||||
|
Reference in New Issue
Block a user