summaryrefslogtreecommitdiffstats
path: root/etc/portage/patches/dev-db/mariadb/quiet-client-startup.patch
blob: bb446c3a066a01492abcaaf3dc1af762f4f6c4a9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff --git a/mysql/client/mysql.cc b/mysql/client/mysql.cc
index 697f4d5..7f1778f 100644
--- a/mysql/client/mysql.cc
+++ b/mysql/client/mysql.cc
@@ -1219,7 +1219,7 @@ int main(int argc,char *argv[])
   window_resize(0);
 #endif
 
-  if (!status.batch)
+  if (!status.batch && 0)
   {
     put_info("Welcome to the MariaDB monitor.  Commands end with ; or \\g.",
              INFO_INFO);
@@ -2862,7 +2862,7 @@ static void build_completion_hash(bool rehash, bool write_info)
       put_info(mysql_error(&mysql),INFO_INFO);
     else
     {
-      if (mysql_num_rows(tables) > 0 && !opt_silent && write_info)
+      if (mysql_num_rows(tables) > 0 && !opt_silent && write_info && 0)
       {
 	tee_fprintf(stdout, "\
 Reading table information for completion of table and column names\n\