summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <anjuta@arthur.local>2006-06-02 22:03:39 +0300
committerunknown <anjuta@arthur.local>2006-06-02 22:03:39 +0300
commit88ed77f2b772063b50438c9ba388f95989e5c990 (patch)
treecb6e881791d54b397ca488b0f36bfdf358b194a3
parent9b871930a9189cce16b39dc5576f3592a34959ba (diff)
downloadmariadb-git-88ed77f2b772063b50438c9ba388f95989e5c990.tar.gz
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.
-rw-r--r--.bzrignore1
-rw-r--r--client/mysql.cc1
2 files changed, 2 insertions, 0 deletions
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)