113
114
const CHARSET_INFO *StorageEngine::getSchemaCollation(const SchemaIdentifier &identifier)
118
119
found= StorageEngine::getSchemaDefinition(identifier, schmema_proto);
120
121
if (found && schmema_proto->has_collation())
123
124
const CHARSET_INFO* cs= get_charset_by_name(buffer.c_str());
130
128
errmsg_printf(ERRMSG_LVL_ERROR,
132
130
errmsg_printf(ERRMSG_LVL_ERROR, ER(ER_UNKNOWN_COLLATION), buffer.c_str());
134
132
return default_charset_info;