1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Automatic merge with 5.1

This commit is contained in:
Michael Widenius
2009-10-28 16:56:07 +02:00
58 changed files with 2456 additions and 211 deletions

View File

@ -4868,7 +4868,8 @@ bool flush_error_log()
size_t bytes;
uchar buf[IO_SIZE];
freopen(err_temp,"a+",stderr);
if (!freopen(err_temp,"a+",stderr))
sql_print_error("Couldn't reopen stderr");
setbuf(stderr, NULL);
(void) my_delete(err_renamed, MYF(0));
my_rename(log_error_file,err_renamed,MYF(0));