mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
os0file.c:
Fix bug in previous push
This commit is contained in:
@@ -196,7 +196,7 @@ os_file_get_last_error(void)
|
|||||||
|
|
||||||
err = (ulint) GetLastError();
|
err = (ulint) GetLastError();
|
||||||
|
|
||||||
if (err != ERROR_DISK_FULL) {
|
if (err != ERROR_DISK_FULL && err != ERROR_FILE_EXISTS) {
|
||||||
ut_print_timestamp(stderr);
|
ut_print_timestamp(stderr);
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
" InnoDB: Operating system error number %li in a file operation.\n"
|
" InnoDB: Operating system error number %li in a file operation.\n"
|
||||||
@@ -234,7 +234,7 @@ os_file_get_last_error(void)
|
|||||||
#else
|
#else
|
||||||
err = (ulint) errno;
|
err = (ulint) errno;
|
||||||
|
|
||||||
if (err != ENOSPC ) {
|
if (err != ENOSPC && err != EEXIST) {
|
||||||
ut_print_timestamp(stderr);
|
ut_print_timestamp(stderr);
|
||||||
|
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
|
Reference in New Issue
Block a user