~ubuntu-branches/ubuntu/trusty/mysql-5.6/trusty

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2014-02-12 11:54:27 UTC
  • Revision ID: package-import@ubuntu.com-20140212115427-oq6tfsqxl1wuwehi
Tags: upstream-5.6.15
ImportĀ upstreamĀ versionĀ 5.6.15

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--source include/not_embedded.inc
 
2
#
 
3
# only global
 
4
#
 
5
select @@global.relay_log_info_file;
 
6
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
 
7
select @@session.relay_log_info_file;
 
8
show global variables like 'relay_log_info_file';
 
9
show session variables like 'relay_log_info_file';
 
10
select * from information_schema.global_variables where variable_name='relay_log_info_file';
 
11
select * from information_schema.session_variables where variable_name='relay_log_info_file';
 
12
 
 
13
#
 
14
# show that it's read-only
 
15
#
 
16
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
 
17
set global relay_log_info_file=1;
 
18
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
 
19
set session relay_log_info_file=1;