mariadb/mysql-test/suite/sql_sequence/temporary.test
Monty 36ae8846ca 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.
2017-06-03 16:08:23 +03:00

16 lines
276 B
Text

--source include/have_sequence.inc
--source include/have_innodb.inc
#
# Test temporary sequences
#
--echo #
--echo # Create
--echo #
create temporary sequence s1 engine=innodb;
alter table s1 engine myisam;
select nextval(s1);
select * from s1;
drop temporary sequence s1;