mirror of
https://github.com/MariaDB/server.git
synced 2025-08-29 00:08:14 +03:00
An embedded run will output the full path name instead of a relative one. Update results to cover both cases.
12 lines
368 B
Plaintext
12 lines
368 B
Plaintext
--source include/have_innodb.inc
|
|
|
|
call mtr.add_suppression("InnoDB: (Operating system error|The error means|Cannot rename file)");
|
|
|
|
CREATE TABLE t1 (a INT) ENGINE=InnoDB;
|
|
--replace_regex /\'.*t1\' to/'**path-to-t1**' to/ /to \'.*non.*t1\'/to '**path-to-non-existing-db-t1**'/
|
|
--error ER_ERROR_ON_RENAME
|
|
RENAME TABLE t1 TO non_existing_db.t1;
|
|
|
|
# Cleanup
|
|
DROP TABLE t1;
|