1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

fix for Bug #55672 "mysql_upgrade dies with internal error":

it couldn't parse the --ssl option.
This commit is contained in:
Guilhem Bichot
2010-08-11 19:56:56 +02:00
parent 5c85a9388a
commit 124fc93dba
5 changed files with 76 additions and 28 deletions

View File

@ -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__);
}