summaryrefslogtreecommitdiff
path: root/sql/sql_trigger.h
diff options
context:
space:
mode:
authorpem@mysql.com <>2005-10-26 15:34:57 +0200
committerpem@mysql.com <>2005-10-26 15:34:57 +0200
commit0657ca208031b10b6bb02e53daa5de97d29e9b51 (patch)
tree8438f02a4a9ed206e60f26923143418163c0ba22 /sql/sql_trigger.h
parent3e9f3c32055b5b486d8032beb1071aa8fcdd37a1 (diff)
downloadmariadb-git-0657ca208031b10b6bb02e53daa5de97d29e9b51.tar.gz
Fixed BUG#14233: Crash after tampering with the mysql.proc table
Added error checking for errors when attempting to use stored procedures after the mysql.proc table has been dropped, corrupted, or tampered with. Test cases were put in a separate file (sp-destruct.test).
Diffstat (limited to 'sql/sql_trigger.h')
-rw-r--r--sql/sql_trigger.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_trigger.h b/sql/sql_trigger.h
index c1d1f8d0e9e..f50624767be 100644
--- a/sql/sql_trigger.h
+++ b/sql/sql_trigger.h
@@ -101,7 +101,7 @@ public:
void set_table(TABLE *new_table);
friend class Item_trigger_field;
- friend void sp_cache_routines_and_add_tables_for_triggers(THD *thd, LEX *lex,
+ friend int sp_cache_routines_and_add_tables_for_triggers(THD *thd, LEX *lex,
Table_triggers_list *triggers);
private: