mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
mysql-5.5 merge
This commit is contained in:
@ -1883,6 +1883,8 @@ bool mysql_show_binlog_events(THD* thd)
|
||||
File file = -1;
|
||||
MYSQL_BIN_LOG *binary_log= NULL;
|
||||
int old_max_allowed_packet= thd->variables.max_allowed_packet;
|
||||
LOG_INFO linfo;
|
||||
|
||||
DBUG_ENTER("mysql_show_binlog_events");
|
||||
|
||||
Log_event::init_show_field_list(&field_list);
|
||||
@ -1925,7 +1927,6 @@ bool mysql_show_binlog_events(THD* thd)
|
||||
char search_file_name[FN_REFLEN], *name;
|
||||
const char *log_file_name = lex_mi->log_file_name;
|
||||
mysql_mutex_t *log_lock = binary_log->get_log_lock();
|
||||
LOG_INFO linfo;
|
||||
Log_event* ev;
|
||||
|
||||
unit->set_limit(thd->lex->current_select);
|
||||
@ -2022,6 +2023,8 @@ bool mysql_show_binlog_events(THD* thd)
|
||||
|
||||
mysql_mutex_unlock(log_lock);
|
||||
}
|
||||
// Check that linfo is still on the function scope.
|
||||
DEBUG_SYNC(thd, "after_show_binlog_events");
|
||||
|
||||
ret= FALSE;
|
||||
|
||||
|
Reference in New Issue
Block a user