From f02f06172c9fa32201ab36ddc9e35109e2ce1a88 Mon Sep 17 00:00:00 2001 From: Elena Stepanova Date: Thu, 4 Dec 2014 02:17:09 +0400 Subject: [PATCH] MDEV-7255 Failures in engines/* tests, part 5 RENAME TABLE on a non-existing table produces a better error message --- mysql-test/suite/engines/funcs/r/tc_rename_error.result | 2 +- mysql-test/suite/engines/funcs/t/tc_rename_error.test | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mysql-test/suite/engines/funcs/r/tc_rename_error.result b/mysql-test/suite/engines/funcs/r/tc_rename_error.result index bd1c2abc057..cd5108107fb 100644 --- a/mysql-test/suite/engines/funcs/r/tc_rename_error.result +++ b/mysql-test/suite/engines/funcs/r/tc_rename_error.result @@ -15,7 +15,7 @@ ERROR 42S01: Table 't1' already exists RENAME TABLE t3 TO t1; ERROR 42S01: Table 't1' already exists RENAME TABLE t3 TO doesnotexist.t1; -ERROR HY000: Can't find file: './test/t3.frm' (errno: 2 "No such file or directory") +ERROR 42S02: Table 'test.t3' doesn't exist SHOW TABLES; Tables_in_test t1 diff --git a/mysql-test/suite/engines/funcs/t/tc_rename_error.test b/mysql-test/suite/engines/funcs/t/tc_rename_error.test index 91efeacaeef..3fc4901a364 100644 --- a/mysql-test/suite/engines/funcs/t/tc_rename_error.test +++ b/mysql-test/suite/engines/funcs/t/tc_rename_error.test @@ -11,7 +11,7 @@ let $ENGINE=`select variable_value from information_schema.global_variables wher RENAME TABLE t2 TO t1; --error 1050 RENAME TABLE t3 TO t1; ---error 1017 +--error 1146 RENAME TABLE t3 TO doesnotexist.t1; SHOW TABLES; let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;