fix codegen convert tablelookup core

This commit is contained in:
st0
2022-01-14 10:38:22 +08:00
committed by LINxiansheng
parent 144d6aa2de
commit c6185fe3ea

View File

@ -7008,7 +7008,7 @@ int ObCodeGeneratorImpl::convert_table_lookup(ObLogTableLookup& op, const PhyOps
} }
#endif #endif
// in any case, destroy row desc // in any case, destroy row desc
if (NULL != table_scan_out_ops.at(0).second) { if (table_scan_out_ops.count() > 0 && NULL != table_scan_out_ops.at(0).second) {
ob_delete(table_scan_out_ops.at(0).second); ob_delete(table_scan_out_ops.at(0).second);
} }
return ret; return ret;