Details
-
Bug
-
Status: Open (View Workflow)
-
Minor
-
Resolution: Unresolved
-
11.1(EOL)
-
None
-
None
Description
Noticed before ttrigger behavior different from Oracle. In Oracle I can fill not null column value during before trigger by setting :new record field. In MariaDB (11.1.2-MariaDB, Win64) I get "Field ... doesn't have a default value" error. To bring back desired behavior I have to modify column to NULL, then I can go into before trigger and the column gets filled.
Wouldn't it be proper to check nulls after "before trigger" has been executed, like Oracle does?