summaryrefslogtreecommitdiff
path: root/client/mysql_upgrade.c
diff options
context:
space:
mode:
authorGuilhem Bichot <guilhem.bichot@oracle.com>2010-08-11 19:56:56 +0200
committerGuilhem Bichot <guilhem.bichot@oracle.com>2010-08-11 19:56:56 +0200
commit124fc93dba29b9e00a6b4ab8827be6db905ecfdd (patch)
tree04057e64c955392f0086f704b8da252379c58ff5 /client/mysql_upgrade.c
parent5c85a9388a4f3465365362fa75eacc2575cdef6e (diff)
downloadmariadb-git-124fc93dba29b9e00a6b4ab8827be6db905ecfdd.tar.gz
fix for Bug #55672 "mysql_upgrade dies with internal error":
it couldn't parse the --ssl option.
Diffstat (limited to 'client/mysql_upgrade.c')
-rw-r--r--client/mysql_upgrade.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/client/mysql_upgrade.c b/client/mysql_upgrade.c
index eeab3611913..882350f813b 100644
--- a/client/mysql_upgrade.c
+++ b/client/mysql_upgrade.c
@@ -209,6 +209,9 @@ static void add_one_option(DYNAMIC_STRING* ds,
case GET_STR:
arg= argument;
break;
+ case GET_BOOL:
+ arg= (*(my_bool *)opt->value) ? "1" : "0";
+ break;
default:
die("internal error at %s: %d",__FILE__, __LINE__);
}