Details
-
Type:
Bug
-
Status: Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 5.1.67, 5.2.14, 5.3.12, 10.1, 10.0, 5.5
-
Fix Version/s: 10.1
-
Component/s: Admin statements
-
Environment:Ubuntu 14.04
Description
I would imagine DROP SERVER IF EXISTS is supposed to return a warning if the server does not exist, as do all the other "IF EXISTS" DROP statements. However, no warning appears.
DROP SERVER server_1; ERROR 1477 (HY000): The foreign server name you are trying to reference does not exist. Data source error: server_1 DROP SERVER IF EXISTS server_1; Query OK, 0 rows affected (0.00 sec)
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
Same in MySQL.
Do you feel like creating a bug report at bugs.mysql.com? (I haven't found one about it)