Debian Codegraph @

mysql-test/suite/galera/t/galera_sequence_engine.test

raw
1 --source include/galera_cluster.inc
2 --source include/have_sequence.inc
3
4 --connection node_2
5 let $restore_wsrep_ignore_apply_errors=`SELECT @@GLOBAL.wsrep_ignore_apply_errors`;
6 SET GLOBAL wsrep_ignore_apply_errors=0;
7
8 --connect node_2a, 127.0.0.1, root, , test, $NODE_MYPORT_2
9 --connection node_2a
10 SET SESSION wsrep_sync_wait=0;
11 SET GLOBAL wsrep_ignore_apply_errors=0;
12 SET SESSION AUTOCOMMIT=0;
13 SET SESSION max_error_count=0;
14 --error ER_NOT_SUPPORTED_YET
15 CREATE TABLE t0 (id GEOMETRY,parent_id GEOMETRY)ENGINE=SEQUENCE;
16
17 --connection node_2
18 --error ER_NO_SUCH_TABLE
19 SHOW CREATE TABLE t0;
20
21 --disable_query_log
22 --eval SET GLOBAL wsrep_ignore_apply_errors=$restore_wsrep_ignore_apply_errors
23 --enable_query_log
24
25 --disconnect node_2a