Server IP : 104.21.38.3 / Your IP : 172.68.164.105 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/innodb/r/ |
Upload File : |
call mtr.add_suppression("\\[ERROR\\] InnoDB: table .* does not exist " "in the InnoDB internal"); call mtr.add_suppression("Found .* prepared XA transactions"); set global innodb_file_per_table = off; create temporary table t1 (i int) engine=innodb; create table t2 (i int) engine=innodb; insert into t2 values (301); xa start 'tx2'; insert into t1 values (2), (3); insert into t2 values (202), (303); select * from t1; i 2 3 select * from t2; i 301 202 303 xa end 'tx2'; set session debug="+d,ib_trx_crash_during_xa_prepare_step"; xa prepare 'tx2'; ERROR HY000: Lost connection to MySQL server during query select * from t2; i 301 drop table t2; use test; create temporary table t1 (a int, b char(100), c char(100)) engine = innodb; create table t2 (a int, b char(100), c char(100)) engine = innodb; create procedure populate_t1_t2() begin declare i int default 1; while (i <= 50) DO insert into t1 values (i, 'a', 'b'); insert into t2 values (i, 'a', 'b'); set i = i + 1; end while; end| call populate_t1_t2; begin; call populate_t1_t2(); update t1 set a = a + 1; update t2 set a = a + 1; select count(*) from t1; count(*) 100 select count(*) from t2; count(*) 100 set session debug="+d,ib_trx_crash_during_commit"; commit; ERROR HY000: Lost connection to MySQL server during query select count(*) from t2; count(*) 50 drop table t2; drop procedure populate_t1_t2; # restart: --innodb_rollback_segments=1 create table t (i int) engine=innodb; insert into t values (1); insert into t values (2); create temporary table t2 (i int) engine=innodb; insert into t values (1); insert into t values (2); drop table t; drop table t2; create procedure populate_t1_t2() begin declare i int default 1; while (i <= 100) DO insert into t1 values (i, 'a', 'b'); insert into t2 values (i, 'a', 'b'); set i = i + 1; end while; end| create table t2 (a int, b char(100), c char(100)) engine = innodb; create temporary table t1 (a int, b char(100), c char(100)) engine = innodb; call populate_t1_t2(); select count(*) from t1; count(*) 100 drop table t1; create temporary table t1 (a int, b char(100), c char(100)) engine = innodb; call populate_t1_t2(); commit; select count(*) from t1; count(*) 100 drop table t1; drop table t2; drop procedure populate_t1_t2; # restart: --innodb_rollback_segments=10 create table t (i int) engine=innodb; insert into t values (1); insert into t values (2); create temporary table t2 (i int) engine=innodb; insert into t values (1); insert into t values (2); drop table t; drop table t2; # restart: --innodb_rollback_segments=40 create table t (i int) engine=innodb; insert into t values (1); insert into t values (2); insert into t values (2); insert into t values (2); insert into t values (2); create temporary table t2 (i int) engine=innodb; insert into t values (1); insert into t values (2); insert into t values (2); insert into t values (2); insert into t values (2); insert into t values (2); drop table t; drop table t2;