Commit efcf8b57 authored by unknown's avatar unknown

item_strfunc.cc:

  Fix


sql/item_strfunc.cc:
  Fix
parent 7f1d3ea0
...@@ -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