item_strfunc.cc:

Fix


sql/item_strfunc.cc:
  Fix
This commit is contained in:
unknown 2003-02-13 13:10:23 +04:00
parent 7f1d3ea038
commit efcf8b57c7

View File

@ -2790,8 +2790,8 @@ String *Item_func_spatial_collection::val_str(String *str)
if (len < WKB_HEADER_SIZE)
goto ret;
data+=WKB_HEADER_SIZE;
len-=WKB_HEADER_SIZE;
data-=WKB_HEADER_SIZE;
len+=WKB_HEADER_SIZE;
if (str->reserve(len,512))
goto ret;
str->q_append(data,len);