1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-31092 mysqldump --force doesn't ignore error as it should

failed SHOW CREATE FUNCTION means we don't dump this function,
but should still try to dump all other functions
This commit is contained in:
Sergei Golubchik
2023-07-31 17:36:59 +02:00
parent 4dd38f9f39
commit ab10a675ac
3 changed files with 89 additions and 5 deletions

View File

@ -2723,11 +2723,7 @@ static uint dump_routines_for_db(char *db)
routine_type[i], routine_name);
if (mysql_query_with_error_report(mysql, &routine_res, query_buff))
{
mysql_free_result(routine_list_res);
routine_list_res= 0;
DBUG_RETURN(1);
}
continue;
while ((row= mysql_fetch_row(routine_res)))
{