item_strfunc.cc:

  Comment typo fix
  ,
parent 2efb4151
...@@ -979,7 +979,7 @@ String *Item_func_right::val_str(String *str) ...@@ -979,7 +979,7 @@ String *Item_func_right::val_str(String *str)
As far "res" contains at least "length" bytes As far "res" contains at least "length" bytes
(according to the above condition and return), (according to the above condition and return),
the below statement is safe. res->numchars() can the below statement is safe. res->numchars() can
never return a value less than "length". never return a value more than "length".
*/ */
uint start=res->numchars()-(uint) length; uint start=res->numchars()-(uint) length;
start=res->charpos(start); start=res->charpos(start);
......
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