You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-10-28 19:54:55 +03:00
default is replaced by implementation to avoid warrning
This commit is contained in:
committed by
Serguey Zefirov
parent
74e3c84c87
commit
cca67e0824
@@ -242,7 +242,22 @@ class SystemCatalog
|
||||
_values = values;
|
||||
}
|
||||
|
||||
bool operator==(const ColDataType &) const = default;
|
||||
bool operator==(const ColDataType &other) const
|
||||
{
|
||||
if (this != &other) {
|
||||
if (_kind != other._kind) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (_kind != ENUM && _kind != SET) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return (*_values) == (*other._values);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
// XXX: It is assumed here that ALL TYPES have width, scale and precision.
|
||||
|
||||
Reference in New Issue
Block a user