1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

Bug #12917164 DROP USER CAN'T DROP USERS WITH LEGACY

UPPER CASE HOST NAME ANYMORE
Merging from mysql-5.1 to mysql-5.5
This commit is contained in:
Venkata Sidagam
2013-10-31 23:14:33 +05:30
2 changed files with 5 additions and 4 deletions

View File

@ -652,6 +652,8 @@ INSERT INTO tmp_proxies_priv VALUES ('localhost', 'root', '', '', TRUE, '', now(
INSERT INTO proxies_priv SELECT * FROM tmp_proxies_priv WHERE @had_proxies_priv_table=0;
DROP TABLE tmp_proxies_priv;
# Convering the host name to lower case for existing users
UPDATE user SET host=LOWER( host ) WHERE LOWER( host ) <> host;
# Activate the new, possible modified privilege tables
# This should not be needed, but gives us some extra testing that the above