From 26a48721bba283691e3e61474451068c65e7ef7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Sun, 12 Feb 2023 19:56:57 +0100 Subject: mariadb patch even quieter, no help at startup --- .../patches/dev-db/mariadb/quiet-client-startup.patch | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 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 index fb99d6c..439c8cf 100644 --- a/etc/portage/patches/dev-db/mariadb/quiet-client-startup.patch +++ b/etc/portage/patches/dev-db/mariadb/quiet-client-startup.patch @@ -1,8 +1,8 @@ diff --git a/client/mysql.cc b/client/mysql.cc -index 6969696..4204204 100644 ---- a/mysql/client/mysql.cc -+++ b/mysql/client/mysql.cc -@@ -1219,7 +1219,7 @@ int main(int argc,char *argv[]) +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 @@ -11,7 +11,15 @@ index 6969696..4204204 100644 { 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) +@@ -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 { -- cgit v1.2.3