Commit 88ed77f2 authored by unknown's avatar unknown

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

The problem was missing break; operator.


BitKeeper/etc/ignore:
  Added client/#mysql.cc# to the ignore list
client/mysql.cc:
  Fixed bug #19363: mysql --no_pager makes core dump. 
  There was break; missing in the case statement.
parent 9b871930
...@@ -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