mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Merge branch '10.5' into 10.6
This commit is contained in:
@@ -3196,8 +3196,13 @@ int main(int argc, char** argv)
|
||||
|
||||
if (tmpdir.list)
|
||||
free_tmpdir(&tmpdir);
|
||||
if (result_file && result_file != stdout)
|
||||
my_fclose(result_file, MYF(0));
|
||||
if (result_file)
|
||||
{
|
||||
if (result_file != stdout)
|
||||
my_fclose(result_file, MYF(0));
|
||||
else
|
||||
fflush(result_file);
|
||||
}
|
||||
cleanup();
|
||||
/* We cannot free DBUG, it is used in global destructors after exit(). */
|
||||
my_end(my_end_arg | MY_DONT_FREE_DBUG);
|
||||
|
Reference in New Issue
Block a user