diff options
author | Sergei Golubchik <serg@mariadb.org> | 2017-03-21 19:20:44 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2017-03-21 19:20:44 +0100 |
commit | 09a2107b1b2f5567b8a50afec9e54a33284c6233 (patch) | |
tree | a9f544eb24b6b5ec510fa580cd997356671996d3 /storage/maria/ma_delete_table.c | |
parent | bbf0c9d4c35034c8634cd9607712d94fac089127 (diff) | |
parent | 0d622bed4f1a1484af747840c39325c67d7767d4 (diff) | |
download | mariadb-git-09a2107b1b2f5567b8a50afec9e54a33284c6233.tar.gz |
Merge branch '10.0' into 10.1
Diffstat (limited to 'storage/maria/ma_delete_table.c')
-rw-r--r-- | storage/maria/ma_delete_table.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/storage/maria/ma_delete_table.c b/storage/maria/ma_delete_table.c index 14d8a7f759a..067ab280fdc 100644 --- a/storage/maria/ma_delete_table.c +++ b/storage/maria/ma_delete_table.c @@ -86,13 +86,14 @@ int maria_delete_table_files(const char *name, my_bool temporary, myf sync_dir) { DBUG_ENTER("maria_delete_table_files"); - if (my_handler_delete_with_symlink(key_file_kfile, name, MARIA_NAME_IEXT, MYF(MY_WME | sync_dir)) || - my_handler_delete_with_symlink(key_file_dfile, name, MARIA_NAME_DEXT, MYF(MY_WME | sync_dir))) + if (mysql_file_delete_with_symlink(key_file_kfile, name, MARIA_NAME_IEXT, MYF(MY_WME | sync_dir)) || + mysql_file_delete_with_symlink(key_file_dfile, name, MARIA_NAME_DEXT, MYF(MY_WME | sync_dir))) DBUG_RETURN(my_errno); - if (!temporary) { - my_handler_delete_with_symlink(key_file_dfile, name, ".TMD", MYF(0)); - my_handler_delete_with_symlink(key_file_dfile, name, ".OLD", MYF(0)); + if (!temporary) + { + mysql_file_delete_with_symlink(key_file_dfile, name, ".TMD", MYF(0)); + mysql_file_delete_with_symlink(key_file_dfile, name, ".OLD", MYF(0)); } DBUG_RETURN(0); } |