| 1 |
################################################################################ |
| 2 |
# This test verifies the behavior of the dml opertions in group_replication. |
| 3 |
# Since performance schema tables are not logged in the binary log, they |
| 4 |
# should not be used during the compatibility check for the Group replication. |
| 5 |
# Therefore it should not cause any error during DML operations to tables in |
| 6 |
# the performance schema database. |
| 7 |
# |
| 8 |
# Test: |
| 9 |
# 0. The test requires one server. |
| 10 |
# 1. With a member ONLINE, try executing UPDATE on a P_S table. It should not |
| 11 |
# error out. |
| 12 |
################################################################################ |
| 13 |
|
| 14 |
--source include/have_group_replication_plugin.inc |
| 15 |
--source include/group_replication.inc |
| 16 |
|
| 17 |
--let $rpl_connection_name= server1 |
| 18 |
--source include/rpl_connection.inc |
| 19 |
|
| 20 |
--echo # This should not error out as performance schema tables are not used in the before dml hook process. |
| 21 |
UPDATE performance_schema.setup_instruments SET ENABLED='YES', TIMED='YES' WHERE name='wait/lock/metadata/sql/mdl'; |
| 22 |
|
| 23 |
--source include/group_replication_end.inc |