config root man

Current Path : /usr/opt/mysql57/mysql-test/suite/group_replication/t/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/opt/mysql57/mysql-test/suite/group_replication/t/gr_collations_key_conflict.test

##############################################################################
# This test checks that keys that are considered the same under a collation do
# not pass certification as being different keys.
#
# The default mysql-5.7 collation is latin1, so gr_collations_key_conflict
# test and result files, which were using utf8 encoding, also have been
# converted to latin1 collation, to avoid changing the default server collation
# value.
#
# 0. 2 Server with running GR
# 1. Create a table with collation latin1
# 2. Execute in concurrency transaction with equivalent keys under latin1
# 3. Cleanup
##############################################################################

--source include/have_debug_sync.inc
--source ../inc/have_group_replication_plugin.inc
--source ../inc/group_replication.inc

--echo
--echo ###########################
--echo # Create a table on server1
--let $rpl_connection_name= server1
--source include/rpl_connection.inc

CREATE TABLE t1 (
  u_str VARCHAR(32) NOT NULL,
  value VARCHAR(32) NOT NULL,
  PRIMARY KEY (u_str)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--source include/rpl_sync.inc

--echo
--echo ######################################################################
--echo # Execute in concurrency transaction with equivalent keys under latin1
--let $local_server_connection1=server_1
--let $local_server_connection2=server1
--let $remote_server_connection=server2
--let $local_transaction= INSERT INTO t1 (u_str, value)  VALUES ('Ã',  "A value");
--let $remote_transaction=INSERT INTO t1 (u_str, value)  VALUES ('á',  "Another value");
--let $conflict_test=1
--source ../inc/gr_parallel_local_and_remote_transactions.inc

--echo
--echo ###########
--echo # Clean up.
DROP TABLE t1;

--source ../inc/group_replication_end.inc

Man Man