Commit f7a645c9 authored by Bjorn Munch's avatar Bjorn Munch

Bug #45120 Fix of 44922 caused regression in funcs_1.processlist_priv_no_prot

Protected '' in connect command with ""
parent d07bef15
...@@ -212,7 +212,7 @@ GRANT PROCESS ON *.* TO ''@'localhost'; ...@@ -212,7 +212,7 @@ GRANT PROCESS ON *.* TO ''@'localhost';
--echo anonymous user with PROCESS privilege --echo anonymous user with PROCESS privilege
--echo SHOW/SELECT shows all processes/threads. --echo SHOW/SELECT shows all processes/threads.
--echo #################################################################################### --echo ####################################################################################
connect (anonymous1,localhost,'',,information_schema); connect (anonymous1,localhost,"''",,information_schema);
SHOW GRANTS; SHOW GRANTS;
--replace_column 1 ID 3 HOST_NAME 6 TIME --replace_column 1 ID 3 HOST_NAME 6 TIME
SHOW processlist; SHOW processlist;
...@@ -253,7 +253,7 @@ REVOKE PROCESS ON *.* FROM ''@'localhost'; ...@@ -253,7 +253,7 @@ REVOKE PROCESS ON *.* FROM ''@'localhost';
--echo #################################################################################### --echo ####################################################################################
--echo 7.1 New connection (anonymous2,localhost,'',,information_schema) --echo 7.1 New connection (anonymous2,localhost,'',,information_schema)
connect (anonymous2,localhost,'',,information_schema); connect (anonymous2,localhost,"''",,information_schema);
--echo The anonymous user has no more the PROCESS privilege --echo The anonymous user has no more the PROCESS privilege
--echo Again only the processes of the anonymous user are visible. --echo Again only the processes of the anonymous user are visible.
--echo #################################################################################### --echo ####################################################################################
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment