Server IP : 172.67.216.182 / Your IP : 172.70.189.26 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/ndb_binlog/t/ |
Upload File : |
--disable_query_log --disable_result_log select @curr_server_epoch:=Variable_value from information_schema.global_status where Variable_name ="ndb_last_commit_epoch_server"; select @curr_session_epoch:=Variable_value from information_schema.global_status where Variable_name ="ndb_last_commit_epoch_session"; # Wait for latest committed transaction to reach binlog show binlog events; --source include/get_ndb_epochs.inc select @binlog_max_epoch:= max(epoch) from mysql.ndb_binlog_index; --enable_result_log select @a:= (@init_server_epoch + 0) >= (@init_session_epoch + 0) as init_server_epoch_includes_session_epoch, @b:= (@curr_server_epoch + 0) >= (@curr_session_epoch + 0) as curr_server_epoch_includes_session_epoch, @c:= (@curr_server_epoch + 0) >= (@init_server_epoch + 0) as server_epoch_does_not_regress, @d:= (@curr_session_epoch + 0) >= (@init_session_epoch + 0) as session_epoch_does_not_regress; select (@binlog_max_epoch+0) = (@curr_session_epoch+0) as binlog_contains_last_session_epoch; --disable_result_log eval select @e:= (($ndb_latest_applied_binlog_epoch + 0) = @binlog_max_epoch); --let $problem=query_get_value("SELECT 5 - (@a+@b+@c+@d+@e) AS p", p, 1) --enable_result_log if ($problem) { --echo Unexpected result. Details : SELECT @init_server_epoch, @init_session_epoch, @curr_server_epoch, @curr_session_epoch; eval select $ndb_latest_applied_binlog_epoch as ndb_latest_applied_binlog_epoch, @binlog_max_epoch; SELECT * FROM mysql.ndb_binlog_index; } --enable_query_log