Commit 1d7bc3b5 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Innodb : do not call fflush() in os_get_last_error_low(), if no error

message was written.
parent ad17e8e5
......@@ -569,10 +569,9 @@ os_file_get_last_error_low(
REFMAN
"operating-system-error-codes.html\n");
}
fflush(stderr);
}
fflush(stderr);
if (err == ERROR_FILE_NOT_FOUND) {
return(OS_FILE_NOT_FOUND);
} else if (err == ERROR_DISK_FULL) {
......
......@@ -676,10 +676,9 @@ os_file_get_last_error_low(
REFMAN
"operating-system-error-codes.html\n");
}
fflush(stderr);
}
fflush(stderr);
if (err == ERROR_FILE_NOT_FOUND) {
return(OS_FILE_NOT_FOUND);
} else if (err == ERROR_DISK_FULL) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment