summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mysys/my_redel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_redel.c b/mysys/my_redel.c
index 606d301e1d0..b12cf098283 100644
--- a/mysys/my_redel.c
+++ b/mysys/my_redel.c
@@ -59,7 +59,7 @@ int my_redel(const char *org_name, const char *tmp_name, myf MyFlags)
MyFlags))
goto end;
}
- else if (my_delete(org_name,MyFlags))
+ else if (my_delete_allow_opened(org_name, MyFlags))
goto end;
if (my_rename(tmp_name,org_name,MyFlags))
goto end;