Removing the "thd" argument from Item::create_field_for_create_select().

"thd" is available through the "table" argument, as table->in_use.
This commit is contained in:
Alexander Barkov 2016-07-01 21:45:57 +04:00
commit 675d8a94f5
7 changed files with 11 additions and 12 deletions

View file

@ -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,