Skip to content

Commit 86d8cf4

Browse files
author
Shlomi Noach
authored
Merge pull request #692 from github/bigint-change-nullable
Testing nullable int
2 parents c6eb8db + 6894916 commit 86d8cf4

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
drop table if exists gh_ost_test;
2+
create table gh_ost_test (
3+
id bigint auto_increment,
4+
val bigint not null,
5+
primary key(id)
6+
) auto_increment=1;
7+
8+
drop event if exists gh_ost_test;
9+
delimiter ;;
10+
create event gh_ost_test
11+
on schedule every 1 second
12+
starts current_timestamp
13+
ends current_timestamp + interval 60 second
14+
on completion not preserve
15+
enable
16+
do
17+
begin
18+
insert into gh_ost_test values (null, 18446744073709551615);
19+
insert into gh_ost_test values (null, 18446744073709551614);
20+
insert into gh_ost_test values (null, 18446744073709551613);
21+
end ;;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
--alter="change val val bigint"

0 commit comments

Comments
 (0)