Server IP : 104.21.38.3 / Your IP : 172.69.176.78 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 : |
RESET MASTER; SET @start_global_value = @@global.gtid_executed; SELECT @start_global_value; @start_global_value SET @start_show_compatibility_56= @@GLOBAL.SHOW_COMPATIBILITY_56; SELECT @start_show_compatibility_56; @start_show_compatibility_56 1 SELECT @@GLOBAL.GTID_EXECUTED; @@GLOBAL.GTID_EXECUTED SET @@GLOBAL.SHOW_COMPATIBILITY_56= OFF; SELECT * FROM performance_schema.global_variables; SHOW WARNINGS; Level Code Message SELECT * FROM performance_schema.global_variables WHERE VARIABLE_NAME LIKE 'gtid_executed'; VARIABLE_NAME VARIABLE_VALUE gtid_executed SELECT * FROM performance_schema.global_variables WHERE VARIABLE_NAME LIKE 'gtid_%' ORDER BY VARIABLE_NAME; VARIABLE_NAME VARIABLE_VALUE gtid_executed gtid_executed_compression_period 1000 gtid_mode OFF gtid_owned gtid_purged SHOW GLOBAL VARIABLES; SHOW WARNINGS; Level Code Message SELECT * FROM information_schema.global_variables; SHOW GLOBAL VARIABLES LIKE 'gtid_executed'; Variable_name Value gtid_executed SHOW GLOBAL VARIABLES LIKE 'gtid_%'; Variable_name Value gtid_executed gtid_executed_compression_period 1000 gtid_mode OFF gtid_owned gtid_purged SET @@GLOBAL.SHOW_COMPATIBILITY_56= ON; SHOW GLOBAL VARIABLES; SHOW WARNINGS; Level Code Message SELECT * FROM information_schema.global_variables; SHOW WARNINGS; Level Code Message Warning 1287 'INFORMATION_SCHEMA.GLOBAL_VARIABLES' is deprecated and will be removed in a future release. Please use performance_schema.global_variables instead SHOW GLOBAL VARIABLES LIKE 'gtid_executed'; Variable_name Value gtid_executed SELECT * FROM information_schema.global_variables WHERE VARIABLE_NAME LIKE 'gtid_executed'; VARIABLE_NAME VARIABLE_VALUE GTID_EXECUTED Warnings: Warning 1287 'INFORMATION_SCHEMA.GLOBAL_VARIABLES' is deprecated and will be removed in a future release. Please use performance_schema.global_variables instead SHOW GLOBAL VARIABLES LIKE 'gtid_%'; Variable_name Value gtid_executed gtid_executed_compression_period 1000 gtid_mode OFF gtid_owned gtid_purged SELECT * FROM information_schema.global_variables WHERE VARIABLE_NAME LIKE 'gtid_%' ORDER BY VARIABLE_NAME; VARIABLE_NAME VARIABLE_VALUE GTID_EXECUTED GTID_EXECUTED_COMPRESSION_PERIOD 1000 GTID_MODE OFF GTID_OWNED GTID_PURGED Warnings: Warning 1287 'INFORMATION_SCHEMA.GLOBAL_VARIABLES' is deprecated and will be removed in a future release. Please use performance_schema.global_variables instead SET GLOBAL SHOW_COMPATIBILITY_56= OFF; SELECT * FROM performance_schema.global_variables WHERE VARIABLE_NAME LIKE 'xyz'; VARIABLE_NAME VARIABLE_VALUE SHOW GLOBAL VARIABLES LIKE 'xyz'; Variable_name Value SET GLOBAL SHOW_COMPATIBILITY_56= ON; SHOW GLOBAL VARIABLES LIKE 'xyz'; Variable_name Value SELECT * FROM information_schema.global_variables WHERE VARIABLE_NAME LIKE 'xyz'; VARIABLE_NAME VARIABLE_VALUE Warnings: Warning 1287 'INFORMATION_SCHEMA.GLOBAL_VARIABLES' is deprecated and will be removed in a future release. Please use performance_schema.global_variables instead SET GLOBAL SHOW_COMPATIBILITY_56= OFF; # # gtid_executed deprecation warnings are issued # SELECT @@SESSION.GTID_EXECUTED; @@SESSION.GTID_EXECUTED Warnings: Warning 1681 '@@SESSION.GTID_EXECUTED' is deprecated and will be removed in a future release. SELECT @@SESSION.GTID_EXECUTED, @@SESSION.GTID_EXECUTED; @@SESSION.GTID_EXECUTED @@SESSION.GTID_EXECUTED Warnings: Warning 1681 '@@SESSION.GTID_EXECUTED' is deprecated and will be removed in a future release. SET @my_gtid_executed= @@SESSION.GTID_EXECUTED; Warnings: Warning 1681 '@@SESSION.GTID_EXECUTED' is deprecated and will be removed in a future release. # # gtid_executed deprecation warnings are NOT issued # SET GLOBAL SHOW_COMPATIBILITY_56= ON; SHOW VARIABLES; SHOW WARNINGS; Level Code Message SHOW SESSION VARIABLES; SHOW WARNINGS; Level Code Message SELECT * FROM information_schema.session_variables; SHOW WARNINGS; Level Code Message Warning 1287 'INFORMATION_SCHEMA.SESSION_VARIABLES' is deprecated and will be removed in a future release. Please use performance_schema.session_variables instead SHOW VARIABLES LIKE 'gtid_executed'; Variable_name Value gtid_executed SHOW SESSION VARIABLES LIKE 'gtid_executed'; Variable_name Value gtid_executed SELECT * FROM information_schema.session_variables WHERE VARIABLE_NAME LIKE 'gtid_executed'; VARIABLE_NAME VARIABLE_VALUE GTID_EXECUTED Warnings: Warning 1287 'INFORMATION_SCHEMA.SESSION_VARIABLES' is deprecated and will be removed in a future release. Please use performance_schema.session_variables instead SHOW VARIABLES LIKE 'gtid_%'; Variable_name Value gtid_executed gtid_executed_compression_period 1000 gtid_mode OFF gtid_next AUTOMATIC gtid_owned gtid_purged SHOW SESSION VARIABLES LIKE 'gtid_%'; Variable_name Value gtid_executed gtid_executed_compression_period 1000 gtid_mode OFF gtid_next AUTOMATIC gtid_owned gtid_purged SELECT * FROM information_schema.session_variables WHERE VARIABLE_NAME LIKE 'gtid_%' ORDER BY VARIABLE_NAME; VARIABLE_NAME VARIABLE_VALUE GTID_EXECUTED GTID_EXECUTED_COMPRESSION_PERIOD 1000 GTID_MODE OFF GTID_NEXT AUTOMATIC GTID_OWNED GTID_PURGED Warnings: Warning 1287 'INFORMATION_SCHEMA.SESSION_VARIABLES' is deprecated and will be removed in a future release. Please use performance_schema.session_variables instead SHOW VARIABLES LIKE 'xyz'; Variable_name Value SHOW SESSION VARIABLES LIKE 'xyz'; Variable_name Value SELECT * FROM information_schema.session_variables WHERE VARIABLE_NAME LIKE 'xyz'; VARIABLE_NAME VARIABLE_VALUE Warnings: Warning 1287 'INFORMATION_SCHEMA.SESSION_VARIABLES' is deprecated and will be removed in a future release. Please use performance_schema.session_variables instead # # @@session.gtid_executed is not present in P_S table and no deprecation # warnings ar issued # SET GLOBAL SHOW_COMPATIBILITY_56= OFF; SELECT * FROM performance_schema.session_variables; SHOW WARNINGS; Level Code Message SELECT * FROM performance_schema.session_variables WHERE VARIABLE_NAME LIKE 'gtid_executed'; VARIABLE_NAME VARIABLE_VALUE SELECT * FROM performance_schema.session_variables WHERE VARIABLE_NAME LIKE 'gtid_%' ORDER BY VARIABLE_NAME; VARIABLE_NAME VARIABLE_VALUE gtid_executed_compression_period 1000 gtid_mode OFF gtid_next AUTOMATIC gtid_owned gtid_purged SHOW VARIABLES; SHOW WARNINGS; Level Code Message SHOW SESSION VARIABLES; SHOW WARNINGS; Level Code Message SHOW VARIABLES LIKE 'gtid_executed'; Variable_name Value SHOW SESSION VARIABLES LIKE 'gtid_executed'; Variable_name Value SHOW VARIABLES LIKE 'gtid_%'; Variable_name Value gtid_executed_compression_period 1000 gtid_mode OFF gtid_next AUTOMATIC gtid_owned gtid_purged SHOW SESSION VARIABLES LIKE 'gtid_%'; Variable_name Value gtid_executed_compression_period 1000 gtid_mode OFF gtid_next AUTOMATIC gtid_owned gtid_purged SELECT * FROM performance_schema.session_variables WHERE VARIABLE_NAME LIKE 'xyz'; VARIABLE_NAME VARIABLE_VALUE SHOW VARIABLES LIKE 'xyz'; Variable_name Value SHOW SESSION VARIABLES LIKE 'xyz'; Variable_name Value SET GLOBAL SHOW_COMPATIBILITY_56= @start_show_compatibility_56; set @@global.gtid_executed = ''; ERROR HY000: Variable 'gtid_executed' is a read only variable set @@session.gtid_executed = ''; ERROR HY000: Variable 'gtid_executed' is a read only variable