Server IP : 172.67.216.182 / Your IP : 172.68.164.132 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 : |
set @save_binlog_checksum= @@global.binlog_checksum; set @@global.binlog_checksum = default; select @@global.binlog_checksum as 'must be CRC32 by default'; must be CRC32 by default CRC32 select @@session.binlog_checksum as 'no session var'; ERROR HY000: Variable 'binlog_checksum' is a GLOBAL variable set @@global.binlog_checksum = CRC32; set @@global.binlog_checksum = CRC32; set @@global.master_verify_checksum = 0; set @@global.master_verify_checksum = default; set @@global.binlog_checksum = ADLER32; ERROR 42000: Variable 'binlog_checksum' can't be set to the value of 'ADLER32' # # Bug#22914463 SET BINLOG_CHECKSUM CRASHES WHEN EXECUTED INSIDE # TRANSACTION # # Check that changing binlog_checksum inside transacation # is not allowed. # BEGIN; SET @@global.binlog_checksum = CRC32; ERROR HY000: The system variable binlog_checksum cannot be set when there is an ongoing transaction. COMMIT; XA START 'trx1'; SET @@global.binlog_checksum = CRC32; ERROR HY000: The system variable binlog_checksum cannot be set when there is an ongoing transaction. XA END 'trx1'; XA ROLLBACK 'trx1'; # # Check that changing binlog_checksum if the session owns # a GTID is not allowed. # SET GLOBAL GTID_MODE=OFF_PERMISSIVE; SET GLOBAL GTID_MODE=ON_PERMISSIVE; SET GLOBAL ENFORCE_GTID_CONSISTENCY=ON; SET GLOBAL GTID_MODE=ON; SET SESSION GTID_NEXT='11111111-AAAA-2222-BBBB-000000000000:5'; SET @@global.binlog_checksum = CRC32; ERROR HY000: Variable binlog_checksum cannot be changed by a client that owns a GTID. The client owns 11111111-aaaa-2222-bbbb-000000000000:5. Ownership is released on COMMIT or ROLLBACK. SET SESSION GTID_NEXT='AUTOMATIC'; SET GLOBAL GTID_MODE=ON_PERMISSIVE; SET GLOBAL GTID_MODE=OFF_PERMISSIVE; SET GLOBAL ENFORCE_GTID_CONSISTENCY=OFF; SET GLOBAL GTID_MODE=OFF; set @@global.binlog_checksum = @save_binlog_checksum;