Commit 679bbf19 authored by unknown's avatar unknown

Fix a warning.


sql/sp.cc:
  Fix a warning "field precision should have type "int", 
  but argument 2 has type "size_t"
parent 0ada9392
...@@ -1017,7 +1017,9 @@ sp_show_create_routine(THD *thd, int type, sp_name *name) ...@@ -1017,7 +1017,9 @@ sp_show_create_routine(THD *thd, int type, sp_name *name)
&thd->sp_proc_cache : &thd->sp_func_cache; &thd->sp_proc_cache : &thd->sp_func_cache;
DBUG_ENTER("sp_show_create_routine"); DBUG_ENTER("sp_show_create_routine");
DBUG_PRINT("enter", ("name: %.*s", name->m_name.length, name->m_name.str)); DBUG_PRINT("enter", ("name: %.*s",
(int) name->m_name.length,
name->m_name.str));
DBUG_ASSERT(type == TYPE_ENUM_PROCEDURE || DBUG_ASSERT(type == TYPE_ENUM_PROCEDURE ||
type == TYPE_ENUM_FUNCTION); type == TYPE_ENUM_FUNCTION);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment