mirror of
https://github.com/MariaDB/server.git
synced 2025-08-31 22:22:30 +03:00
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
This commit is contained in:
12
sql/sp.h
12
sql/sp.h
@@ -31,8 +31,6 @@
|
||||
#define SP_BAD_IDENTIFIER -9
|
||||
#define SP_BODY_TOO_LONG -10
|
||||
|
||||
extern bool mysql_proc_table_exists;
|
||||
|
||||
/* Drop all routines in database 'db' */
|
||||
int
|
||||
sp_drop_db_routines(THD *thd, char *db);
|
||||
@@ -99,17 +97,9 @@ 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_type_table_for_read(THD *thd, Open_tables_state *backup,
|
||||
const char *tname, bool *table_exists);
|
||||
TABLE *open_proc_type_table_for_update(THD *thd, const char *tname,
|
||||
bool *table_exists);
|
||||
|
||||
TABLE *open_proc_table_for_read(THD *thd, Open_tables_state *backup);
|
||||
void close_proc_table(THD *thd, Open_tables_state *backup);
|
||||
|
||||
int
|
||||
sp_db_find_routine_aux(THD *thd, int type, const LEX_STRING dbname,
|
||||
const LEX_STRING rname, TABLE *table);
|
||||
|
||||
//
|
||||
// Utilities...
|
||||
//
|
||||
|
Reference in New Issue
Block a user