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;
|
return;
|
||||||
}
|
}
|
||||||
get_ptr(&blob);
|
get_ptr(&blob);
|
||||||
gobj= Geometry::construct(&buffer,
|
gobj= Geometry::construct(&buffer, blob, blob_length);
|
||||||
blob + SRID_SIZE, blob_length - SRID_SIZE);
|
|
||||||
if (gobj->get_mbr(&mbr, &dummy))
|
if (gobj->get_mbr(&mbr, &dummy))
|
||||||
bzero(buff, SIZEOF_STORED_DOUBLE*4);
|
bzero(buff, SIZEOF_STORED_DOUBLE*4);
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user