mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +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:
12
mysql-test/suite/sql_sequence/temporary.result
Normal file
12
mysql-test/suite/sql_sequence/temporary.result
Normal file
@ -0,0 +1,12 @@
|
||||
#
|
||||
# Create
|
||||
#
|
||||
create temporary sequence s1 engine=innodb;
|
||||
alter table s1 engine myisam;
|
||||
select nextval(s1);
|
||||
nextval(s1)
|
||||
1
|
||||
select * from s1;
|
||||
next_not_cached_value minimum_value maximum_value start_value increment cache_size cycle_option cycle_count
|
||||
1001 1 9223372036854775806 1 1 1000 0 0
|
||||
drop temporary sequence s1;
|
Reference in New Issue
Block a user