1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +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

@ -698,3 +698,6 @@ ERROR 42S02: Unknown SEQUENCE: 'x'
# Task 2:
CREATE SEQUENCE x START WITH 1 INCREMENT BY 123456789012345678;
ERROR HY000: Sequence 'test.x' has out of range value for options
# Task 3:
CREATE SEQUENCE seq1 START WITH 1 cache -1;
ERROR HY000: Sequence 'test.seq1' has out of range value for options