[Bug](topn opt) Fix be crash when enable topn opt with larger thresho… (#18858)
topn opt should be inited when update it
This commit is contained in:
@ -124,6 +124,10 @@ Status RuntimePredicate::update(const Field& value, const String& col_name, bool
|
||||
return Status::OK();
|
||||
}
|
||||
|
||||
if (!_inited) {
|
||||
return Status::OK();
|
||||
}
|
||||
|
||||
std::unique_lock<std::shared_mutex> wlock(_rwlock);
|
||||
|
||||
// TODO why null
|
||||
|
||||
Reference in New Issue
Block a user