Commit 32da4054 authored by bar@bar.mysql.r18.ru's avatar bar@bar.mysql.r18.ru

item_strfunc.cc:

  Fix
parent 58e00848
...@@ -2790,8 +2790,8 @@ String *Item_func_spatial_collection::val_str(String *str) ...@@ -2790,8 +2790,8 @@ String *Item_func_spatial_collection::val_str(String *str)
if (len < WKB_HEADER_SIZE) if (len < WKB_HEADER_SIZE)
goto ret; goto ret;
data+=WKB_HEADER_SIZE; data-=WKB_HEADER_SIZE;
len-=WKB_HEADER_SIZE; len+=WKB_HEADER_SIZE;
if (str->reserve(len,512)) if (str->reserve(len,512))
goto ret; goto ret;
str->q_append(data,len); str->q_append(data,len);
......
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