summaryrefslogtreecommitdiff
path: root/sql/event.cc
diff options
context:
space:
mode:
authorunknown <andrey@lmy004.>2005-12-06 16:46:29 +0100
committerunknown <andrey@lmy004.>2005-12-06 16:46:29 +0100
commit7838d468ab2983e6f120bc15f159b9c1a97d5b51 (patch)
treeba417c7f031ae3bb024f9bac57d47106f36c6054 /sql/event.cc
parent70856a0d54cb770c216800cdd4db5f60ad327a11 (diff)
downloadmariadb-git-7838d468ab2983e6f120bc15f159b9c1a97d5b51.tar.gz
WL#1034
make more independent of SP sql/event.cc: use own routine - export it sql/event_priv.h: export these two sql/event_timed.cc: use own routine, don't rely on SP sql/sp.cc: revert changes to SP sql/sp.h: revert changes to SP sql/sql_show.cc: rever changes to SP
Diffstat (limited to 'sql/event.cc')
-rw-r--r--sql/event.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/event.cc b/sql/event.cc
index 756ebbf8c9a..f647f199556 100644
--- a/sql/event.cc
+++ b/sql/event.cc
@@ -208,7 +208,7 @@ TABLE *evex_open_event_table(THD *thd, enum thr_lock_type lock_type)
SP_KEY_NOT_FOUND- No routine with given name
*/
-static int
+int
evex_db_find_routine_aux(THD *thd, const LEX_STRING dbname,
const LEX_STRING rname, TABLE *table)
{
@@ -871,7 +871,7 @@ evex_drop_event(THD *thd, event_timed *et, bool drop_if_exists)
if (!(table= evex_open_event_table(thd, TL_WRITE)))
DBUG_RETURN(SP_OPEN_TABLE_FAILED);
- ret= sp_db_find_routine_aux(thd, 0/*notype*/, et->m_db, et->m_name, table);
+ ret= evex_db_find_routine_aux(thd, et->m_db, et->m_name, table);
if (ret == EVEX_OK)
{