[FEAT MERGE] Support float/double(m, d) in mysql mode
This commit is contained in:
@ -68,6 +68,7 @@ void TestPkeyRangeSliceCalc::SetUp()
|
||||
ObObjType::ObIntType,
|
||||
ObCmpNullPos::NULL_LAST,
|
||||
ObCollationType::CS_TYPE_BINARY,
|
||||
SCALE_UNKNOWN_YET,
|
||||
false/*is_orace_mode*/);
|
||||
ASSERT_EQ(OB_SUCCESS, sort_cmp_funcs_.push_back(cmp_func));
|
||||
int_datum_.int_ = &tmp_int_;
|
||||
|
||||
@ -254,6 +254,7 @@ public:
|
||||
tmp_type,
|
||||
field_collation.null_pos_,
|
||||
field_collation.cs_type_,
|
||||
SCALE_UNKNOWN_YET,
|
||||
lib::is_oracle_mode());
|
||||
ObHashFunc hash_func;
|
||||
if (0 == i) {
|
||||
@ -351,6 +352,7 @@ public:
|
||||
tmp_type,
|
||||
field_collation.null_pos_,
|
||||
field_collation.cs_type_,
|
||||
SCALE_UNKNOWN_YET,
|
||||
lib::is_oracle_mode());
|
||||
if (OB_FAIL(spec.sort_cmp_funs_.push_back(cmp_func))) {
|
||||
LOG_WARN("failed to push back sort function", K(ret));
|
||||
|
||||
@ -298,6 +298,7 @@ public:
|
||||
tmp_type,
|
||||
field_collation.null_pos_,
|
||||
field_collation.cs_type_,
|
||||
SCALE_UNKNOWN_YET,
|
||||
lib::is_oracle_mode());
|
||||
ObHashFunc hash_func;
|
||||
if (0 == i) {
|
||||
@ -420,6 +421,7 @@ public:
|
||||
tmp_type,
|
||||
field_collation.null_pos_,
|
||||
field_collation.cs_type_,
|
||||
SCALE_UNKNOWN_YET,
|
||||
lib::is_oracle_mode());
|
||||
if (OB_FAIL(spec.sort_cmp_funs_.push_back(cmp_func))) {
|
||||
LOG_WARN("failed to push back sort function", K(ret));
|
||||
@ -530,6 +532,7 @@ public:
|
||||
tmp_type,
|
||||
field_collation.null_pos_,
|
||||
field_collation.cs_type_,
|
||||
SCALE_UNKNOWN_YET,
|
||||
lib::is_oracle_mode());
|
||||
ObHashFunc hash_func;
|
||||
if (0 == i) {
|
||||
@ -646,6 +649,7 @@ public:
|
||||
tmp_type,
|
||||
field_collation.null_pos_,
|
||||
field_collation.cs_type_,
|
||||
SCALE_UNKNOWN_YET,
|
||||
lib::is_oracle_mode());
|
||||
if (OB_FAIL(spec.cmp_funcs_.push_back(cmp_func))) {
|
||||
LOG_WARN("failed to push back sort function", K(ret));
|
||||
|
||||
@ -265,6 +265,7 @@ public:
|
||||
tmp_type,
|
||||
field_collation.null_pos_,
|
||||
field_collation.cs_type_,
|
||||
SCALE_UNKNOWN_YET,
|
||||
lib::is_oracle_mode());
|
||||
if (OB_FAIL(spec.sort_cmp_funs_.push_back(cmp_func))) {
|
||||
LOG_WARN("failed to push back sort function", K(ret));
|
||||
@ -359,6 +360,7 @@ public:
|
||||
tmp_type,
|
||||
field_collation.null_pos_,
|
||||
field_collation.cs_type_,
|
||||
SCALE_UNKNOWN_YET,
|
||||
lib::is_oracle_mode());
|
||||
if (OB_FAIL(spec.cmp_funcs_.push_back(cmp_func))) {
|
||||
LOG_WARN("failed to push back sort function", K(ret));
|
||||
|
||||
Reference in New Issue
Block a user