mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Applied all changes from Igor and Sanja
This commit is contained in:
@@ -265,9 +265,9 @@ bool servers_reload(THD *thd)
|
||||
Execution might have been interrupted; only print the error message
|
||||
if an error condition has been raised.
|
||||
*/
|
||||
if (thd->stmt_da->is_error())
|
||||
if (thd->get_stmt_da()->is_error())
|
||||
sql_print_error("Can't open and lock privilege tables: %s",
|
||||
thd->stmt_da->message());
|
||||
thd->get_stmt_da()->message());
|
||||
return_val= FALSE;
|
||||
goto end;
|
||||
}
|
||||
@@ -631,7 +631,7 @@ int drop_server(THD *thd, LEX_SERVER_OPTIONS *server_options)
|
||||
|
||||
if (close_cached_connection_tables(thd, &name))
|
||||
{
|
||||
push_warning_printf(thd, MYSQL_ERROR::WARN_LEVEL_WARN,
|
||||
push_warning_printf(thd, Sql_condition::WARN_LEVEL_WARN,
|
||||
ER_UNKNOWN_ERROR, "Server connection in use");
|
||||
}
|
||||
|
||||
@@ -1060,7 +1060,7 @@ int alter_server(THD *thd, LEX_SERVER_OPTIONS *server_options)
|
||||
|
||||
if (close_cached_connection_tables(thd, &name))
|
||||
{
|
||||
push_warning_printf(thd, MYSQL_ERROR::WARN_LEVEL_WARN,
|
||||
push_warning_printf(thd, Sql_condition::WARN_LEVEL_WARN,
|
||||
ER_UNKNOWN_ERROR, "Server connection in use");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user