| 1 |
# |
| 2 |
# Bug#25609945: GR SHOULD BLOCK OPERATIONS ON NON-COMPLAINT TABLES IN GR+ASYNC SETUP |
| 3 |
# Bug#25828806: GR ALLOWS OPERATIONS ON NON-COMPLAINT TABLES THROUGH MYSQLBINLOG |
| 4 |
# |
| 5 |
# This test verifies that statements which does not obey GR requirements: |
| 6 |
# - tables having no primary keys |
| 7 |
# - tables using non-innodb storage engine |
| 8 |
# - tables with foreign key with cascade clause |
| 9 |
# are not allowed to be applied on the slave, running group replication, |
| 10 |
# through row based asynchronous replication. |
| 11 |
|
| 12 |
|
| 13 |
--let $rpl_binlog_format=ROW |
| 14 |
--let $slave_sql_errno=convert_error(ER_APPLIER_LOG_EVENT_VALIDATION_ERROR) |
| 15 |
--let $slave_sql_error= The table in transaction .*:.* does not comply with the requirements by an external plugin |
| 16 |
--let $rpl_error_log= $MYSQLTEST_VARDIR/tmp/gr_rbr_verifications.err |
| 17 |
--let $gr_test_name= gr_rbr_verifications |
| 18 |
|
| 19 |
--source ../include/gr_binlog_events_verifications.test |