Commit bd4e7dac authored by Sergei Golubchik's avatar Sergei Golubchik

mysqltest bug: reset --replace command after every

error message (because error messages use replacements)
parent c11c64e9
...@@ -7916,6 +7916,7 @@ void handle_error(struct st_command *command, ...@@ -7916,6 +7916,7 @@ void handle_error(struct st_command *command,
DBUG_ENTER("handle_error"); DBUG_ENTER("handle_error");
command->used_replace= 1;
if (command->require_file) if (command->require_file)
{ {
/* /*
......
...@@ -20,6 +20,7 @@ eval install plugin unix_socket soname '$AUTH_SOCKET_SO'; ...@@ -20,6 +20,7 @@ eval install plugin unix_socket soname '$AUTH_SOCKET_SO';
--error ER_ACCESS_DENIED_NO_PASSWORD_ERROR --error ER_ACCESS_DENIED_NO_PASSWORD_ERROR
connect (fail,localhost,$USER); connect (fail,localhost,$USER);
--replace_result $USER USER
--error ER_ACCESS_DENIED_NO_PASSWORD_ERROR --error ER_ACCESS_DENIED_NO_PASSWORD_ERROR
change_user $USER; change_user $USER;
......
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