| Server IP : 45.40.142.9 / Your IP : 216.73.216.250 Web Server : Apache System : Linux s45-40-142-9.secureserver.net 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 User : bayspec ( 506) PHP Version : 5.6.40 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/usr/share/mysql-test/include/ |
Upload File : |
# ==== Purpose ====
#
# Save current filename and offset for the binary log in the mysqltest
# variables $binlog_file and $binlog_position. The positions can be
# used in any way you like. The variable names are deliberately chosen
# so that this script can be used together with
# include/assert_binlog_events.inc
--let $include_filename= save_binlog_position.inc
--source include/begin_include_file.inc
--let $binlog_file= query_get_value(SHOW MASTER STATUS, File, 1)
--let $binlog_position= query_get_value(SHOW MASTER STATUS, Position, 1)
if ($rpl_debug)
{
--echo saved binlog_file='$binlog_file' binlog_position='$binlog_position'
}
--let $include_filename= save_binlog_position.inc
--source include/end_include_file.inc