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 e4bf589958e..d5b93433f92 100644
--- a/sql/procedure.cc
+++ b/sql/procedure.cc
@@ -96,7 +96,7 @@ setup_procedure(THD *thd,ORDER *param,select_result *result,
DBUG_RETURN(proc);
}
}
- my_error(ER_UNKNOWN_PROCEDURE, MYF(0), (*param->item)->name);
+ my_error(ER_UNKNOWN_PROCEDURE, MYF(0), (*param->item)->name.str);
*error=1;
DBUG_RETURN(0);
}