Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 113633

Procedural code automatically executed in response to a database event.

0 votes
1 answer
1k views

MariaDB & MySQL - Trigger not firing: “Field '__' doesn't have a default value” (Old Bug not...

I created a BEFORE INSERT trigger to populate this column when inserting data through the view, but as far as I can tell, the trigger is not firing. … When inserting a record into the view, the DB throws the error: Field 'groupId' doesn't have a default value I’ve tried doing several insert tests on the base table, and it looks like the trigger is …
Yurelle's user avatar
  • 111
0 votes
Accepted

MariaDB & MySQL - Trigger not firing: “Field '__' doesn't have a default value” (Old Bug not...

I opened a ticket with MariaDB. They have confirmed that it's still broken, and it has been put in the backlog to fix it. Update: The ticket has been fixed in MariaDB versions: 10.1.21 & 10.2.4
Yurelle's user avatar
  • 111