Bug #39660 | Before Trigger in combination with NOT NULL behaves wrong | ||
---|---|---|---|
Submitted: | 26 Sep 2008 8:13 | Modified: | 26 Sep 2008 8:55 |
Reporter: | Susanne Ebrecht | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: Stored Routines | Severity: | S2 (Serious) |
Version: | 5.1 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[26 Sep 2008 8:13]
Susanne Ebrecht
[26 Sep 2008 8:55]
Susanne Ebrecht
This is a duplicate of bug #6295.
[2 Jan 2009 16:45]
Olav Schettler
I have also encountered this annoying bug on my server version: 5.0.51a. My application introduces a new field "created INT(11) NOT NULL". My before-trigger to update this field does not fire because the legacy application that runs on the same data does a "SET created = NULL" and thus throws an error.