diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2022-05-25 09:15:08 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2022-05-25 09:15:08 +0300 |
commit | 3cc8539d84f569f4829874bf36f4b44b0ceb030c (patch) | |
tree | cc4cf6561f81b4d6b33af1dc5da888e6baff59af /mysql-test/suite/perfschema/t/misc.test | |
parent | 956d93b581b704fa56b0b6469ae35a2e79850ef4 (diff) | |
parent | 1ace1075dc6bb02fe19802334f9d47446a17a79a (diff) | |
download | mariadb-git-3cc8539d84f569f4829874bf36f4b44b0ceb030c.tar.gz |
Merge 10.9 into 10.10
Diffstat (limited to 'mysql-test/suite/perfschema/t/misc.test')
-rw-r--r-- | mysql-test/suite/perfschema/t/misc.test | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/mysql-test/suite/perfschema/t/misc.test b/mysql-test/suite/perfschema/t/misc.test index 848be3beea1..79c23c65616 100644 --- a/mysql-test/suite/perfschema/t/misc.test +++ b/mysql-test/suite/perfschema/t/misc.test @@ -298,3 +298,23 @@ drop tables t1; select object_type, object_schema, object_name from performance_schema.objects_summary_global_by_type where object_schema="test"; + +--echo # +--echo # MDEV-28344: sys.ps_setup_save and dependent procedures fail +--echo # with ER_ILLEGAL_HA_CREATE_OPTION +--echo # + +# It is not allowed to create temporary tables with performance schema +--error ER_ILLEGAL_HA_CREATE_OPTION +CREATE TEMPORARY TABLE t1 (t int) ENGINE = PERFORMANCE_SCHEMA; + +--error ER_ILLEGAL_HA_CREATE_OPTION +CREATE TEMPORARY TABLE t1 LIKE performance_schema.setup_actors; + +SET @default_storage_engine_old = @@default_storage_engine; +SET default_storage_engine = performance_schema; + +--error ER_ILLEGAL_HA_CREATE_OPTION +CREATE TEMPORARY TABLE t1 (t int); + +SET @@default_storage_engine = @default_storage_engine_old;
\ No newline at end of file |