Commit bd8eef56 authored by anjuta@arthur.local's avatar anjuta@arthur.local

BUG#19363: mysql --no_pager makes core dump.

The problem was missing break; operator.
parent 3043d29b
...@@ -1282,3 +1282,4 @@ extra/yassl/taocrypt/benchmark/benchmark ...@@ -1282,3 +1282,4 @@ extra/yassl/taocrypt/benchmark/benchmark
extra/yassl/taocrypt/test/test extra/yassl/taocrypt/test/test
extra/yassl/testsuite/testsuite extra/yassl/testsuite/testsuite
client/mysql_upgrade client/mysql_upgrade
client/#mysql.cc#
...@@ -823,6 +823,7 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)), ...@@ -823,6 +823,7 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
case OPT_NOPAGER: case OPT_NOPAGER:
printf("WARNING: option deprecated; use --disable-pager instead.\n"); printf("WARNING: option deprecated; use --disable-pager instead.\n");
opt_nopager= 1; opt_nopager= 1;
break;
case OPT_MYSQL_PROTOCOL: case OPT_MYSQL_PROTOCOL:
{ {
if ((opt_protocol= find_type(argument, &sql_protocol_typelib,0)) <= 0) if ((opt_protocol= find_type(argument, &sql_protocol_typelib,0)) <= 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment