~ubuntu-branches/ubuntu/trusty/mariadb-5.5/trusty-proposed

« back to all changes in this revision

Viewing changes to mysql-test/suite/sys_vars/t/plugin_maturity_basic.test

  • Committer: Package Import Robot
  • Author(s): Otto Kekäläinen
  • Date: 2013-12-22 10:27:05 UTC
  • Revision ID: package-import@ubuntu.com-20131222102705-mndw7s12mz0szrcn
Tags: upstream-5.5.32
Import upstream version 5.5.32

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# enum readonly
 
2
 
 
3
#
 
4
# show the global and session values;
 
5
#
 
6
select @@global.plugin_maturity;
 
7
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
 
8
select @@session.plugin_maturity;
 
9
show global variables like 'plugin_maturity';
 
10
show session variables like 'plugin_maturity';
 
11
select * from information_schema.global_variables where variable_name='plugin_maturity';
 
12
select * from information_schema.session_variables where variable_name='plugin_maturity';
 
13
 
 
14
#
 
15
# show that it's read-only
 
16
#
 
17
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
 
18
set global plugin_maturity=1;
 
19
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
 
20
set session plugin_maturity=1;
 
21