gh-ost/localtests/autoinc-zero-value/create.sql

10 lines
229 B
MySQL
Raw Normal View History

2019-03-24 09:32:37 +00:00
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);