summaryrefslogtreecommitdiff
path: root/client/mysqlcheck.c
diff options
context:
space:
mode:
authorunknown <bar@bar.mysql.r18.ru>2003-05-22 14:37:01 +0500
committerunknown <bar@bar.mysql.r18.ru>2003-05-22 14:37:01 +0500
commit3565727359aaea5f2fab3740d71d36fb9015f77a (patch)
tree6d9c35fee0f4f20dc03b332e042547963bed5e4c /client/mysqlcheck.c
parenta2867c7ae93f760106ffc45086efa372cbf884dd (diff)
downloadmariadb-git-3565727359aaea5f2fab3740d71d36fb9015f77a.tar.gz
mysqlimport.c, mysqldump.c, mysqlcheck.c:
Bug fix: latin1 is not compiled charset and is not specified.. mysql.cc: Bug fix: latin1 is not compiled charset and is not specified... client/mysql.cc: Bug fix: latin1 is not compiled charset and is not specified... client/mysqlcheck.c: Bug fix: latin1 is not compiled charset and is not specified.. client/mysqldump.c: Bug fix: latin1 is not compiled charset and is not specified.. client/mysqlimport.c: Bug fix: latin1 is not compiled charset and is not specified..
Diffstat (limited to 'client/mysqlcheck.c')
-rw-r--r--client/mysqlcheck.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/mysqlcheck.c b/client/mysqlcheck.c
index cd8cd0ef82e..8f599c9f497 100644
--- a/client/mysqlcheck.c
+++ b/client/mysqlcheck.c
@@ -308,7 +308,8 @@ static int get_options(int *argc, char ***argv)
else
what_to_do = DO_CHECK;
}
- if (!(charset_info= get_charset_by_name(default_charset, MYF(MY_WME))))
+ if (!(charset_info= get_charset_by_csname(default_charset,
+ MY_CS_PRIMARY, MYF(MY_WME))))
exit(1);
if (*argc > 0 && opt_alldbs)
{