diff options
author | monty@hundin.mysql.fi <> | 2001-06-01 04:27:59 +0300 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2001-06-01 04:27:59 +0300 |
commit | 866a82782c180ca20044ece9634b2721580839a1 (patch) | |
tree | ffdc7daed643167b8c8097cf1b60e75151d39eb9 /sql/sql_db.cc | |
parent | 762f423d91a6f7f25db431d50da3d401d9053d8c (diff) | |
download | mariadb-git-866a82782c180ca20044ece9634b2721580839a1.tar.gz |
Added support for symlinked tables.
myisamchk: Don't force a repair if the only problem was that the
open count wasn't correct.
Added missing error messages.
Diffstat (limited to 'sql/sql_db.cc')
-rw-r--r-- | sql/sql_db.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_db.cc b/sql/sql_db.cc index 20eb4688de7..f3fda058113 100644 --- a/sql/sql_db.cc +++ b/sql/sql_db.cc @@ -212,7 +212,7 @@ static long mysql_rm_known_files(THD *thd, MY_DIR *dirp, const char *org_path, } strxmov(filePath,org_path,"/",file->name,NullS); unpack_filename(filePath,filePath); - if (my_delete(filePath,MYF(MY_WME))) + if (my_delete_with_symlink(filePath,MYF(MY_WME))) { if(thd) net_printf(&thd->net,ER_DB_DROP_DELETE,filePath,my_error); |