summaryrefslogtreecommitdiffstats
path: root/etc/portage/patches/dev-db/mariadb/quiet-client-startup.patch
diff options
context:
space:
mode:
Diffstat (limited to 'etc/portage/patches/dev-db/mariadb/quiet-client-startup.patch')
-rw-r--r--etc/portage/patches/dev-db/mariadb/quiet-client-startup.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/etc/portage/patches/dev-db/mariadb/quiet-client-startup.patch b/etc/portage/patches/dev-db/mariadb/quiet-client-startup.patch
new file mode 100644
index 0000000..bb446c3
--- /dev/null
+++ b/etc/portage/patches/dev-db/mariadb/quiet-client-startup.patch
@@ -0,0 +1,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\