1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

galera_sequences test: post-fix after MDEV-33245

This commit is contained in:
Julius Goryavsky
2025-01-28 03:29:16 +01:00
parent eb1811c2ce
commit dd5dc92a19
2 changed files with 1 additions and 7 deletions

View File

@@ -249,13 +249,10 @@ CREATE SEQUENCE t INCREMENT BY 0 CACHE=20 ENGINE=INNODB;
ALTER TABLE t ENGINE=MYISAM; ALTER TABLE t ENGINE=MYISAM;
ERROR 42000: This version of MariaDB doesn't yet support 'non-InnoDB sequences in Galera cluster' ERROR 42000: This version of MariaDB doesn't yet support 'non-InnoDB sequences in Galera cluster'
ALTER SEQUENCE t INCREMENT BY 1 CACHE=10; ALTER SEQUENCE t INCREMENT BY 1 CACHE=10;
ERROR 42000: This version of MariaDB doesn't yet support 'non-InnoDB sequences in Galera cluster' ERROR 42000: This version of MariaDB doesn't yet support 'CACHE without INCREMENT BY 0 in Galera cluster'
ALTER SEQUENCE t INCREMENT BY 1 NOCACHE; ALTER SEQUENCE t INCREMENT BY 1 NOCACHE;
ERROR 42000: This version of MariaDB doesn't yet support 'non-InnoDB sequences in Galera cluster'
ALTER SEQUENCE t INCREMENT BY 0 NOCACHE; ALTER SEQUENCE t INCREMENT BY 0 NOCACHE;
ERROR 42000: This version of MariaDB doesn't yet support 'non-InnoDB sequences in Galera cluster'
ALTER SEQUENCE t INCREMENT BY 0 CACHE=10; ALTER SEQUENCE t INCREMENT BY 0 CACHE=10;
ERROR 42000: This version of MariaDB doesn't yet support 'non-InnoDB sequences in Galera cluster'
DROP SEQUENCE t; DROP SEQUENCE t;
CREATE SEQUENCE t INCREMENT BY 0 CACHE=20 ENGINE=INNODB; CREATE SEQUENCE t INCREMENT BY 0 CACHE=20 ENGINE=INNODB;
CREATE TABLE t1(a int not null primary key default nextval(t), b int) engine=innodb; CREATE TABLE t1(a int not null primary key default nextval(t), b int) engine=innodb;

View File

@@ -284,11 +284,8 @@ CREATE SEQUENCE t INCREMENT BY 0 CACHE=20 ENGINE=INNODB;
ALTER TABLE t ENGINE=MYISAM; ALTER TABLE t ENGINE=MYISAM;
--error ER_NOT_SUPPORTED_YET --error ER_NOT_SUPPORTED_YET
ALTER SEQUENCE t INCREMENT BY 1 CACHE=10; ALTER SEQUENCE t INCREMENT BY 1 CACHE=10;
--error ER_NOT_SUPPORTED_YET
ALTER SEQUENCE t INCREMENT BY 1 NOCACHE; ALTER SEQUENCE t INCREMENT BY 1 NOCACHE;
--error ER_NOT_SUPPORTED_YET
ALTER SEQUENCE t INCREMENT BY 0 NOCACHE; ALTER SEQUENCE t INCREMENT BY 0 NOCACHE;
--error ER_NOT_SUPPORTED_YET
ALTER SEQUENCE t INCREMENT BY 0 CACHE=10; ALTER SEQUENCE t INCREMENT BY 0 CACHE=10;
DROP SEQUENCE t; DROP SEQUENCE t;