Details
-
Type:
Bug
-
Status: Open (View Workflow)
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Component/s: Scripts & Clients
-
Labels:None
Description
DELIMITER |
|
/*M!100101 IF current_user()="'root'@'localhost'" THEN
|
SIGNAL SQLSTATE '45000' SET MYSQL_ERRNO=30001, MESSAGE_TEXT="Don't remove current user 'root'@'localhost''";
|
END IF */|
|
This isn't quite right, the quoting in the string literal quoting is too much. current_user is just 'root@localhost' rather than the quoted form.