Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
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.
Attachments
Issue Links
- is duplicated by
-
MDEV-42117 mariadb-dump current-user guard compares incompatible account representations and cannot fire
-
- Closed
-