mariadb/mysql-test/main/change_user_notembedded.result
Fariha Shaikh 212fad1b7e MDEV-36397 Record change_user command in MTR output
MTR .result files currently do not contain output to indicate if a
change_user command has been executed in the corresponding .test files.

Record change_user command in the following format in MTR output only if
disable_query_log is set to false: change_user <user>,<password>,<db>;

All new code of the whole pull request, including one or several files
that are either new files or modified ones, are contributed under the
BSD-new license. I am contributing on behalf of my employer Amazon Web
Services, Inc.
2025-06-23 20:38:36 +02:00

33 lines
905 B
Text

connect test,localhost,root,,;
connection test;
change_user foo,bar,;
ERROR 28000: Access denied for user 'foo'@'localhost' (using password: YES)
change_user foo,,;
ERROR 28000: Access denied for user 'foo'@'localhost' (using password: NO)
change_user root,,test;
change_user foo,bar,;
ERROR 28000: Access denied for user 'foo'@'localhost' (using password: YES)
change_user foo,bar,;
ERROR 08S01: Unknown command
change_user root,,test;
ERROR 08S01: Unknown command
disconnect test;
connection default;
# End of 10.0 tests
#
# MDEV-36405 Session tracking does not report changes from COM_CHANGE_USER
#
change_user
change_user root,,test;
-- Tracker : SESSION_TRACK_SYSTEM_VARIABLES
-- autocommit: ON
-- character_set_client: latin1
-- character_set_connection: latin1
-- character_set_results: latin1
-- redirect_url:
-- time_zone: SYSTEM
-- Tracker : SESSION_TRACK_SCHEMA
-- test
# End of 12.0 tests