Details
-
Task
-
Status: Open (View Workflow)
-
Trivial
-
Resolution: Unresolved
-
None
Description
change_user command should be reflected in the MTR output the same way as connection changes. It can be put under the same enable_connect_log condition, which is ON by default nowadays, or even be made unconditional.
CREATE USER foo; |
--connect (con1,localhost,root,,)
|
SELECT CURRENT_USER(); |
--change_user foo
|
SELECT CURRENT_USER(); |
--disconnect con1
|
--connection default
|
DROP USER foo; |
main ab468e33aff110b44a31ce0350894906ff4bc757 |
CREATE USER foo; |
connect con1,localhost,root,,; |
SELECT CURRENT_USER(); |
CURRENT_USER() |
root@localhost
|
<-- HERE we should have the extra record--> |
SELECT CURRENT_USER(); |
CURRENT_USER() |
foo@%
|
disconnect con1;
|
connection default; |
DROP USER foo; |
So, the record should be at "<-- HERE we should have the extra record-->".