diff options
author | pem@mysql.com <> | 2005-10-26 15:34:57 +0200 |
---|---|---|
committer | pem@mysql.com <> | 2005-10-26 15:34:57 +0200 |
commit | 0657ca208031b10b6bb02e53daa5de97d29e9b51 (patch) | |
tree | 8438f02a4a9ed206e60f26923143418163c0ba22 /sql/sql_trigger.h | |
parent | 3e9f3c32055b5b486d8032beb1071aa8fcdd37a1 (diff) | |
download | mariadb-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.h | 2 |
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: |