[optimization] use inline optimize ExprContext::get_value (#5385)

This commit is contained in:
stdpain
2021-02-16 22:35:14 +08:00
committed by GitHub
parent 99e1a97822
commit 7eae3e280a
33 changed files with 40 additions and 8 deletions

View File

@ -244,13 +244,6 @@ void ExprContext::get_value(TupleRow* row, bool as_ascii, TColumnValue* col_val)
#endif
}
void* ExprContext::get_value(TupleRow* row) {
if (_root->is_slotref()) {
return SlotRef::get_value(_root, row);
}
return get_value(_root, row);
}
bool ExprContext::is_nullable() {
if (_root->is_slotref()) {
return SlotRef::is_nullable(_root);