mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 03:47:17 +02:00
WL#2360 Performance schema
Part II, engines instrumentation
This commit is contained in:
parent
560e76c567
commit
04fe40393d
58 changed files with 1033 additions and 576 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 2000-2001, 2004, 2006 MySQL AB
|
||||
/* Copyright (C) 2000-2001, 2004, 2006 MySQL AB, 2008-2009 Sun Microsystems, Inc
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
|
@ -58,12 +58,13 @@ int mi_delete_table(const char *name)
|
|||
#endif /* USE_RAID */
|
||||
|
||||
fn_format(from,name,"",MI_NAME_IEXT,MY_UNPACK_FILENAME|MY_APPEND_EXT);
|
||||
if (my_delete_with_symlink(from, MYF(MY_WME)))
|
||||
if (mysql_file_delete_with_symlink(mi_key_file_kfile, from, MYF(MY_WME)))
|
||||
DBUG_RETURN(my_errno);
|
||||
fn_format(from,name,"",MI_NAME_DEXT,MY_UNPACK_FILENAME|MY_APPEND_EXT);
|
||||
#ifdef USE_RAID
|
||||
if (raid_type)
|
||||
DBUG_RETURN(my_raid_delete(from, raid_chunks, MYF(MY_WME)) ? my_errno : 0);
|
||||
#endif
|
||||
DBUG_RETURN(my_delete_with_symlink(from, MYF(MY_WME)) ? my_errno : 0);
|
||||
DBUG_RETURN(mysql_file_delete_with_symlink(mi_key_file_dfile,
|
||||
from, MYF(MY_WME)) ? my_errno : 0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue