[MDEV-8818] Sometimes triggers are not invoked by LOAD DATA Created: 2015-09-19 Updated: 2015-10-19 Resolved: 2015-10-19 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Triggers |
| Affects Version/s: | 10.0.21, 10.0.21-galera |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Critical |
| Reporter: | Federico Razzoli | Assignee: | Unassigned |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | need_feedback | ||
| Description |
|
In MySQL docs: https://dev.mysql.com/doc/refman/5.6/en/create-trigger.html I read: In MariaDB, it doesn't seem to be always the case. I didn't try all types of triggers, or all versions, or MySQL. But see this test case.
|
| Comments |
| Comment by Federico Razzoli [ 2015-09-20 ] | |||||||||||||||||||||||||||||||||||||||||||||||
|
With BEFORE INSERT, the test case works as expected. | |||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2015-09-20 ] | |||||||||||||||||||||||||||||||||||||||||||||||
|
Works for me.
f_razzoli, could it be that when it failed for you, you ran the client without --local-infile, and the LOAD just did not work? Thanks. | |||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2015-10-19 ] | |||||||||||||||||||||||||||||||||||||||||||||||
|
Closing as "Cannot reproduce" for now; if you have more information, please comment to re-open the report. |