diff options
Diffstat (limited to 'mysql-test/suite/sys_vars/t/pfs_setup_actors_size_basic.test')
-rw-r--r-- | mysql-test/suite/sys_vars/t/pfs_setup_actors_size_basic.test | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/mysql-test/suite/sys_vars/t/pfs_setup_actors_size_basic.test b/mysql-test/suite/sys_vars/t/pfs_setup_actors_size_basic.test new file mode 100644 index 00000000000..6cfb38b4036 --- /dev/null +++ b/mysql-test/suite/sys_vars/t/pfs_setup_actors_size_basic.test @@ -0,0 +1,32 @@ +--source include/not_embedded.inc +--source include/have_perfschema.inc + +# +# Only global +# + +select @@global.performance_schema_setup_actors_size; + +--error ER_INCORRECT_GLOBAL_LOCAL_VAR +select @@session.performance_schema_setup_actors_size; + +show global variables like 'performance_schema_setup_actors_size'; + +show session variables like 'performance_schema_setup_actors_size'; + +select * from information_schema.global_variables + where variable_name='performance_schema_setup_actors_size'; + +select * from information_schema.session_variables + where variable_name='performance_schema_setup_actors_size'; + +# +# Read-only +# + +--error ER_INCORRECT_GLOBAL_LOCAL_VAR +set global performance_schema_setup_actors_size=1; + +--error ER_INCORRECT_GLOBAL_LOCAL_VAR +set session performance_schema_setup_actors_size=1; + |