summaryrefslogtreecommitdiff
path: root/mysql-test/suite/perfschema/t/partition.test
blob: 073a41e92520edc38ceb0660235d0667924a0574 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--source include/have_perfschema.inc

--echo #
--echo # MDEV-10679
--echo # Server crashes in in mysql_create_frm_image upon query from
--echo # performance schema in ps-protocol mode
--echo #

CREATE TABLE t1 (i INT);
--error ER_PARTITION_MGMT_ON_NONPARTITIONED
ALTER TABLE t1 ADD PARTITION (PARTITION p VALUES LESS THAN (1));
--disable_result_log
SELECT * FROM performance_schema.events_stages_summary_by_user_by_event_name;
--enable_result_log
DROP TABLE t1;