diff options
author | Sergei Golubchik <serg@mariadb.org> | 2017-02-20 11:07:38 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2017-02-27 12:35:10 +0100 |
commit | 93cb0246b8c883c4f5010468892986fa1d5ba379 (patch) | |
tree | ae01658f5e51087c2597eff5a51428d6773cec52 /mysys/my_sync.c | |
parent | 6d50324558e79d6e90848059bf7cd918685b02ba (diff) | |
download | mariadb-git-93cb0246b8c883c4f5010468892986fa1d5ba379.tar.gz |
race-condition safe implementation of mi_delete_table/maria_delete_table
Diffstat (limited to 'mysys/my_sync.c')
-rw-r--r-- | mysys/my_sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_sync.c b/mysys/my_sync.c index 88bcb685271..77e7befebed 100644 --- a/mysys/my_sync.c +++ b/mysys/my_sync.c @@ -199,7 +199,7 @@ int my_sync_dir_by_file(const char *file_name __attribute__((unused)), char dir_name[FN_REFLEN]; size_t dir_name_length; dirname_part(dir_name, file_name, &dir_name_length); - return my_sync_dir(dir_name, my_flags); + return my_sync_dir(dir_name, my_flags & ~MY_NOSYMLINKS); #else return 0; #endif |