You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
Add copy assign operator (-Wdeprecated-copy)
This commit is contained in:
@ -6121,6 +6121,26 @@ CalpontSystemCatalog::ColType::ColType(const ColType& rhs)
|
||||
cs = rhs.cs;
|
||||
}
|
||||
|
||||
CalpontSystemCatalog::ColType& CalpontSystemCatalog::ColType::operator=(const ColType& rhs)
|
||||
{
|
||||
colWidth = rhs.colWidth;
|
||||
constraintType = rhs.constraintType;
|
||||
colDataType = rhs.colDataType;
|
||||
ddn = rhs.ddn;
|
||||
defaultValue = rhs.defaultValue;
|
||||
colPosition = rhs.colPosition;
|
||||
scale = rhs.scale;
|
||||
precision = rhs.precision;
|
||||
compressionType = rhs.compressionType;
|
||||
columnOID = rhs.columnOID;
|
||||
autoincrement = rhs.autoincrement;
|
||||
nextvalue = rhs.nextvalue;
|
||||
charsetNumber = rhs.charsetNumber;
|
||||
cs = rhs.cs;
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
CHARSET_INFO* CalpontSystemCatalog::ColType::getCharset()
|
||||
{
|
||||
if (!cs)
|
||||
|
Reference in New Issue
Block a user