1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

Merge pull request #1624 from mariadb-corporation/develop-bar-MCOL-4422

MCOL-4422 Remove mariadb.h and my_sys.h dependency from collation.h
This commit is contained in:
Roman Nozdrin
2020-11-30 15:01:17 +03:00
committed by GitHub
26 changed files with 175 additions and 99 deletions

View File

@ -1240,7 +1240,7 @@ const CHARSET_INFO* Row::getCharset(uint32_t col) const
{
if (charsets[col] == NULL)
{
const_cast<CHARSET_INFO**>(charsets)[col] = get_charset(charsetNumbers[col], MYF(MY_WME));
const_cast<CHARSET_INFO**>(charsets)[col] = & datatypes::Charset(charsetNumbers[col]).getCharset();
}
return charsets[col];
}
@ -1761,7 +1761,7 @@ const CHARSET_INFO* RowGroup::getCharset(uint32_t col)
{
if (charsets[col] == NULL)
{
charsets[col] = get_charset(charsetNumbers[col], MYF(MY_WME));
charsets[col] = & datatypes::Charset(charsetNumbers[col]).getCharset();
}
return charsets[col];
}