mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Remove double printout of mysqldump in error message
This commit is contained in:
@@ -870,9 +870,8 @@ static int mysql_query_with_error_report(MYSQL *mysql_con, MYSQL_RES **res,
|
|||||||
if (mysql_query(mysql_con, query) ||
|
if (mysql_query(mysql_con, query) ||
|
||||||
(res && !((*res)= mysql_store_result(mysql_con))))
|
(res && !((*res)= mysql_store_result(mysql_con))))
|
||||||
{
|
{
|
||||||
my_printf_error(0, "%s: Couldn't execute '%s': %s (%d)",
|
my_printf_error(0, "Couldn't execute '%s': %s (%d)", MYF(0),
|
||||||
MYF(0), my_progname, query,
|
query, mysql_error(mysql_con), mysql_errno(mysql_con));
|
||||||
mysql_error(mysql_con), mysql_errno(mysql_con));
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user