summaryrefslogtreecommitdiff
path: root/mysql-test/t/rpl_error_ignored_table.test
diff options
context:
space:
mode:
authorunknown <lenz@mysql.com>2003-07-11 22:18:53 +0200
committerunknown <lenz@mysql.com>2003-07-11 22:18:53 +0200
commitdd2d33d7a76a0f7fda231ce730bc3922e0bcbece (patch)
treea59572c358208ab08b4e377cc0cfc8aff0753336 /mysql-test/t/rpl_error_ignored_table.test
parentbfe3dba97de2d51f2c9e320054135d8441babe07 (diff)
downloadmariadb-git-dd2d33d7a76a0f7fda231ce730bc3922e0bcbece.tar.gz
- fixed an error in the rpl_error_ignored_table test suite: the master
port number can be different from 3306 when doing the release builds with Do-compile, therefore it has to be replaced with the correct value during the test run using the "--replace_result" function. mysql-test/r/rpl_error_ignored_table.result: - replaced hard-coded master port number with MASTER_PORT variable, since the port number is different when running the test suite during the release builds with "Do-compile". mysql-test/t/rpl_error_ignored_table.test: - replaced hard-coded master port number with MASTER_PORT variable, since the port number is different when running the test suite during the release builds with "Do-compile".
Diffstat (limited to 'mysql-test/t/rpl_error_ignored_table.test')
-rw-r--r--mysql-test/t/rpl_error_ignored_table.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/t/rpl_error_ignored_table.test b/mysql-test/t/rpl_error_ignored_table.test
index caa289a184d..686472433eb 100644
--- a/mysql-test/t/rpl_error_ignored_table.test
+++ b/mysql-test/t/rpl_error_ignored_table.test
@@ -12,6 +12,9 @@ save_master_pos;
connection slave;
# as the t1 table is ignored on the slave, the slave should be able to sync
sync_with_master;
+# The port number is different when doing the release build with
+# Do-compile, hence we have to replace the port number here accordingly
+--replace_result 3306 MASTER_PORT 9306 MASTER_PORT 3334 MASTER_PORT 3336 MASTER_PORT
show slave status;
# check that the table has been ignored, because otherwise the test is nonsense
show tables like 't1';