| Server IP : 45.40.142.9 / Your IP : 216.73.216.250 Web Server : Apache System : Linux s45-40-142-9.secureserver.net 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 User : bayspec ( 506) PHP Version : 5.6.40 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/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