mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
WL#2360 Performance schema
Part IV: sql instrumentation
This commit is contained in:
@ -804,7 +804,7 @@ bool Table_triggers_list::create_trigger(THD *thd, TABLE_LIST *tables,
|
||||
return 0;
|
||||
|
||||
err_with_cleanup:
|
||||
my_delete(trigname_buff, MYF(MY_WME));
|
||||
mysql_file_delete(key_file_trn, trigname_buff, MYF(MY_WME));
|
||||
return 1;
|
||||
}
|
||||
|
||||
@ -827,7 +827,7 @@ static bool rm_trigger_file(char *path, const char *db,
|
||||
const char *table_name)
|
||||
{
|
||||
build_table_filename(path, FN_REFLEN-1, db, table_name, TRG_EXT, 0);
|
||||
return my_delete(path, MYF(MY_WME));
|
||||
return mysql_file_delete(key_file_trg, path, MYF(MY_WME));
|
||||
}
|
||||
|
||||
|
||||
@ -849,7 +849,7 @@ static bool rm_trigname_file(char *path, const char *db,
|
||||
const char *trigger_name)
|
||||
{
|
||||
build_table_filename(path, FN_REFLEN - 1, db, trigger_name, TRN_EXT, 0);
|
||||
return my_delete(path, MYF(MY_WME));
|
||||
return mysql_file_delete(key_file_trn, path, MYF(MY_WME));
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user