From 30fe92c4e84a22c196d675cc79ed8a32667bc4fd Mon Sep 17 00:00:00 2001 From: obdev Date: Wed, 7 Feb 2024 04:47:05 +0000 Subject: [PATCH] [CP][BUGFIX]fix mysql pl text type miss match --- src/share/object/ob_obj_cast.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/share/object/ob_obj_cast.cpp b/src/share/object/ob_obj_cast.cpp index b0aff8d6a3..423364c76a 100644 --- a/src/share/object/ob_obj_cast.cpp +++ b/src/share/object/ob_obj_cast.cpp @@ -6205,6 +6205,7 @@ static int text_text(const ObObjType expect_type, ObObjCastParams ¶ms, } } else { out = in; + out.set_type(expect_type); // set expect_type } LOG_DEBUG("obj text cast to text", K(in), K(out), K(ret), K(in_type), K(out_type), K(in_cs_type), K(out_cs_type));