Debian Codegraph @

mysql-test/suite/perfschema/t/part_table_io.test

raw
1 # Tests for PERFORMANCE_SCHEMA table io
2
3 --source ../include/table_io_setup_helper.inc
4
5 let $engine_type= InnoDB;
6 let $table_item= test.no_index_tab;
7 --disable_warnings
8 eval drop table if exists $table_item;
9 --enable_warnings
10
11 # Start recording events
12 update performance_schema.setup_consumers set enabled='YES';
13 insert into marker set a = 1;
14 eval create table $table_item
15 ( a varchar(255) not null, b int not null) engine = $engine_type
16 PARTITION BY KEY (b) PARTITIONS 2;
17 insert into marker set a = 1;
18 eval show create table $table_item;
19 --source ../include/table_io_basic_dml.inc
20 eval drop table $table_item;
21
22 # Stop recording events + pull result
23 --source ../include/table_io_result_helper.inc
24
25 # Cleanup
26 --source ../include/table_io_cleanup_helper.inc