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