1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

cleanup: tests

sequence tests verify that one cannot change the structure
of the table. for that they need a valid alter table that
adds an index over an existing column. there's no column 'start'
in the table
This commit is contained in:
Sergei Golubchik
2022-07-29 12:39:37 +02:00
committed by Oleksandr Byelkin
parent 1c192843f2
commit 4ce1470a70
7 changed files with 101 additions and 76 deletions

View File

@@ -70,7 +70,7 @@ create sequence s2;
alter table s2 add id int;
--error ER_SEQUENCE_INVALID_TABLE_STRUCTURE
alter table s2 add index ind_x(start);
alter table s2 add index ind_x(start_value);
drop sequence s2;
--echo ###########################################