diff --git a/client/mysql_upgrade.c b/client/mysql_upgrade.c index be0af089027..66b85a411d5 100644 --- a/client/mysql_upgrade.c +++ b/client/mysql_upgrade.c @@ -831,7 +831,7 @@ static int run_sql_fix_privilege_tables(void) } dynstr_free(&ds_result); - return found_real_errors; + DBUG_RETURN(found_real_errors); }