Removed not used object Geometry::bad_geometry_data()
This commit is contained in:
parent
61822a9b5f
commit
c6bf04ab2e
@ -144,8 +144,6 @@ int MBR::within(const MBR *mbr)
|
|||||||
|
|
||||||
/***************************** Gis_class_info *******************************/
|
/***************************** Gis_class_info *******************************/
|
||||||
|
|
||||||
String Geometry::bad_geometry_data("Bad object", &my_charset_bin);
|
|
||||||
|
|
||||||
Geometry::Class_info *Geometry::ci_collection[Geometry::wkb_last+1]=
|
Geometry::Class_info *Geometry::ci_collection[Geometry::wkb_last+1]=
|
||||||
{
|
{
|
||||||
NULL, NULL, NULL, NULL, NULL, NULL, NULL
|
NULL, NULL, NULL, NULL, NULL, NULL, NULL
|
||||||
|
@ -227,8 +227,6 @@ public:
|
|||||||
static void operator delete(void *buffer)
|
static void operator delete(void *buffer)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
static String bad_geometry_data;
|
|
||||||
|
|
||||||
enum wkbType
|
enum wkbType
|
||||||
{
|
{
|
||||||
wkb_point= 1,
|
wkb_point= 1,
|
||||||
|
@ -841,8 +841,6 @@ int Field_geom::store(const char *from, size_t length, CHARSET_INFO *cs)
|
|||||||
bzero(ptr, Field_blob::pack_length());
|
bzero(ptr, Field_blob::pack_length());
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (from == Geometry::bad_geometry_data.ptr())
|
|
||||||
goto err;
|
|
||||||
// Check given WKB
|
// Check given WKB
|
||||||
uint32 wkb_type;
|
uint32 wkb_type;
|
||||||
if (length < SRID_SIZE + WKB_HEADER_SIZE + 4)
|
if (length < SRID_SIZE + WKB_HEADER_SIZE + 4)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user