mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
mysqlimport.c, mysqldump.c, mysqlcheck.c, mysql.cc:
No needs to load charset index if the character set is build-in.
This commit is contained in:
@@ -536,7 +536,8 @@ static int get_options(int *argc, char ***argv)
|
||||
my_progname);
|
||||
return(1);
|
||||
}
|
||||
if (!(charset_info= get_charset_by_csname(default_charset,
|
||||
if (strcmp(default_charset, charset_info->csname) &&
|
||||
!(charset_info= get_charset_by_csname(default_charset,
|
||||
MY_CS_PRIMARY, MYF(MY_WME))))
|
||||
exit(1);
|
||||
if ((*argc < 1 && !opt_alldbs) || (*argc > 0 && opt_alldbs))
|
||||
|
||||
Reference in New Issue
Block a user