mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge branch '5.5' into 10.0
This commit is contained in:
@ -3371,6 +3371,7 @@ void handler::print_error(int error, myf errflag)
|
||||
textno=ER_FILE_USED;
|
||||
break;
|
||||
case ENOENT:
|
||||
case ENOTDIR:
|
||||
textno=ER_FILE_NOT_FOUND;
|
||||
break;
|
||||
case ENOSPC:
|
||||
@ -3849,8 +3850,7 @@ int handler::delete_table(const char *name)
|
||||
|
||||
for (const char **ext=bas_ext(); *ext ; ext++)
|
||||
{
|
||||
fn_format(buff, name, "", *ext, MY_UNPACK_FILENAME|MY_APPEND_EXT);
|
||||
if (mysql_file_delete_with_symlink(key_file_misc, buff, MYF(0)))
|
||||
if (my_handler_delete_with_symlink(key_file_misc, name, *ext, 0))
|
||||
{
|
||||
if (my_errno != ENOENT)
|
||||
{
|
||||
|
Reference in New Issue
Block a user