mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Bug #45214 get_master_version_and_clock does not report error when queries fail
Append the patch for resolving the problems, which have been brought by commiting bug#45214.
This commit is contained in:
@ -15,7 +15,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
source include/master-slave.inc;
|
source include/master-slave.inc;
|
||||||
|
source include/have_debug.inc;
|
||||||
#Test case 1: Try to get the value of the UNIX_TIMESTAMP from master under network disconnection
|
#Test case 1: Try to get the value of the UNIX_TIMESTAMP from master under network disconnection
|
||||||
connection slave;
|
connection slave;
|
||||||
let $debug_saved= `select @@global.debug`;
|
let $debug_saved= `select @@global.debug`;
|
||||||
|
@ -906,7 +906,6 @@ static int get_master_version_and_clock(MYSQL* mysql, Master_info* mi)
|
|||||||
MYSQL_RES *master_res= 0;
|
MYSQL_RES *master_res= 0;
|
||||||
MYSQL_ROW master_row;
|
MYSQL_ROW master_row;
|
||||||
DBUG_ENTER("get_master_version_and_clock");
|
DBUG_ENTER("get_master_version_and_clock");
|
||||||
int query_re= 0;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Free old description_event_for_queue (that is needed if we are in
|
Free old description_event_for_queue (that is needed if we are in
|
||||||
|
Reference in New Issue
Block a user