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, 3/5

Task 3:
Added an additional condition for SEQUENCE option to check if cache < 0.
This commit is contained in:
Rucha Deodhar
2022-03-28 15:12:33 +05:30
parent 0b9842a3e7
commit c6eeacd10f
3 changed files with 8 additions and 1 deletions

View File

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