1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Merge koti.dsl.inet.fi:/home/elkin/MySQL/TEAM/BARE/5.0

into  koti.dsl.inet.fi:/home/elkin/MySQL/TEAM/5.1-merge
This commit is contained in:
aelkin/elkin@koti.dsl.inet.fi
2007-10-04 12:27:14 +03:00
5 changed files with 40 additions and 3 deletions

View File

@ -2055,7 +2055,16 @@ mysql_execute_command(THD *thd)
if (check_global_access(thd, SUPER_ACL | REPL_CLIENT_ACL))
goto error;
pthread_mutex_lock(&LOCK_active_mi);
res = show_master_info(thd,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;
}