mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
Removed not used object Geometry::bad_geometry_data()
This commit is contained in:
parent
61822a9b5f
commit
c6bf04ab2e
3 changed files with 0 additions and 6 deletions
|
@ -144,8 +144,6 @@ int MBR::within(const MBR *mbr)
|
|||
|
||||
/***************************** Gis_class_info *******************************/
|
||||
|
||||
String Geometry::bad_geometry_data("Bad object", &my_charset_bin);
|
||||
|
||||
Geometry::Class_info *Geometry::ci_collection[Geometry::wkb_last+1]=
|
||||
{
|
||||
NULL, NULL, NULL, NULL, NULL, NULL, NULL
|
||||
|
|
|
@ -227,8 +227,6 @@ public:
|
|||
static void operator delete(void *buffer)
|
||||
{}
|
||||
|
||||
static String bad_geometry_data;
|
||||
|
||||
enum wkbType
|
||||
{
|
||||
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());
|
||||
else
|
||||
{
|
||||
if (from == Geometry::bad_geometry_data.ptr())
|
||||
goto err;
|
||||
// Check given WKB
|
||||
uint32 wkb_type;
|
||||
if (length < SRID_SIZE + WKB_HEADER_SIZE + 4)
|
||||
|
|
Loading…
Add table
Reference in a new issue