From 4cfc9d771a606117f37e543c1a117887cc58ec40 Mon Sep 17 00:00:00 2001 From: Sergey Glukhov Date: Thu, 28 May 2009 16:19:49 +0500 Subject: [PATCH] test case fix --- mysql-test/r/mysql.result | 2 +- mysql-test/t/mysql.test | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/mysql-test/r/mysql.result b/mysql-test/r/mysql.result index d1e8ba1e253..4affd884753 100644 --- a/mysql-test/r/mysql.result +++ b/mysql-test/r/mysql.result @@ -198,5 +198,5 @@ COUNT (*) 1 COUNT (*) 1 -ERROR 2005 (HY000) at line 1: Unknown MySQL server host 'invalid_hostname' (1) +ERROR 2005 (HY000) at line 1: Unknown MySQL server host 'invalid_hostname' (errno) End of 5.0 tests diff --git a/mysql-test/t/mysql.test b/mysql-test/t/mysql.test index 45077b5ef80..b2d7400d156 100644 --- a/mysql-test/t/mysql.test +++ b/mysql-test/t/mysql.test @@ -351,6 +351,7 @@ remove_file $MYSQLTEST_VARDIR/tmp/bug31060.sql; # # Bug#37268 'binary' character set makes CLI-internal commands case sensitive # +--replace_regex /\([0-9]*\)/(errno)/ --error 1 --exec $MYSQL --default-character-set=binary test -e "CONNECT test invalid_hostname" 2>&1 --exec $MYSQL --default-character-set=binary test -e "DELIMITER //" 2>&1