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

@ -525,3 +525,7 @@ DROP SEQUENCE s1;
--echo # Task 1:
--error ER_UNKNOWN_SEQUENCES
SET @x = PREVIOUS VALUE FOR x;
--echo # Task 2:
--error ER_SEQUENCE_INVALID_DATA
CREATE SEQUENCE x START WITH 1 INCREMENT BY 123456789012345678;