mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
Additional fix for bug#31455 (rpl decoder)
- Implementing --base64-format=decode-rows, to display SQL-alike decoded row events without their BINLOG statements. - Adding --base64-format=decode-rows into tests when calling mysqlbinlog to avoid non-deterministic results - Removing resetting of last_table_id in "RESET MASTER", which appeared to be dangerous.
This commit is contained in:
@@ -1285,16 +1285,13 @@ bool change_master(THD* thd, Master_info* mi)
|
||||
|
||||
int reset_master(THD* thd)
|
||||
{
|
||||
int rc;
|
||||
if (!mysql_bin_log.is_open())
|
||||
{
|
||||
my_message(ER_FLUSH_MASTER_BINLOG_CLOSED,
|
||||
ER(ER_FLUSH_MASTER_BINLOG_CLOSED), MYF(ME_BELL+ME_WAITTANG));
|
||||
return 1;
|
||||
}
|
||||
if (!(rc= mysql_bin_log.reset_logs(thd)))
|
||||
reset_table_id_sequence();
|
||||
return rc;
|
||||
return mysql_bin_log.reset_logs(thd);
|
||||
}
|
||||
|
||||
int cmp_master_pos(const char* log_file_name1, ulonglong log_pos1,
|
||||
|
Reference in New Issue
Block a user