Loading sql/sql_parse.cc +10 −1 Original line number Diff line number Diff line Loading @@ -2844,7 +2844,16 @@ mysql_execute_command(THD *thd) if (check_global_access(thd, SUPER_ACL | REPL_CLIENT_ACL)) goto error; pthread_mutex_lock(&LOCK_active_mi); if (active_mi != NULL) { res = show_master_info(thd, active_mi); } else { push_warning(thd, MYSQL_ERROR::WARN_LEVEL_WARN, 0, "the master info structure does not exist"); send_ok(thd); } pthread_mutex_unlock(&LOCK_active_mi); break; } Loading Loading
sql/sql_parse.cc +10 −1 Original line number Diff line number Diff line Loading @@ -2844,7 +2844,16 @@ mysql_execute_command(THD *thd) if (check_global_access(thd, SUPER_ACL | REPL_CLIENT_ACL)) goto error; pthread_mutex_lock(&LOCK_active_mi); if (active_mi != NULL) { res = show_master_info(thd, active_mi); } else { push_warning(thd, MYSQL_ERROR::WARN_LEVEL_WARN, 0, "the master info structure does not exist"); send_ok(thd); } pthread_mutex_unlock(&LOCK_active_mi); break; } Loading