mariadb/mysql-test/suite/sql_sequence/temporary.test

17 lines
276 B
Text
Raw Normal View History

--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;