mirror of
https://github.com/MariaDB/server.git
synced 2025-08-02 14:47:37 +03:00
Changed change_master() to use ER_MASTER_INFO (better display).
mysql-test/r/rpl_rotate_logs.result: result update mysql-test/t/rpl_rotate_logs.test: comments and test update with the error code sql/slave.cc: A DBUG_PRINT sql/sql_repl.cc: Use ER_MASTER_INFO instead of custom message and zero error code (which display badly).
This commit is contained in:
@ -1644,6 +1644,7 @@ int show_master_info(THD* thd, MASTER_INFO* mi)
|
||||
|
||||
if (mi->host[0])
|
||||
{
|
||||
DBUG_PRINT("info",("host is set: '%s'", mi->host));
|
||||
String *packet= &thd->packet;
|
||||
packet->length(0);
|
||||
|
||||
|
Reference in New Issue
Block a user