Merge branch 'column_store'
Co-authored-by: wangt1xiuyi <13547954130@163.com> Co-authored-by: yangqise7en <877793735@qq.com> Co-authored-by: Zach41 <zach_41@163.com>
This commit is contained in:
@ -317,6 +317,16 @@ int ObMPStmtExecute::construct_execute_param_for_arraybinding(int64_t pos)
|
||||
CK (1 == coll->get_column_count());
|
||||
CK (OB_NOT_NULL(data = reinterpret_cast<ObObj*>(coll->get_data())));
|
||||
OX (params_->at(i) = *(data + pos));
|
||||
if (data[pos].is_numeric_type()) {
|
||||
ObAccuracy default_acc =
|
||||
ObAccuracy::DDL_DEFAULT_ACCURACY2[lib::is_oracle_mode()][data[pos].get_type()];
|
||||
if (params_->at(i).get_scale() == NUMBER_SCALE_UNKNOWN_YET) {
|
||||
params_->at(i).set_scale(default_acc.get_scale());
|
||||
}
|
||||
if (params_->at(i).get_precision() == PRECISION_UNKNOWN_YET) {
|
||||
params_->at(i).set_precision(default_acc.get_precision());
|
||||
}
|
||||
}
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user