mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Merge 11.2 into 11.3
This commit is contained in:
@@ -1934,6 +1934,8 @@ dispatch_command_return dispatch_command(enum enum_server_command command, THD *
|
||||
MYSQL_QUERY_DONE(thd->is_error());
|
||||
}
|
||||
|
||||
thd->lex->restore_set_statement_var();
|
||||
|
||||
#if defined(ENABLED_PROFILING)
|
||||
thd->profiling.finish_current_query();
|
||||
thd->profiling.start_new_query("continuing");
|
||||
@@ -6058,11 +6060,6 @@ static bool __attribute__ ((noinline))
|
||||
execute_show_status(THD *thd, TABLE_LIST *all_tables)
|
||||
{
|
||||
bool res;
|
||||
|
||||
#if defined(__GNUC__) && (__GNUC__ >= 13)
|
||||
#pragma GCC diagnostic ignored "-Wdangling-pointer"
|
||||
#endif
|
||||
|
||||
system_status_var old_status_var= thd->status_var;
|
||||
thd->initial_status_var= &old_status_var;
|
||||
WSREP_SYNC_WAIT(thd, WSREP_SYNC_WAIT_BEFORE_SHOW);
|
||||
|
Reference in New Issue
Block a user