summaryrefslogtreecommitdiff
path: root/sql/sql_trigger.cc
diff options
context:
space:
mode:
authorKonstantin Osipov <kostja@sun.com>2010-02-03 16:43:03 +0300
committerKonstantin Osipov <kostja@sun.com>2010-02-03 16:43:03 +0300
commitb92ab41c5c380448422bd776c73fddfd5c7507f6 (patch)
tree3b69ab5126c40ef71ad69a5bb469de82c4be90a0 /sql/sql_trigger.cc
parentdfc15e2acc9312c3357b6149feb771c724ba8252 (diff)
parenta4c3bc618bb83884a19dc157bc56d4e3d2432c22 (diff)
downloadmariadb-git-b92ab41c5c380448422bd776c73fddfd5c7507f6.tar.gz
Merge next-mr -> next-4284
Diffstat (limited to 'sql/sql_trigger.cc')
-rw-r--r--sql/sql_trigger.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/sql_trigger.cc b/sql/sql_trigger.cc
index 936265e6753..71216d74e6e 100644
--- a/sql/sql_trigger.cc
+++ b/sql/sql_trigger.cc
@@ -814,7 +814,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;
}
@@ -837,7 +837,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));
}
@@ -859,7 +859,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));
}