119
119
message::schema::shared_ptr schmema_proto= StorageEngine::getSchemaDefinition(identifier);
120
120
if (not schmema_proto || not schmema_proto->has_collation())
121
121
return default_charset_info;
122
122
const std::string buffer= schmema_proto->collation();
125
125
errmsg_printf(error::ERROR, _("Error while loading database options: '%s':"), identifier.getSQLPath().c_str());
126
126
errmsg_printf(error::ERROR, ER(ER_UNKNOWN_COLLATION), buffer.c_str());