summaryrefslogtreecommitdiff
path: root/mysql-test/include
diff options
context:
space:
mode:
authorKristian Nielsen <knielsen@knielsen-hq.org>2016-09-22 12:23:32 +0200
committerKristian Nielsen <knielsen@knielsen-hq.org>2016-10-14 23:15:58 +0200
commita9fb480fd614031e2e372b1fb8d7e4c858954ac6 (patch)
treecd7f7023f9d7cf3c6f56003995a2f0c8188d7657 /mysql-test/include
parent19abe79fd15ab6d8ac0c2f65476bc3c7d29a008d (diff)
downloadmariadb-git-a9fb480fd614031e2e372b1fb8d7e4c858954ac6.tar.gz
MDEV-7145: Delayed replication, fixing test failures.
Two merge error fixed, and testsuite updated to removed some other test failues. Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
Diffstat (limited to 'mysql-test/include')
-rw-r--r--mysql-test/include/relocate_binlogs.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/mysql-test/include/relocate_binlogs.inc b/mysql-test/include/relocate_binlogs.inc
index d5d1135dda3..593ea0e9fbf 100644
--- a/mysql-test/include/relocate_binlogs.inc
+++ b/mysql-test/include/relocate_binlogs.inc
@@ -101,16 +101,16 @@ if ($relocate_index_file)
--eval LOAD DATA INFILE '$relocate_fix_relay_log_info' INTO TABLE tmp (entry)
--let $count= `SELECT count(*) FROM tmp`
- --let $_curr_entry= `SELECT entry FROM tmp WHERE id=1`
+ --let $_curr_entry= `SELECT entry FROM tmp WHERE id=2`
--let $_curr_entry_basename= `SELECT RIGHT(RTRIM("$_curr_entry"), LOCATE("$_path_separator",REVERSE(RTRIM("$_curr_entry"))) -1)`
if ($relocate_is_windows)
{
- --eval UPDATE tmp SET entry='$_to\$_curr_entry_basename' WHERE id=1
+ --eval UPDATE tmp SET entry='$_to\$_curr_entry_basename' WHERE id=2
}
if (!$relocate_is_windows)
{
- --eval UPDATE tmp SET entry='$_to/$_curr_entry_basename' WHERE id=1
+ --eval UPDATE tmp SET entry='$_to/$_curr_entry_basename' WHERE id=2
}
--remove_file $relocate_fix_relay_log_info