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:
@ -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));
|
||||
|
Reference in New Issue
Block a user