summaryrefslogtreecommitdiff
path: root/client/mysqlimport.c
diff options
context:
space:
mode:
authorbar@bar.mysql.r18.ru <>2003-05-22 14:37:01 +0500
committerbar@bar.mysql.r18.ru <>2003-05-22 14:37:01 +0500
commitb1adadd51081b9180838ff95589751518bec9ec5 (patch)
tree6d9c35fee0f4f20dc03b332e042547963bed5e4c /client/mysqlimport.c
parent944bc8956152988c628e83c6a335051850d34353 (diff)
downloadmariadb-git-b1adadd51081b9180838ff95589751518bec9ec5.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...
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)
{