From 0fc8694a05653c941023cb7bacd8daaaea47a4e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Tue, 9 Apr 2019 15:27:20 +1000 Subject: [PATCH] Increased verbosity for bug #1994 --- lib/MySQL_Monitor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/MySQL_Monitor.cpp b/lib/MySQL_Monitor.cpp index 9ffbeb6f3..13a64aa9d 100644 --- a/lib/MySQL_Monitor.cpp +++ b/lib/MySQL_Monitor.cpp @@ -1356,7 +1356,7 @@ __end_process_galera_result: } } } else { - proxy_error("mysql_fetch_fields returns NULL. See bug #1994\n"); + proxy_error("mysql_fetch_fields returns NULL. Server %s:%d . See bug #1994\n", mmsd->hostname, mmsd->port); } } @@ -1550,7 +1550,7 @@ __exit_monitor_replication_lag_thread: rc=sqlite3_bind_null(statement, 5); assert(rc==SQLITE_OK); } } else { - proxy_error("mysql_fetch_fields returns NULL, or mysql_num_fields is incorrect. See bug #1994\n"); + proxy_error("mysql_fetch_fields returns NULL, or mysql_num_fields is incorrect. Server %s:%d . See bug #1994\n", mmsd->hostname, mmsd->port); rc=sqlite3_bind_null(statement, 5); assert(rc==SQLITE_OK); } mysql_free_result(mmsd->result);