1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-13005: Fixing bugs in SEQUENCE, part 3, 2/5

Task 2:
changed the error message and made it more reusable.
This commit is contained in:
Rucha Deodhar
2022-03-28 15:08:25 +05:30
parent bb4dd70e7c
commit 0b9842a3e7
8 changed files with 30 additions and 23 deletions

View File

@ -53,7 +53,7 @@ next value for s1
drop sequence s1;
CREATE SEQUENCE t1;
alter sequence t1 minvalue=100;
ERROR HY000: Sequence 'test.t1' values are conflicting
ERROR HY000: Sequence 'test.t1' has out of range value for options
alter sequence t1 minvalue=100 start=100 restart=100;
rename table t1 to t2;
select next value for t2;