diff options
Diffstat (limited to 'mysql-test/suite/binlog/t/binlog_variables_relay_log.test')
-rw-r--r-- | mysql-test/suite/binlog/t/binlog_variables_relay_log.test | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mysql-test/suite/binlog/t/binlog_variables_relay_log.test b/mysql-test/suite/binlog/t/binlog_variables_relay_log.test index 1e987901986..27ef1d73035 100644 --- a/mysql-test/suite/binlog/t/binlog_variables_relay_log.test +++ b/mysql-test/suite/binlog/t/binlog_variables_relay_log.test @@ -1,4 +1,5 @@ --source include/not_embedded.inc ---replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR +let $relay_log_index=`select substring_index(@@relay_log_index,'/',-1)`; +--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR $relay_log_index mysqld-relay-bin.index --query_vertical SHOW VARIABLES LIKE 'relay_log%' |