mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
BUG#50780: 'show binary logs' debug assertion when binary
logging is disabled
The server would hit an assertion because of a DBUG violation.
There was a missing DBUG_RETURN and instead a plain return
was used.
This patch replaces the return with DBUG_RETURN.
This commit is contained in:
@@ -1606,7 +1606,7 @@ bool show_binlogs(THD* thd)
|
||||
if (!mysql_bin_log.is_open())
|
||||
{
|
||||
my_message(ER_NO_BINARY_LOGGING, ER(ER_NO_BINARY_LOGGING), MYF(0));
|
||||
return 1;
|
||||
DBUG_RETURN(TRUE);
|
||||
}
|
||||
|
||||
field_list.push_back(new Item_empty_string("Log_name", 255));
|
||||
|
||||
Reference in New Issue
Block a user