mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fixed sequences based on comments from Peter Gulutzan and Andrii Nikitin
- Changed names of SEQUENCE table columns to be more close to ANSI - Fixed error message for SHOW SEQUENCE non_existing_sequence - Allow syntax CACHE +1 - Fixed ALTER TABLE for TEMPORARY sequences.
This commit is contained in:
@ -11,10 +11,10 @@ reset master; # get rid of previous tests binlog
|
||||
--enable_query_log
|
||||
|
||||
create or replace sequence s1 cache 3;
|
||||
select next value for s1, min_value from s1 where max_value> 1;
|
||||
select next value for s1, min_value from s1 where max_value> 2;
|
||||
select next value for s1, min_value from s1 where max_value> 3;
|
||||
select next value for s1, min_value from s1 where max_value> 4;
|
||||
select next value for s1, minimum_value from s1 where maximum_value> 1;
|
||||
select next value for s1, minimum_value from s1 where maximum_value> 2;
|
||||
select next value for s1, minimum_value from s1 where maximum_value> 3;
|
||||
select next value for s1, minimum_value from s1 where maximum_value> 4;
|
||||
|
||||
#
|
||||
# Alter sequence
|
||||
|
Reference in New Issue
Block a user