Thanks for spotting this!
The underlying issue is different output between these two statements:
MariaDB [test]> show master status; +------------------+----------+--------------+------------------+ | File | Position | Binlog_Do_DB | Binlog_Ignore_DB | +------------------+----------+--------------+------------------+ | mysql-bin.000051 | 240 | | | +------------------+----------+--------------+------------------+ 1 row in set (0.00 sec)
MariaDB [test]> SHOW STATUS LIKE 'binlog_snapshot_%' -> ; +--------------------------+--------------------+ | Variable_name | Value | +--------------------------+--------------------+ | binlog_snapshot_file | ./mysql-bin.000051 | | binlog_snapshot_position | 240 | +--------------------------+--------------------+ 2 rows in set (0.00 sec)
Note the leading `./' in the second version; this should be removed.
Thanks for spotting this!
The underlying issue is different output between these two statements:
MariaDB [test]> show master status; ------- -----+- ------- --+---- ------- ---+--- ------- ------- -+ ------- -----+- ------- --+---- ------- ---+--- ------- ------- -+ ------- -----+- ------- --+---- ------- ---+--- ------- ------- -+
+------
| File | Position | Binlog_Do_DB | Binlog_Ignore_DB |
+------
| mysql-bin.000051 | 240 | | |
+------
1 row in set (0.00 sec)
MariaDB [test]> SHOW STATUS LIKE 'binlog_snapshot_%' ------- ------- ------+ ------- ------- ------+ ------- ------- ------+ ------- ------- ------+ snapshot_ file | ./mysql-bin.000051 | snapshot_ position | 240 | ------- ------- ------+ ------- ------- ------+
-> ;
+------
| Variable_name | Value |
+------
| binlog_
| binlog_
+------
2 rows in set (0.00 sec)
Note the leading `./' in the second version; this should be removed.