mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
mysqltest bug: reset --replace command after every
error message (because error messages use replacements)
This commit is contained in:
@@ -7916,6 +7916,7 @@ void handle_error(struct st_command *command,
|
||||
|
||||
DBUG_ENTER("handle_error");
|
||||
|
||||
command->used_replace= 1;
|
||||
if (command->require_file)
|
||||
{
|
||||
/*
|
||||
|
||||
@@ -20,6 +20,7 @@ eval install plugin unix_socket soname '$AUTH_SOCKET_SO';
|
||||
--error ER_ACCESS_DENIED_NO_PASSWORD_ERROR
|
||||
connect (fail,localhost,$USER);
|
||||
|
||||
--replace_result $USER USER
|
||||
--error ER_ACCESS_DENIED_NO_PASSWORD_ERROR
|
||||
change_user $USER;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user