diff --git a/localtests/bigint-change-nullable/create.sql b/localtests/bigint-change-nullable/create.sql new file mode 100644 index 0000000..f4f0548 --- /dev/null +++ b/localtests/bigint-change-nullable/create.sql @@ -0,0 +1,21 @@ +drop table if exists gh_ost_test; +create table gh_ost_test ( + id bigint auto_increment, + val bigint not null, + primary key(id) +) auto_increment=1; + +drop event if exists gh_ost_test; +delimiter ;; +create event gh_ost_test + on schedule every 1 second + starts current_timestamp + ends current_timestamp + interval 60 second + on completion not preserve + enable + do +begin + insert into gh_ost_test values (null, 18446744073709551615); + insert into gh_ost_test values (null, 18446744073709551614); + insert into gh_ost_test values (null, 18446744073709551613); +end ;; diff --git a/localtests/bigint-change-nullable/extra_args b/localtests/bigint-change-nullable/extra_args new file mode 100644 index 0000000..784d522 --- /dev/null +++ b/localtests/bigint-change-nullable/extra_args @@ -0,0 +1 @@ +--alter="change val val bigint"