summaryrefslogtreecommitdiff
path: root/sql/sp.h
diff options
context:
space:
mode:
authordlenev@mysql.com <>2005-08-09 11:43:55 +0400
committerdlenev@mysql.com <>2005-08-09 11:43:55 +0400
commit0c38d3350755e1b46e26e5339afebcb90425b687 (patch)
treebb9c0e1f9064cb7937fea43d87cf1464768b9e25 /sql/sp.h
parent10e5ee5196408cda111a29c124216660b91e8121 (diff)
parent615baa9f237b30ec590a4405ecb222643d1792a5 (diff)
downloadmariadb-git-0c38d3350755e1b46e26e5339afebcb90425b687.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/dlenev/src/mysql-5.0-is
Diffstat (limited to 'sql/sp.h')
-rw-r--r--sql/sp.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/sp.h b/sql/sp.h
index 58244c34761..9f110f87807 100644
--- a/sql/sp.h
+++ b/sql/sp.h
@@ -94,6 +94,13 @@ void sp_cache_routines_and_add_tables_for_triggers(THD *thd, LEX *lex,
extern "C" byte* sp_sroutine_key(const byte *ptr, uint *plen, my_bool first);
+/*
+ Routines which allow open/lock and close mysql.proc table even when
+ we already have some tables open and locked.
+*/
+TABLE *open_proc_table_for_read(THD *thd, Open_tables_state *backup);
+void close_proc_table(THD *thd, Open_tables_state *backup);
+
//
// Utilities...
//