Additional fix for #12839
sql/field.cc: This code still could work for VERY out-of-dated databases sql/spatial.cc: small syntax fixes
This commit is contained in:
parent
8fdef257ae
commit
b47f1efb25
@ -5745,8 +5745,7 @@ void Field_blob::get_key_image(char *buff,uint length,
|
||||
return;
|
||||
}
|
||||
get_ptr(&blob);
|
||||
gobj= Geometry::construct(&buffer,
|
||||
blob + SRID_SIZE, blob_length - SRID_SIZE);
|
||||
gobj= Geometry::construct(&buffer, blob, blob_length);
|
||||
if (gobj->get_mbr(&mbr, &dummy))
|
||||
bzero(buff, SIZEOF_STORED_DOUBLE*4);
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user