Commit d31c5609 authored by Dave Gosselin's avatar Dave Gosselin

GIS update get_copy overrides to do_get_copy const

parent cf1a32d0
......@@ -996,7 +996,7 @@ class Item_func_simplify: public Item_geometry_func_args_geometry
{
return &type_handler_geometry;
}
Item *get_copy(THD *thd) override
Item *do_get_copy(THD *thd) const override
{ return get_item_copy<Item_func_simplify>(thd, this); }
};
......@@ -1042,7 +1042,7 @@ class Item_func_isvalid: public Item_long_func_args_geometry
static LEX_CSTRING name= {STRING_WITH_LEN("st_isvalid") };
return name;
}
Item *get_copy(THD *thd) override
Item *do_get_copy(THD *thd) const override
{ return get_item_copy<Item_func_isvalid>(thd, this); }
};
......@@ -1062,7 +1062,7 @@ class Item_func_validate: public Item_geometry_func_args_geometry
{
return &type_handler_point;
}
Item *get_copy(THD *thd) override
Item *do_get_copy(THD *thd) const override
{ return get_item_copy<Item_func_validate>(thd, this); }
};
......@@ -1347,7 +1347,7 @@ class Item_func_latfromgeohash: public Item_func_latlongfromgeohash
static LEX_CSTRING name= {STRING_WITH_LEN("st_latfromgeohash") };
return name;
}
Item *get_copy(THD *thd) override
Item *do_get_copy(THD *thd) const override
{ return get_item_copy<Item_func_latfromgeohash>(thd, this); }
};
......@@ -1362,7 +1362,7 @@ class Item_func_longfromgeohash: public Item_func_latlongfromgeohash
static LEX_CSTRING name= {STRING_WITH_LEN("st_longfromgeohash") };
return name;
}
Item *get_copy(THD *thd) override
Item *do_get_copy(THD *thd) const override
{ return get_item_copy<Item_func_longfromgeohash>(thd, this); }
};
......@@ -1382,7 +1382,7 @@ class Item_func_pointfromgeohash: public Item_geometry_func
return name;
}
String *val_str(String *) override;
Item *get_copy(THD *thd) override
Item *do_get_copy(THD *thd) const override
{ return get_item_copy<Item_func_pointfromgeohash>(thd, this); }
};
......
......@@ -2166,7 +2166,7 @@ class Item_func_collect :public Item_sum_int // XXX why *int* ???
return { STRING_WITH_LEN("st_collect(") };
}
Item *copy_or_same(THD* thd) override;
Item *get_copy(THD *thd) override
Item *do_get_copy(THD *thd) const override
{ return get_item_copy<Item_func_collect>(thd, this); }
bool supports_removal() const override
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment