Skip to content

Commit

Permalink
MDEV-31531 fix wsrep tests after 929c2e0
Browse files Browse the repository at this point in the history
  • Loading branch information
vuvova committed Mar 21, 2024
1 parent d0c47cd commit f10805f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/sql_show.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3881,7 +3881,7 @@ static bool show_status_array(THD *thd, const char *wild,
TODO: remove once lp:1306875 has been addressed.
*/
if (!prefix.length &&
!strncasecmp(name_buffer.ptr(), "wsrep", strlen("wsrep")))
!strncasecmp(variables->name, STRING_WITH_LEN("wsrep")))
{
is_wsrep_var= TRUE;
}
Expand Down

0 comments on commit f10805f

Please sign in to comment.