| 1 |
--source include/galera_cluster.inc |
| 2 |
--source include/have_innodb.inc |
| 3 |
--source include/have_debug.inc |
| 4 |
--source include/have_debug_sync.inc |
| 5 |
|
| 6 |
# |
| 7 |
# Testing how tables and databases with special characters |
| 8 |
# are treated in certification |
| 9 |
# |
| 10 |
# The test creates two tables having foreign key constraint |
| 11 |
# reference and executes two transactions which modify |
| 12 |
# same rows. The same test is executed with different names |
| 13 |
# containin special characters to see if the certification |
| 14 |
# can detect the conflicts |
| 15 |
# |
| 16 |
# Actual test is in include file galera_table_with_hyphen.inc |
| 17 |
# It create the test tables from parameters $fk_child and |
| 18 |
# $fk_parent |
| 19 |
# |
| 20 |
--connection node_1 |
| 21 |
set wsrep_sync_wait=0; |
| 22 |
|
| 23 |
--connect node_1a, 127.0.0.1, root, , test, $NODE_MYPORT_1 |
| 24 |
SET SESSION wsrep_sync_wait = 0; |
| 25 |
|
| 26 |
--let $fk_child = child |
| 27 |
--let $fk_parent = par-ent |
| 28 |
|
| 29 |
--source galera_table_with_hyphen.inc |
| 30 |
|
| 31 |
--let $fk_child = c-hild |
| 32 |
--let $fk_parent = p-arent- |
| 33 |
|
| 34 |
--source galera_table_with_hyphen.inc |