fix oci pull meta bug
This commit is contained in:
@ -84,8 +84,6 @@ void ObMySQLResult::format_precision_scale_length(int16_t &precision, int16_t &s
|
||||
// format precision from others to oceanbase
|
||||
if (ob_is_nstring(ob_type)) {
|
||||
precision = LS_CHAR; // precision is LS_CHAR means national character set (unicode)
|
||||
} else if (ob_is_varchar_or_char(ob_type, cs_type)) {
|
||||
precision = LS_BYTE; // precision is LS_BYTE means ascii character set (non-unicode)
|
||||
} else if (ObNumberFloatType == ob_type) {
|
||||
precision = tmp_precision; //bit precision, not decimal precision
|
||||
} else if (tmp_precision < OB_MIN_NUMBER_PRECISION || tmp_precision > OB_MAX_NUMBER_PRECISION) {
|
||||
|
Reference in New Issue
Block a user