mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
item_strfunc.cc:
Fix
This commit is contained in:
parent
58e00848d1
commit
32da4054ee
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue