[MDEV-5513] Row-based triggers: Trigger is applied to the rows after first one Created: 2014-01-09 Updated: 2014-02-12 Resolved: 2014-02-12 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 10.0.9 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Oleksandr Byelkin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
The test case below creates one trigger (after insert) on the master and another trigger (before insert) on the slave. Here is the result of the test case on slave:
That is, the first row is not updated, while the other two are. Test case:
|
| Comments |
| Comment by Oleksandr Byelkin [ 2014-02-06 ] |
|
Actually the slave should not execute triggers at all because some triggers was executed on the master. |