[GIS]fix gis extern sorter fd leak
This commit is contained in:
@ -57,6 +57,12 @@ int ObSpatialIndexLookupOp::init(const ObDASScanCtDef *lookup_ctdef,
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ObSpatialIndexLookupOp::~ObSpatialIndexLookupOp()
|
||||||
|
{
|
||||||
|
sorter_.clean_up();
|
||||||
|
sorter_.~ObExternalSort();
|
||||||
|
}
|
||||||
|
|
||||||
int ObSpatialIndexLookupOp::reset_lookup_state(bool need_switch_param)
|
int ObSpatialIndexLookupOp::reset_lookup_state(bool need_switch_param)
|
||||||
{
|
{
|
||||||
is_inited_ = false;
|
is_inited_ = false;
|
||||||
|
@ -38,7 +38,7 @@ public:
|
|||||||
is_sorted_(false),
|
is_sorted_(false),
|
||||||
is_whole_range_(false),
|
is_whole_range_(false),
|
||||||
is_inited_(false) {}
|
is_inited_(false) {}
|
||||||
virtual ~ObSpatialIndexLookupOp() {}
|
virtual ~ObSpatialIndexLookupOp();
|
||||||
|
|
||||||
int init(const ObDASScanCtDef *lookup_ctdef,
|
int init(const ObDASScanCtDef *lookup_ctdef,
|
||||||
ObDASScanRtDef *lookup_rtdef,
|
ObDASScanRtDef *lookup_rtdef,
|
||||||
|
Reference in New Issue
Block a user