mirror of
https://github.com/MariaDB/server.git
synced 2026-05-01 20:55:32 +02: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
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue