summaryrefslogtreecommitdiffstats
path: root/etc/portage/patches/dev-db/mariadb/quiet-client-startup.patch
blob: 439c8cf3714299fdbfd58b07d140bf0f058891c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
diff --git a/client/mysql.cc b/client/mysql.cc
index 935dfd1..1a0d2ec 100644
--- a/client/mysql.cc
+++ b/client/mysql.cc
@@ -1232,7 +1232,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);
@@ -1290,7 +1290,6 @@ int main(int argc,char *argv[])
 
   sprintf(buff, "%s",
 	  "Type 'help;' or '\\h' for help. Type '\\c' to clear the current input statement.\n");
-  put_info(buff,INFO_INFO);
   status.exit_status= read_and_execute(!status.batch);
   if (opt_outfile)
     end_tee();
@@ -2927,7 +2926,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\