summaryrefslogtreecommitdiff
path: root/mysql-test/main/partition.test
diff options
context:
space:
mode:
authorDmitry Shulga <dmitry.shulga@mariadb.com>2021-06-07 00:39:15 +0700
committerSergei Golubchik <serg@mariadb.org>2021-06-17 19:30:24 +0200
commitb126c3f3fa2de565ec6737cdfac902cd34d0515b (patch)
treec68ce2909d80e20eb838612ab25ba526f8179391 /mysql-test/main/partition.test
parentfc71746a6a75e2b24a50a6c3afb026a667d409c6 (diff)
downloadmariadb-git-b126c3f3fa2de565ec6737cdfac902cd34d0515b.tar.gz
MDEV-16708: fixed issue with handling of the directive --enable-prepared-warnings in mysqltest
Diffstat (limited to 'mysql-test/main/partition.test')
-rw-r--r--mysql-test/main/partition.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/main/partition.test b/mysql-test/main/partition.test
index 5d5dafdb206..5f4c5f659ca 100644
--- a/mysql-test/main/partition.test
+++ b/mysql-test/main/partition.test
@@ -350,10 +350,12 @@ ENGINE=Memory;
ALTER TABLE t1 ENGINE=NonExistentEngine;
# OK to only specify one partitions engine, since it is already assigned at
# table level (after create, it is specified on all levels and all parts).
+--enable_prepare_warnings
ALTER TABLE t1
PARTITION BY HASH (a)
(PARTITION p0 ENGINE=Memory,
PARTITION p1 ENGINE=NonExistentEngine);
+--disable_prepare_warnings
ALTER TABLE t1 ENGINE=NonExistentEngine;
SHOW CREATE TABLE t1;
DROP TABLE t1;