mirror of
https://github.com/MariaDB/server.git
synced 2025-05-11 13:21:44 +03:00
- 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.
13 lines
315 B
Plaintext
13 lines
315 B
Plaintext
#
|
|
# 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;
|