mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
MDEV-7255 Failures in engines/* tests, part 5
RENAME TABLE on a non-existing table produces a better error message
This commit is contained in:
parent
d5f52fec77
commit
f02f06172c
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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'`;
|
||||
|
|
Loading…
Reference in a new issue