Skip to content

Commit 96bb62f

Browse files
committed
Merge branch 'mysql-5.5' into mysql-5.6
2 parents bc387ba + 0d43e57 commit 96bb62f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

client/mysqladmin.cc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1564,8 +1564,10 @@ static my_bool get_pidfile(MYSQL *mysql, char *pidfile)
15641564

15651565
if (mysql_query(mysql, "SHOW VARIABLES LIKE 'pid_file'"))
15661566
{
1567-
my_printf_error(0, "query failed; error: '%s'", error_flags,
1568-
mysql_error(mysql));
1567+
my_printf_error(mysql_errno(mysql),
1568+
"The query to get the server's pid file failed,"
1569+
" error: '%s'. Continuing.", error_flags,
1570+
mysql_error(mysql));
15691571
}
15701572
result = mysql_store_result(mysql);
15711573
if (result)

0 commit comments

Comments
 (0)