diff options
Diffstat (limited to 'sql/item_geofunc.cc')
-rw-r--r-- | sql/item_geofunc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_geofunc.cc b/sql/item_geofunc.cc index 7ac2e054e8c..e361793f77d 100644 --- a/sql/item_geofunc.cc +++ b/sql/item_geofunc.cc @@ -43,7 +43,7 @@ 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, + if ((result= new Field_geom(max_length, maybe_null, &name, t_arg->s, get_geometry_type()))) result->init(t_arg); return result; |