You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
MCOL-3536 collation
This commit is contained in:
@ -21,6 +21,10 @@
|
||||
*
|
||||
*
|
||||
***********************************************************************/
|
||||
#include <mariadb.h>
|
||||
#undef set_bits // mariadb.h defines set_bits, which is incompatible with boost
|
||||
#include <my_sys.h>
|
||||
|
||||
#include <unistd.h>
|
||||
#include <stdexcept>
|
||||
#include <string>
|
||||
@ -6084,6 +6088,41 @@ void CalpontSystemCatalog::checkSysCatVer()
|
||||
}
|
||||
}
|
||||
|
||||
CalpontSystemCatalog::ColType::ColType() :
|
||||
colWidth(0),
|
||||
constraintType(NO_CONSTRAINT),
|
||||
colDataType(MEDINT),
|
||||
defaultValue(""),
|
||||
colPosition(-1),
|
||||
scale(0),
|
||||
precision(-1),
|
||||
compressionType(NO_COMPRESSION),
|
||||
columnOID(0),
|
||||
autoincrement(0),
|
||||
nextvalue(0)
|
||||
{
|
||||
charsetNumber = default_charset_info->number;
|
||||
}
|
||||
|
||||
CalpontSystemCatalog::ColType::ColType(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 = default_charset_info->number;
|
||||
charsetNumber = default_charset_info->number;
|
||||
}
|
||||
|
||||
|
||||
const string CalpontSystemCatalog::ColType::toString() const
|
||||
{
|
||||
ostringstream output;
|
||||
|
Reference in New Issue
Block a user