Server IP : 104.21.38.3 / Your IP : 162.158.190.81 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/perfschema/t/ |
Upload File : |
# Tests for PERFORMANCE_SCHEMA table io # Show the impact of a rollback in case of the transactional engine InnoDB # Setup --source include/not_embedded.inc --source include/have_perfschema.inc --source include/have_innodb.inc --disable_warnings drop table if exists test.t1; --enable_warnings let $engine_type= InnoDB; eval create table test.t1 (col1 bigint, col2 varchar(30)) engine = $engine_type; show create table test.t1; insert into test.t1 values(1,'One'); --source ../include/table_io_setup_helper.inc let $schema_to_dump= 'test'; # Start recording of events update performance_schema.setup_consumers set enabled = 'YES'; set autocommit = off; # Code to test delete from test.t1 where col1 = 1; insert into marker set a = 1; rollback; insert into marker set a = 1; update test.t1 set col2 = 'Updated' where col1 = 1; insert into marker set a = 1; rollback; insert into marker set a = 1; insert into test.t1 values(2,'Two'); insert into marker set a = 1; rollback; # Stop recording of events + pull results --source ../include/table_io_result_helper.inc # Cleanup drop table test.t1; --source ../include/table_io_cleanup_helper.inc