1
0
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:
David Hall
2020-05-14 16:02:49 -05:00
parent 04fdacb927
commit 1f3d1e6fd6
41 changed files with 667 additions and 797 deletions

View File

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