diff options
Diffstat (limited to 'sql/procedure.h')
-rw-r--r-- | sql/procedure.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/procedure.h b/sql/procedure.h index b9d5066bb3d..4c087bfb3b2 100644 --- a/sql/procedure.h +++ b/sql/procedure.h @@ -40,7 +40,8 @@ class Item_proc :public Item public: Item_proc(THD *thd, const char *name_par): Item(thd) { - this->name=(char*) name_par; + this->name.str= name_par; + this->name.length= strlen(name_par); } enum Type type() const { return Item::PROC_ITEM; } virtual void set(double nr)=0; |