summaryrefslogtreecommitdiff
path: root/mysql-test/include/mysqlhotcopy.inc
diff options
context:
space:
mode:
authorJohn H. Embretsen <john.embretsen@oracle.com>2011-02-08 10:51:09 +0100
committerJohn H. Embretsen <john.embretsen@oracle.com>2011-02-08 10:51:09 +0100
commitaa672f5401d86bacb6281b96e170752a43f13acc (patch)
tree92ba134a4e54049e22349dd83a1c2c385b9f2530 /mysql-test/include/mysqlhotcopy.inc
parentbfc1e4436fb6b1bb0455720763a4db926c542fcf (diff)
downloadmariadb-git-aa672f5401d86bacb6281b96e170752a43f13acc.tar.gz
Fix for Bug#59837 - mysqlhotcopy fails with wrong error (11) on specific platforms:
Test failed on a certain Linux platform in automated environment. It turns out that this platform has an old version of Perl modules DBI and DBD::mysql installed, as well as the OS itself being relatively old. Allowing error code 11 to be returned from mysqlhotcopy on expected error seems harmless and will make the test pass also with older libraries.
Diffstat (limited to 'mysql-test/include/mysqlhotcopy.inc')
-rw-r--r--mysql-test/include/mysqlhotcopy.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/include/mysqlhotcopy.inc b/mysql-test/include/mysqlhotcopy.inc
index 110b0769ae1..fcf57a68644 100644
--- a/mysql-test/include/mysqlhotcopy.inc
+++ b/mysql-test/include/mysqlhotcopy.inc
@@ -107,7 +107,7 @@ DROP DATABASE hotcopy_save;
--replace_result $MYSQLD_DATADIR MYSQLD_DATADIR
--list_files $MYSQLD_DATADIR/hotcopy_save
--replace_result $MASTER_MYSOCK MASTER_MYSOCK
---error 9,2304
+--error 9,11,2304
--exec $MYSQLHOTCOPY --quiet -S $MASTER_MYSOCK -u root hotcopy_test hotcopy_save
--replace_result $MASTER_MYSOCK MASTER_MYSOCK
--exec $MYSQLHOTCOPY --quiet --allowold -S $MASTER_MYSOCK -u root hotcopy_test hotcopy_save