Commit e43ad539 authored by unknown's avatar unknown

sql_db.cc:

  More clear error message.


sql/sql_db.cc:
  More clear error message.
parent 7e5cd910
......@@ -121,6 +121,7 @@ bool load_db_opt(THD *thd, const char *path, HA_CREATE_INFO *create)
MY_CS_PRIMARY,
MYF(0))))
{
sql_print_error("Error while loading database options: '%s':",path);
sql_print_error(ER(ER_UNKNOWN_CHARACTER_SET),pos+1);
}
}
......@@ -129,6 +130,7 @@ bool load_db_opt(THD *thd, const char *path, HA_CREATE_INFO *create)
if (!(create->default_table_charset= get_charset_by_name(pos+1,
MYF(0))))
{
sql_print_error("Error while loading database options: '%s':",path);
sql_print_error(ER(ER_UNKNOWN_COLLATION),pos+1);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment