diff --git a/server-tools/instance-manager/instance.cc b/server-tools/instance-manager/instance.cc index 33a31cfd97e..53f859ef7ae 100644 --- a/server-tools/instance-manager/instance.cc +++ b/server-tools/instance-manager/instance.cc @@ -512,7 +512,6 @@ int Instance::stop() */ waitchild= options.shutdown_delay_val; } - } kill_instance(SIGTERM); /* sleep on condition to wait for SIGCHLD */ diff --git a/sql/item_geofunc.cc b/sql/item_geofunc.cc index c5200e26cb7..ee4df8f1cfc 100644 --- a/sql/item_geofunc.cc +++ b/sql/item_geofunc.cc @@ -27,7 +27,7 @@ Field *Item_geometry_func::tmp_table_field(TABLE *t_arg) { - return new Field_geom(max_length, maybe_null, name, t_arg, + return new Field_geom(max_length, maybe_null, name, t_arg->s, (Field::geometry_type) get_geometry_type()); }