From 32da4054eeec7aee697c1b98e888ec2c1f814401 Mon Sep 17 00:00:00 2001 From: "bar@bar.mysql.r18.ru" <> Date: Thu, 13 Feb 2003 13:10:23 +0400 Subject: [PATCH] item_strfunc.cc: Fix --- sql/item_strfunc.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sql/item_strfunc.cc b/sql/item_strfunc.cc index 05497202351..bb844feffb5 100644 --- a/sql/item_strfunc.cc +++ b/sql/item_strfunc.cc @@ -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);