1
0
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:
anjuta@arthur.local
2006-06-02 22:03:39 +03:00
parent 3043d29b1f
commit bd8eef5647
2 changed files with 2 additions and 0 deletions

View File

@@ -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#

View File

@@ -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)