summaryrefslogtreecommitdiff
path: root/client/mysqlimport.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/mysqlimport.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/mysqlimport.c')
-rw-r--r--client/mysqlimport.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/mysqlimport.c b/client/mysqlimport.c
index efb117280c4..f247301c6dc 100644
--- a/client/mysqlimport.c
+++ b/client/mysqlimport.c
@@ -239,7 +239,8 @@ static int get_options(int *argc, char ***argv)
fprintf(stderr, "You can't use --ignore (-i) and --replace (-r) at the same time.\n");
return(1);
}
- 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 < 2)
{