1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Bug #43588 mysqltest command disable_abort_on_error logs connect commands

Only log connects after --error
A few small test adjustments needed/possible
This commit is contained in:
Bjorn Munch
2010-03-17 15:25:55 +01:00
parent bd20de0136
commit 2fb8854aa0
4 changed files with 1 additions and 7 deletions

View File

@@ -4920,7 +4920,7 @@ int connect_n_handle_errors(struct st_command *command,
ds= &ds_res;
/* Only log if an error is expected */
if (!command->abort_on_error &&
if (command->expected_errors.count > 0 &&
!disable_query_log)
{
/*