diff options
author | tmokmss <tomookam@live.jp> | 2022-05-30 08:57:01 +0000 |
---|---|---|
committer | tmokmss <tomookam@live.jp> | 2022-05-30 08:57:09 +0000 |
commit | 3e47df04270d097e929fed7d8e523463060819e6 (patch) | |
tree | 431d5a5dc0773dab09d5b9a374c024d60d672d92 | |
parent | 0ca6fb37f67e60b5e48b2f5a0ca493b67a6d0ea2 (diff) | |
download | mariadb-git-3e47df04270d097e929fed7d8e523463060819e6.tar.gz |
add comment for the test case
-rw-r--r-- | mysql-test/main/partition_error.result | 3 | ||||
-rw-r--r-- | mysql-test/main/partition_error.test | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/main/partition_error.result b/mysql-test/main/partition_error.result index 215b1a527dd..fdedb5a4633 100644 --- a/mysql-test/main/partition_error.result +++ b/mysql-test/main/partition_error.result @@ -9,6 +9,9 @@ ALTER TABLE t1 EXCHANGE PARTITION p0 WITH TABLE v1; ERROR HY000: 'test.v1' is not of type 'BASE TABLE' DROP VIEW v1; DROP TABLE t1; +# +# MDEV-28599 EXCHANGE PARTITION on view causes ER_CHECK_NO_SUCH_TABLE instead of ER_WRONG_OBJECT +# CREATE TABLE t1 (a int) PARTITION BY HASH (a) PARTITIONS 2; diff --git a/mysql-test/main/partition_error.test b/mysql-test/main/partition_error.test index 6fb8be9b54f..7d8e76dabf7 100644 --- a/mysql-test/main/partition_error.test +++ b/mysql-test/main/partition_error.test @@ -21,6 +21,9 @@ ALTER TABLE t1 EXCHANGE PARTITION p0 WITH TABLE v1; DROP VIEW v1; DROP TABLE t1; +--echo # +--echo # MDEV-28599 EXCHANGE PARTITION on view causes ER_CHECK_NO_SUCH_TABLE instead of ER_WRONG_OBJECT +--echo # CREATE TABLE t1 (a int) PARTITION BY HASH (a) PARTITIONS 2; |