403Webshell
Server IP : 172.67.216.182  /  Your IP : 162.158.170.91
Web Server : Apache
System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64
User : www ( 1000)
PHP Version : 7.4.33
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /www/server/mysql/src/mysql-test/suite/sys_vars/r/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/server/mysql/src/mysql-test/suite/sys_vars/r/enforce_gtid_consistency_basic.result
RESET MASTER;
SET @start_global_value = @@global.enforce_gtid_consistency;
SELECT @start_global_value;
@start_global_value
OFF
select @@global.enforce_gtid_consistency;
@@global.enforce_gtid_consistency
OFF
select @@session.enforce_gtid_consistency;
ERROR HY000: Variable 'enforce_gtid_consistency' is a GLOBAL variable
show global variables like 'enforce_gtid_consistency';
Variable_name	Value
enforce_gtid_consistency	OFF
show session variables like 'enforce_gtid_consistency';
Variable_name	Value
enforce_gtid_consistency	OFF
select * from information_schema.global_variables where variable_name='enforce_gtid_consistency';
VARIABLE_NAME	VARIABLE_VALUE
ENFORCE_GTID_CONSISTENCY	OFF
select * from information_schema.session_variables where variable_name='enforce_gtid_consistency';
VARIABLE_NAME	VARIABLE_VALUE
ENFORCE_GTID_CONSISTENCY	OFF
set global enforce_gtid_consistency= 1;
select @@global.enforce_gtid_consistency;
@@global.enforce_gtid_consistency
ON
show variables like 'enforce_gtid_consistency';
Variable_name	Value
enforce_gtid_consistency	ON
select variable_value from information_schema.global_variables
where variable_name= 'enforce_gtid_consistency';
variable_value
ON
set global enforce_gtid_consistency= 0;
select @@global.enforce_gtid_consistency;
@@global.enforce_gtid_consistency
OFF
show variables like 'enforce_gtid_consistency';
Variable_name	Value
enforce_gtid_consistency	OFF
select variable_value from information_schema.global_variables
where variable_name= 'enforce_gtid_consistency';
variable_value
OFF
set global enforce_gtid_consistency= 2;
select @@global.enforce_gtid_consistency;
@@global.enforce_gtid_consistency
WARN
show variables like 'enforce_gtid_consistency';
Variable_name	Value
enforce_gtid_consistency	WARN
select variable_value from information_schema.global_variables
where variable_name= 'enforce_gtid_consistency';
variable_value
WARN
set global enforce_gtid_consistency= ON;
select @@global.enforce_gtid_consistency;
@@global.enforce_gtid_consistency
ON
show variables like 'enforce_gtid_consistency';
Variable_name	Value
enforce_gtid_consistency	ON
select variable_value from information_schema.global_variables
where variable_name= 'enforce_gtid_consistency';
variable_value
ON
set global enforce_gtid_consistency= OFF;
select @@global.enforce_gtid_consistency;
@@global.enforce_gtid_consistency
OFF
show variables like 'enforce_gtid_consistency';
Variable_name	Value
enforce_gtid_consistency	OFF
select variable_value from information_schema.global_variables
where variable_name= 'enforce_gtid_consistency';
variable_value
OFF
set global enforce_gtid_consistency= TRUE;
select @@global.enforce_gtid_consistency;
@@global.enforce_gtid_consistency
ON
show variables like 'enforce_gtid_consistency';
Variable_name	Value
enforce_gtid_consistency	ON
select variable_value from information_schema.global_variables
where variable_name= 'enforce_gtid_consistency';
variable_value
ON
set global enforce_gtid_consistency= FALSE;
select @@global.enforce_gtid_consistency;
@@global.enforce_gtid_consistency
OFF
show variables like 'enforce_gtid_consistency';
Variable_name	Value
enforce_gtid_consistency	OFF
select variable_value from information_schema.global_variables
where variable_name= 'enforce_gtid_consistency';
variable_value
OFF
set global enforce_gtid_consistency= WARN;
select @@global.enforce_gtid_consistency;
@@global.enforce_gtid_consistency
WARN
show variables like 'enforce_gtid_consistency';
Variable_name	Value
enforce_gtid_consistency	WARN
select variable_value from information_schema.global_variables
where variable_name= 'enforce_gtid_consistency';
variable_value
WARN
set session enforce_gtid_consistency= 1;
ERROR HY000: Variable 'enforce_gtid_consistency' is a GLOBAL variable and should be set with SET GLOBAL
select @@session.enforce_gtid_consistency;
ERROR HY000: Variable 'enforce_gtid_consistency' is a GLOBAL variable
set global enforce_gtid_consistency= -1;
ERROR 42000: Variable 'enforce_gtid_consistency' can't be set to the value of '-1'
set global enforce_gtid_consistency= 3;
ERROR 42000: Variable 'enforce_gtid_consistency' can't be set to the value of '3'
set global enforce_gtid_consistency= NULL;
ERROR 42000: Variable 'enforce_gtid_consistency' can't be set to the value of 'NULL'
set global enforce_gtid_consistency= '';
ERROR 42000: Variable 'enforce_gtid_consistency' can't be set to the value of ''
set global enforce_gtid_consistency= default;
set global enforce_gtid_consistency= ON;
set global gtid_mode=off_permissive;
set global gtid_mode=on_permissive;
set global gtid_mode=on;
set global enforce_gtid_consistency= WARN;
ERROR HY000: GTID_MODE = ON requires ENFORCE_GTID_CONSISTENCY = ON.
set global enforce_gtid_consistency= OFF;
ERROR HY000: GTID_MODE = ON requires ENFORCE_GTID_CONSISTENCY = ON.
set global enforce_gtid_consistency= ON;
set global enforce_gtid_consistency= TRUE;
set global enforce_gtid_consistency= 1;
set global gtid_mode=on_permissive;
set global gtid_mode=off_permissive;
CREATE TABLE t1 (a INT);
SET AUTOCOMMIT = 0;
SET SESSION GTID_NEXT = 'aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:1';
INSERT INTO t1 VALUES (1);
SET GLOBAL ENFORCE_GTID_CONSISTENCY = 'off';
ERROR HY000: The system variable enforce_gtid_consistency cannot be set when there is an ongoing transaction.
COMMIT;
SET SESSION GTID_NEXT = 'aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:2';
SET GLOBAL ENFORCE_GTID_CONSISTENCY = 'off';
ERROR HY000: Variable enforce_gtid_consistency cannot be changed by a client that owns a GTID. The client owns aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:2. Ownership is released on COMMIT or ROLLBACK.
COMMIT;
SET GTID_NEXT = 'ANONYMOUS';
SET GLOBAL ENFORCE_GTID_CONSISTENCY = 'off';
ERROR HY000: Variable enforce_gtid_consistency cannot be changed by a client that owns a GTID. The client owns ANONYMOUS. Ownership is released on COMMIT or ROLLBACK.
COMMIT;
SET AUTOCOMMIT = 1;
SET SESSION GTID_NEXT = 'AUTOMATIC';
SET GLOBAL GTID_MODE = 'off';
DROP TABLE t1;
set global enforce_gtid_consistency= @start_global_value;

Youez - 2016 - github.com/yon3zu
LinuXploit