Always use NO_AUTO_VALUE_ON_ZERO

This commit is contained in:
Shlomi Noach 2019-03-24 11:32:37 +02:00
parent d6c650837f
commit 4d7370529b
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
drop table if exists gh_ost_test;
create table gh_ost_test (
id int auto_increment,
i int not null,
primary key(id)
) auto_increment=1;
set session sql_mode='NO_AUTO_VALUE_ON_ZERO';
insert into gh_ost_test values (0, 23);