mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
mysqltest bug: reset --replace command after every
error message (because error messages use replacements)
This commit is contained in:
parent
c11c64e972
commit
bd4e7dac59
2 changed files with 2 additions and 0 deletions
|
|
@ -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';
|
||||||
--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;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue