Loading sql/item_strfunc.cc +2 −2 Original line number Diff line number Diff line Loading @@ -952,8 +952,8 @@ String *Item_func_left::val_str(String *str) return &my_empty_string; if (res->length() <= (uint) length) return res; tmp_value.set(*res, 0, res->charpos(length)); return &tmp_value; str_value.set(*res, 0, res->charpos(length)); return &str_value; } Loading sql/item_strfunc.h +0 −1 Original line number Diff line number Diff line Loading @@ -180,7 +180,6 @@ class Item_func_ucase :public Item_str_conv class Item_func_left :public Item_str_func { String tmp_value; public: Item_func_left(Item *a,Item *b) :Item_str_func(a,b) {} String *val_str(String *); Loading Loading
sql/item_strfunc.cc +2 −2 Original line number Diff line number Diff line Loading @@ -952,8 +952,8 @@ String *Item_func_left::val_str(String *str) return &my_empty_string; if (res->length() <= (uint) length) return res; tmp_value.set(*res, 0, res->charpos(length)); return &tmp_value; str_value.set(*res, 0, res->charpos(length)); return &str_value; } Loading
sql/item_strfunc.h +0 −1 Original line number Diff line number Diff line Loading @@ -180,7 +180,6 @@ class Item_func_ucase :public Item_str_conv class Item_func_left :public Item_str_func { String tmp_value; public: Item_func_left(Item *a,Item *b) :Item_str_func(a,b) {} String *val_str(String *); Loading