Skip to content

Commit 4d73705

Browse files
author
Shlomi Noach
committed
Always use NO_AUTO_VALUE_ON_ZERO
1 parent d6c6508 commit 4d73705

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
drop table if exists gh_ost_test;
2+
create table gh_ost_test (
3+
id int auto_increment,
4+
i int not null,
5+
primary key(id)
6+
) auto_increment=1;
7+
8+
set session sql_mode='NO_AUTO_VALUE_ON_ZERO';
9+
insert into gh_ost_test values (0, 23);

0 commit comments

Comments
 (0)