summaryrefslogtreecommitdiff
path: root/mysql-test/suite/rpl/t/rpl_packet.test
diff options
context:
space:
mode:
authorNuno Carvalho <nuno.carvalho@oracle.com>2012-01-19 16:56:43 +0000
committerNuno Carvalho <nuno.carvalho@oracle.com>2012-01-19 16:56:43 +0000
commit37fce0ece437daf6035e6f6ecd6ec6342b0d224a (patch)
treedaa67a852e8fbcee19ebf6cad41af4facda78828 /mysql-test/suite/rpl/t/rpl_packet.test
parentefddb7acb937380acfe667b460555687df728878 (diff)
downloadmariadb-git-37fce0ece437daf6035e6f6ecd6ec6342b0d224a.tar.gz
BUG#13050593 - BACKSLASH SWALLOWED BY INCLUDE/SHOW_SLAVE_STATUS.INC
If an error message contains '\' backslash it is displayed correctly through show-slave-status or query_get_value(SHOW SLAVE STATUS, Last_IO_Error, 1);. But when SELECT REPLACE(...) is applied backslash is escaped resulting in a different test output. Disabled backslash escape on show_slave_status.inc and replaced '\' for '/' using replace_regex function in order to achieve the same test output when different path separators are used.
Diffstat (limited to 'mysql-test/suite/rpl/t/rpl_packet.test')
-rw-r--r--mysql-test/suite/rpl/t/rpl_packet.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/suite/rpl/t/rpl_packet.test b/mysql-test/suite/rpl/t/rpl_packet.test
index 06a03131a57..4f296fed68e 100644
--- a/mysql-test/suite/rpl/t/rpl_packet.test
+++ b/mysql-test/suite/rpl/t/rpl_packet.test
@@ -126,8 +126,8 @@ connection slave;
# 1236=ER_MASTER_FATAL_ERROR_READING_BINLOG error message from master.
--let $slave_io_errno= 1236
-# Mask line numbers, and whether master-bin is preceded by "./" or "."
---let $slave_io_error_replace= / at [0-9]*/ at XXX/ /\.\/*master-bin/master-bin/
+# Mask line numbers
+--let $slave_io_error_replace= / at [0-9]*/ at XXX/
--source include/wait_for_slave_io_error.inc
# Remove the bad binlog and clear error status on slave.