mirror of
https://github.com/MariaDB/server.git
synced 2026-05-07 15:45:33 +02:00
Manual merge of mysql-5.1-bugteam into mysql-trunk-merge.
This commit is contained in:
commit
72b2943594
56 changed files with 1921 additions and 340 deletions
|
|
@ -908,6 +908,7 @@ sp_create_routine(THD *thd, int type, sp_head *sp)
|
|||
DBUG_PRINT("enter", ("type: %d name: %.*s",type, (int) sp->m_name.length,
|
||||
sp->m_name.str));
|
||||
String retstr(64);
|
||||
retstr.set_charset(system_charset_info);
|
||||
|
||||
DBUG_ASSERT(type == TYPE_ENUM_PROCEDURE ||
|
||||
type == TYPE_ENUM_FUNCTION);
|
||||
|
|
@ -1411,6 +1412,7 @@ sp_find_routine(THD *thd, int type, sp_name *name, sp_cache **cp,
|
|||
64 -- size of "returns" column of mysql.proc.
|
||||
*/
|
||||
String retstr(64);
|
||||
retstr.set_charset(sp->get_creation_ctx()->get_client_cs());
|
||||
|
||||
DBUG_PRINT("info", ("found: 0x%lx", (ulong)sp));
|
||||
if (sp->m_first_free_instance)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue