1
0
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:
Monty
2024-02-26 12:10:08 +02:00
committed by Sergei Golubchik
parent 153c9173ea
commit d2e6fe02d7
4 changed files with 29 additions and 1 deletions

View File

@@ -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