1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-13419 Cleanup for Sp_handler::show_create_sp

This commit is contained in:
Alexander Barkov
2017-08-01 12:04:14 +04:00
parent c9218ff439
commit 9372f6e526
3 changed files with 36 additions and 28 deletions

View File

@ -150,6 +150,11 @@ public:
sql_mode_t sql_mode,
bool *free_sp_head) const;
/*
Make a SHOW CREATE statement.
@retval true on error
@retval false on success
*/
bool show_create_sp(THD *thd, String *buf,
const LEX_CSTRING &db,
const LEX_CSTRING &name,
@ -158,6 +163,7 @@ public:
const LEX_CSTRING &body,
const st_sp_chistics &chistics,
const AUTHID &definer,
const DDL_options_st ddl_options,
sql_mode_t sql_mode) const;
};