Loading innobase/os/os0file.c +7 −4 Original line number Diff line number Diff line Loading @@ -8,6 +8,7 @@ Created 10/21/1995 Heikki Tuuri #include "os0file.h" #include "os0sync.h" #include "os0thread.h" #include "ut0mem.h" #include "srv0srv.h" #include "fil0fil.h" Loading Loading @@ -1136,11 +1137,13 @@ os_file_write( return(TRUE); } /* If InnoDB Hot Backup is running, then, at least in Windows 2000, we may get here a specific error. Let us retry the operation 10 times. */ /* If some background file system backup tool is running, then, at least in Windows 2000, we may get here a specific error. Let us retry the operation 100 times, with 1 second waits. */ if (GetLastError() == ERROR_LOCK_VIOLATION && n_retries < 10) { if (GetLastError() == ERROR_LOCK_VIOLATION && n_retries < 100) { os_thread_sleep(1000000); n_retries++; Loading Loading
innobase/os/os0file.c +7 −4 Original line number Diff line number Diff line Loading @@ -8,6 +8,7 @@ Created 10/21/1995 Heikki Tuuri #include "os0file.h" #include "os0sync.h" #include "os0thread.h" #include "ut0mem.h" #include "srv0srv.h" #include "fil0fil.h" Loading Loading @@ -1136,11 +1137,13 @@ os_file_write( return(TRUE); } /* If InnoDB Hot Backup is running, then, at least in Windows 2000, we may get here a specific error. Let us retry the operation 10 times. */ /* If some background file system backup tool is running, then, at least in Windows 2000, we may get here a specific error. Let us retry the operation 100 times, with 1 second waits. */ if (GetLastError() == ERROR_LOCK_VIOLATION && n_retries < 10) { if (GetLastError() == ERROR_LOCK_VIOLATION && n_retries < 100) { os_thread_sleep(1000000); n_retries++; Loading