1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-26: Global Transaction ID

Fix that CHANGE MASTER ... MASTER_GTID_POS="" works to start from the very
beginning of the binary log (with test case).

Fix that not finding the requested GTID position in master binlog results in
fatal error, not endless connect retry.
This commit is contained in:
unknown
2013-02-27 21:10:40 +01:00
parent a7e1860ec0
commit 06ffea8c5b
4 changed files with 108 additions and 1 deletions

View File

@@ -1292,7 +1292,7 @@ void mysql_binlog_send(THD* thd, char* log_ident, my_off_t pos,
}
if ((errmsg= gtid_find_binlog_file(&gtid_state, search_file_name)))
{
my_errno= ER_UNKNOWN_ERROR;
my_errno= ER_MASTER_FATAL_ERROR_READING_BINLOG;
goto err;
}
pos= 4;