Commit 9b1b4a6f authored by Daniel Black's avatar Daniel Black

MDEV-31545 Revert "Fix gcc warning for wsrep_plug"

This reverts commit 38fe266e.

The correct fix was pushed to the 10.4 branch
(fbc157ab)
parent c4382848
......@@ -6320,11 +6320,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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment