1
0
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:
Nedeljko Stefanovic
2025-07-31 15:49:17 +00:00
committed by Serguey Zefirov
parent 74e3c84c87
commit cca67e0824

View File

@@ -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.