[MDEV-7579] Create a method to disable triggers Created: 2015-02-13 Updated: 2016-12-22 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Triggers |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major |
| Reporter: | Geoff Montee (Inactive) | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 9 |
| Labels: | Compatibility | ||
| Description |
|
Currently, there is no easy way to temporarily disable triggers. This is important for some users. It might be a good idea to have some (maybe not all?) of the following: Temporarily disable all triggers on a particular table:
Re-enable the triggers:
Disable a particular trigger on a table:
Re-enable it:
Disable triggers for a particular user:
Disable all triggers for current session (maybe requires superuser privileges?):
|
| Comments |
| Comment by Ian Gilfillan [ 2016-02-17 ] |
|
Very useful, suggesting it for 10.2 |