| 1 |
connection node_2; |
| 2 |
connection node_1; |
| 3 |
connection node_1; |
| 4 |
SET SESSION wsrep_on=OFF; |
| 5 |
SET default_storage_engine=MYISAM; |
| 6 |
CREATE SEQUENCE t; |
| 7 |
SET SESSION wsrep_on=ON; |
| 8 |
CREATE INDEX idx ON t (a); |
| 9 |
ERROR HY000: Sequence 'test.t' table structure is invalid (Sequence tables cannot have any keys) |
| 10 |
DROP SEQUENCE t; |
| 11 |
SET default_storage_engine='MYISAM'; |
| 12 |
CREATE SEQUENCE t INCREMENT BY 0 CACHE=0 ENGINE=InnoDB; |
| 13 |
CREATE INDEX c ON t (c); |
| 14 |
ERROR HY000: Sequence 'test.t' table structure is invalid (Sequence tables cannot have any keys) |
| 15 |
DROP SEQUENCE t; |