Debian Codegraph @

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

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