1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

SHOW NEW MASTER FOR SLAVE WITH ...

This commit is contained in:
sasha@mysql.sashanet.com
2001-07-04 17:14:31 -06:00
parent a973b85527
commit c01d4e1ef7
31 changed files with 367 additions and 3 deletions

View File

@ -1173,6 +1173,13 @@ mysql_execute_command(void)
res = purge_master_logs(thd, lex->to_log);
break;
}
case SQLCOM_SHOW_NEW_MASTER:
{
if(check_access(thd, FILE_ACL, any_db))
goto error;
res = show_new_master(thd);
break;
}
case SQLCOM_SHOW_SLAVE_HOSTS:
{
if(check_access(thd, FILE_ACL, any_db))