Server IP : 172.67.216.182 / Your IP : 172.71.81.233 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/binlog/t/ |
Upload File : |
--source include/have_binlog_format_mixed.inc --source include/have_gtid.inc --source include/have_debug.inc # BUG#19667258: WL#6972 - SERVER CRASH ON SET SESSION SESSION_TRACK_GTIDS='OFF' # This test file is configured to start the server with: # # --session_track_gtids='ALL_GTIDS' # # Then we are looking to assert the following: # - Verify that the following statements include # GTID data in the OK packet immediately after start # the server starts up. # - Verify that every transition includes the expected # GTID data in the OK packet. --enable_session_track_info --echo # ALL_GTIDS at startup: this must return GTID:1 CREATE TABLE t1 (c1 INT) Engine=InnoDB; --echo # ALL_GTIDS at startup: this must return GTID:1-2 DROP TABLE t1; --disable_session_track_info --let $i=3 while($i) { if ($i==3) { --let $from=ALL_GTIDS } if ($i==2) { --let $from=OWN_GTID } if ($i==1) { --let $from=OFF } --let $text= this must return '' if (`SELECT '$from' = 'ALL_GTIDS'`) { --let $text= this must return GTID:1-2 } --echo ## $from -> ALL_GTIDS : $text ## --eval SET SESSION session_track_gtids='$from' --enable_session_track_info SET SESSION session_track_gtids='ALL_GTIDS'; --disable_session_track_info --echo ## $from -> OWN_GTID: $text ## --eval SET SESSION session_track_gtids='$from' --enable_session_track_info SET SESSION session_track_gtids='OWN_GTID'; --disable_session_track_info --echo ## $from -> OFF : $text ## --eval SET SESSION session_track_gtids='$from' --enable_session_track_info SET SESSION session_track_gtids='OFF'; --disable_session_track_info --dec $i }