summaryrefslogtreecommitdiff
path: root/sql/item_geofunc.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2016-07-01 21:45:57 +0400
committerAlexander Barkov <bar@mariadb.org>2016-07-01 21:45:57 +0400
commit675d8a94f5fb3b9e33a79fcfff3dc2db02c0ca61 (patch)
tree94fd81a018d5a06c8f423d1ea219a1d33f462bde /sql/item_geofunc.h
parentffac85482b0de13d7780b47edd2a5d5947b528dd (diff)
downloadmariadb-git-675d8a94f5fb3b9e33a79fcfff3dc2db02c0ca61.tar.gz
Removing the "thd" argument from Item::create_field_for_create_select().
"thd" is available through the "table" argument, as table->in_use.
Diffstat (limited to 'sql/item_geofunc.h')
-rw-r--r--sql/item_geofunc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_geofunc.h b/sql/item_geofunc.h
index 93d52013e89..58e1d0a78fb 100644
--- a/sql/item_geofunc.h
+++ b/sql/item_geofunc.h
@@ -40,7 +40,7 @@ public:
Item_geometry_func(THD *thd, List<Item> &list): Item_str_func(thd, list) {}
void fix_length_and_dec();
enum_field_types field_type() const { return MYSQL_TYPE_GEOMETRY; }
- Field *create_field_for_create_select(THD *thd, TABLE *table);
+ Field *create_field_for_create_select(TABLE *table);
};
class Item_func_geometry_from_text: public Item_geometry_func