mirror of
https://github.com/MariaDB/server.git
synced 2025-05-25 13:42:52 +03:00
23 lines
615 B
Plaintext
23 lines
615 B
Plaintext
--source include/have_udf.inc
|
|
--source include/have_log_bin.inc
|
|
--source include/binlog_start_pos.inc
|
|
|
|
#
|
|
# Testing binary logging of sequences
|
|
#
|
|
|
|
--disable_query_log
|
|
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;
|
|
drop sequence s1;
|
|
|
|
--let $binlog_file = LAST
|
|
source include/show_binlog_events.inc;
|