summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2004-05-06 15:13:23 +0200
committerunknown <serg@serg.mylan>2004-05-06 15:13:23 +0200
commitdea071fd5bd9a49e0c3388c99061a072a2313d55 (patch)
tree0d30f62fb959991b6de8a9b8a32219983005edb1 /client
parent7436480e23dcc79e9eb050b7ba3ae9f2176c3f4d (diff)
downloadmariadb-git-dea071fd5bd9a49e0c3388c99061a072a2313d55.tar.gz
don't let -B increment opt_silent twice
Diffstat (limited to 'client')
-rw-r--r--client/mysql.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysql.cc b/client/mysql.cc
index e4499cc67ec..ddc6441f08a 100644
--- a/client/mysql.cc
+++ b/client/mysql.cc
@@ -800,7 +800,7 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
case 'B':
status.batch= 1;
status.add_to_history= 0;
- opt_silent++; // more silent
+ set_if_bigger(opt_silent,1); // more silent
break;
case 'W':
#ifdef __WIN__