config root man

Current Path : /home/usr.opt/mysql57/mysql-test/suite/sys_vars/r/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //home/usr.opt/mysql57/mysql-test/suite/sys_vars/r/gtid_owned_basic.result

SET @start_global_value = @@global.gtid_owned;
SELECT @start_global_value;
@start_global_value

select @@global.gtid_owned;
@@global.gtid_owned

select @@session.gtid_owned;
@@session.gtid_owned

show global variables like 'gtid_owned';
Variable_name	Value
gtid_owned	
show session variables like 'gtid_owned';
Variable_name	Value
gtid_owned	
select * from information_schema.global_variables where variable_name='gtid_owned';
VARIABLE_NAME	VARIABLE_VALUE
GTID_OWNED	
select * from information_schema.session_variables where variable_name='gtid_owned';
VARIABLE_NAME	VARIABLE_VALUE
GTID_OWNED	
set @@global.gtid_owned = 1;
ERROR HY000: Variable 'gtid_owned' is a read only variable
set @@session.gtid_owned = 1;
ERROR HY000: Variable 'gtid_owned' is a read only variable
set @@session.gtid_next = 'anonymous';
select @@session.gtid_owned;
@@session.gtid_owned
ANONYMOUS
select @@global.gtid_owned;
@@global.gtid_owned

ROLLBACK;
set @@session.gtid_next = 'automatic';
select @@session.gtid_owned;
@@session.gtid_owned

select @@global.gtid_owned;
@@global.gtid_owned


Man Man