summaryrefslogtreecommitdiff
path: root/mysys/my_delete.c
diff options
context:
space:
mode:
Diffstat (limited to 'mysys/my_delete.c')
-rw-r--r--mysys/my_delete.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysys/my_delete.c b/mysys/my_delete.c
index de2a9814a56..6d90caa48ed 100644
--- a/mysys/my_delete.c
+++ b/mysys/my_delete.c
@@ -30,6 +30,8 @@ int my_delete(const char *name, myf MyFlags)
my_error(EE_DELETE,MYF(ME_BELL+ME_WAITTANG+(MyFlags & ME_NOINPUT)),
name,errno);
}
+ else if (MyFlags & MY_SYNC_DIR)
+ my_sync_dir_by_file(name, MyFlags);
DBUG_RETURN(err);
} /* my_delete */