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

« back to all changes in this revision

Viewing changes to mysql-test/suite/sys_vars/t/slave_skip_errors_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.slave_skip_errors;
 
6
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
 
7
select @@session.slave_skip_errors;
 
8
show global variables like 'slave_skip_errors';
 
9
show session variables like 'slave_skip_errors';
 
10
select * from information_schema.global_variables where variable_name='slave_skip_errors';
 
11
select * from information_schema.session_variables where variable_name='slave_skip_errors';
 
12
 
 
13
#
 
14
# show that it's read-only
 
15
#
 
16
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
 
17
set global slave_skip_errors=1;
 
18
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
 
19
set session slave_skip_errors=1;