item_strfunc.cc:

Comment typo fix
  ,
This commit is contained in:
bar@bar.intranet.mysql.r18.ru 2004-01-14 14:02:51 +04:00
parent 2efb415121
commit 362d697c9f

View File

@ -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);