| 1 |
--source include/galera_cluster.inc |
| 2 |
|
| 3 |
# Save original auto_increment_offset values. |
| 4 |
--let $node_1=node_1 |
| 5 |
--let $node_2=node_2 |
| 6 |
--source include/auto_increment_offset_save.inc |
| 7 |
|
| 8 |
--connection node_2 |
| 9 |
CREATE TABLE t3 (c1 INTEGER NOT NULL PRIMARY KEY, c2 FLOAT(3,2)); |
| 10 |
SET GLOBAL wsrep_provider_options = 'repl.max_ws_size=512'; |
| 11 |
SET @@autocommit=0; |
| 12 |
INSERT INTO t3 VALUES (1000,0.00),(1001,0.25),(1002,0.50),(1003,0.75),(1008,1.00),(1009,1.25),(1010,1.50),(1011,1.75); |
| 13 |
--error ER_UNKNOWN_ERROR |
| 14 |
CREATE TABLE t1 ( pk int primary key) ENGINE=INNODB; |
| 15 |
SHOW WARNINGS; |
| 16 |
|
| 17 |
--connection node_2 |
| 18 |
SET SESSION wsrep_sync_wait = 0; |
| 19 |
--source include/kill_galera.inc |
| 20 |
|
| 21 |
--let $start_mysqld_params = |
| 22 |
--let $_expect_file_name= $MYSQLTEST_VARDIR/tmp/mysqld.2.expect |
| 23 |
--source include/start_mysqld.inc |
| 24 |
|
| 25 |
# |
| 26 |
# Cleanup |
| 27 |
# |
| 28 |
--source ../../galera/include/auto_increment_offset_restore.inc |
| 29 |
--connection node_1 |
| 30 |
DROP TABLE t3; |