mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
BUG#19363: mysql --no_pager makes core dump.
The problem was missing break; operator.
This commit is contained in:
@@ -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)),
|
|||||||
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)
|
||||||
|
Reference in New Issue
Block a user