Bug #8751 | Triggers: Allowed to create triggers on a subject table in a different DB. | ||
---|---|---|---|
Submitted: | 23 Feb 2005 22:28 | Modified: | 20 Jul 2005 15:45 |
Reporter: | Disha | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S4 (Feature request) |
Version: | 5.0.2 | OS: | Windows (Windows 2003) |
Assigned to: | Antony Curtis | CPU Architecture: | Any |
[23 Feb 2005 22:28]
Disha
[23 Feb 2005 23:01]
Disha
Changing the severity
[24 Feb 2005 9:29]
Disha
Updated the Synopsis.
[24 Feb 2005 12:45]
Alexander Keremidarski
>Expected Result >The creation of a trigger having subject table in different database should fail >with an appropriate error >Actual Result >The trigger creation completes successfully without any errors Why so? Note that current TRIGGER implementation in 5.0 is rudimentary as MySQL Manual explains. Their behaviour may change in the future.
[24 Feb 2005 23:41]
Omer Barnir
Worlog #1218 includes the following: ON <table name>: : -- The table and the trigger must be in the same schema/database. : so based on the above, this is a bug.
[25 Feb 2005 21:13]
Sergei Golubchik
let's think about it first. I would not call this behaviour a bug.
[1 Jun 2005 19:25]
Brian Aker
We will fix this in 5.1
[3 Jul 2005 18:42]
Antony Curtis
See Bug#5892
[19 Jul 2005 20:39]
Dmitry Lenev
Fixed in 5.0.10
[20 Jul 2005 15:45]
Mike Hillyer
Documented in 5.0.10 changelog.