mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Generate a warning(note) and write to error log if master_pos_wait() fails.
This is to make it easier to understand why master_pos_wait() fails in mtr.
This commit is contained in:
@@ -69,6 +69,8 @@ set @@default_master_connection='';
|
||||
select master_pos_wait('master-bin.999999',0,2);
|
||||
master_pos_wait('master-bin.999999',0,2)
|
||||
-1
|
||||
Warnings:
|
||||
Note 1105 Timeout waiting for master-bin.999999:4. Current pos is master-bin.000001:329
|
||||
set @@default_master_connection='';
|
||||
#
|
||||
# checking variables
|
||||
|
Reference in New Issue
Block a user