summaryrefslogtreecommitdiff
path: root/sql/procedure.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/procedure.cc')
-rw-r--r--sql/procedure.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/procedure.cc b/sql/procedure.cc
index 8f9d6c0a7f3..3d36b7adfa3 100644
--- a/sql/procedure.cc
+++ b/sql/procedure.cc
@@ -89,7 +89,7 @@ setup_procedure(THD *thd,ORDER *param,select_result *result,
for (i=0 ; i < array_elements(sql_procs) ; i++)
{
if (!my_strcasecmp(system_charset_info,
- (*param->item)->name,sql_procs[i].name))
+ (*param->item)->name.str, sql_procs[i].name))
{
Procedure *proc=(*sql_procs[i].init)(thd,param,result,field_list);
*error= !proc;