summaryrefslogtreecommitdiff
path: root/sql/item_geofunc.cc
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.cc
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.cc')
-rw-r--r--sql/item_geofunc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_geofunc.cc b/sql/item_geofunc.cc
index bc4bde575b0..c856aa985b3 100644
--- a/sql/item_geofunc.cc
+++ b/sql/item_geofunc.cc
@@ -40,7 +40,7 @@
#include "opt_range.h"
-Field *Item_geometry_func::create_field_for_create_select(THD *thd, TABLE *t_arg)
+Field *Item_geometry_func::create_field_for_create_select(TABLE *t_arg)
{
Field *result;
if ((result= new Field_geom(max_length, maybe_null, name, t_arg->s,