1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-9428 NO_AUTO_VALUE_ON_ZERO is ignored when a trigger before insert is defined

fix the *other* fill_record() too, arrgh!
This commit is contained in:
Sergei Golubchik
2016-06-28 10:10:49 +02:00
parent 9c38308d8f
commit 6ce20fb2b9
3 changed files with 6 additions and 5 deletions

View File

@ -336,7 +336,8 @@ select * from t1;
delete from t1;
create trigger t1_bi before insert on t1 for each row begin end;
insert t1 values (0);
select * from t1;
--error ER_DUP_ENTRY
insert t1 (id) values (0);
drop table t1;
#