1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

WL#342 heartbeat

Improving an error report generating.
This commit is contained in:
Andrei Elkin
2009-09-29 14:37:52 +03:00
parent a029813bf7
commit 8acf951e22

View File

@@ -1233,11 +1233,10 @@ when it try to get the value of TIME_ZONE global variable from master.";
if (mysql_real_query(mysql, query, strlen(query))
&& !check_io_slave_killed(mi->io_thd, mi, NULL))
{
errmsg= "The slave I/O thread stops because querying master with '%s' "
"failed; error: '%s' ";
errmsg= "The slave I/O thread stops because SET @master_heartbeat_period "
"on master failed.";
err_code= ER_SLAVE_FATAL_ERROR;
sprintf(err_buff, "%s Error: %s", errmsg,
query, mysql_error(mysql));
sprintf(err_buff, "%s Error: %s", errmsg, mysql_error(mysql));
mysql_free_result(mysql_store_result(mysql));
goto err;
}