From bd8eef5647f21a72d493b997e1f6eb06dab55118 Mon Sep 17 00:00:00 2001 From: "anjuta@arthur.local" <> Date: Fri, 2 Jun 2006 22:03:39 +0300 Subject: [PATCH] BUG#19363: mysql --no_pager makes core dump. The problem was missing break; operator. --- .bzrignore | 1 + client/mysql.cc | 1 + 2 files changed, 2 insertions(+) diff --git a/.bzrignore b/.bzrignore index 80ed7872005..2bd67528bdc 100644 --- a/.bzrignore +++ b/.bzrignore @@ -1282,3 +1282,4 @@ extra/yassl/taocrypt/benchmark/benchmark extra/yassl/taocrypt/test/test extra/yassl/testsuite/testsuite client/mysql_upgrade +client/#mysql.cc# diff --git a/client/mysql.cc b/client/mysql.cc index 900df825b25..6fcda6d766f 100644 --- a/client/mysql.cc +++ b/client/mysql.cc @@ -823,6 +823,7 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)), case OPT_NOPAGER: printf("WARNING: option deprecated; use --disable-pager instead.\n"); opt_nopager= 1; + break; case OPT_MYSQL_PROTOCOL: { if ((opt_protocol= find_type(argument, &sql_protocol_typelib,0)) <= 0)