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

« back to all changes in this revision

Viewing changes to mysql-test/suite/sys_vars/r/relay_log_index_basic.result

  • 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
select @@global.relay_log_index;
 
2
@@global.relay_log_index
 
3
mysqld-relay-bin.index
 
4
select @@session.relay_log_index;
 
5
ERROR HY000: Variable 'relay_log_index' is a GLOBAL variable
 
6
show global variables like 'relay_log_index';
 
7
Variable_name   Value
 
8
relay_log_index mysqld-relay-bin.index
 
9
show session variables like 'relay_log_index';
 
10
Variable_name   Value
 
11
relay_log_index mysqld-relay-bin.index
 
12
select * from information_schema.global_variables where variable_name='relay_log_index';
 
13
VARIABLE_NAME   VARIABLE_VALUE
 
14
RELAY_LOG_INDEX mysqld-relay-bin.index
 
15
select * from information_schema.session_variables where variable_name='relay_log_index';
 
16
VARIABLE_NAME   VARIABLE_VALUE
 
17
RELAY_LOG_INDEX mysqld-relay-bin.index
 
18
set global relay_log_index=1;
 
19
ERROR HY000: Variable 'relay_log_index' is a read only variable
 
20
set session relay_log_index=1;
 
21
ERROR HY000: Variable 'relay_log_index' is a read only variable