mirror of
https://github.com/MariaDB/server.git
synced 2025-04-18 21:44:20 +03:00
MDEV-36130: main.mysqldump fails in parallel mysql-import test
Skip printing the error if it is expected — that is, when mariadb-import is aborting. In a multithreading scenario, another thread may encounter an error because the corresponding connection was killed. Do not print this error.
This commit is contained in:
parent
059d06ae07
commit
b453123a26
@ -984,6 +984,8 @@ static void fatal_error(const char *format, ...)
|
||||
|
||||
static void db_error(MYSQL *mysql)
|
||||
{
|
||||
if (aborting)
|
||||
return;
|
||||
const char *info= mysql_info(mysql);
|
||||
auto err= mysql_errno(mysql);
|
||||
auto err_text = mysql_error(mysql);
|
||||
|
Loading…
x
Reference in New Issue
Block a user