From c02bdd18bc8191bd0bad4a0cc502317bead5e057 Mon Sep 17 00:00:00 2001 From: obdev Date: Fri, 9 Feb 2024 07:56:01 +0000 Subject: [PATCH] Prohibit the conversion of CLOB to OTIMESTAMP --- src/sql/engine/expr/ob_datum_cast.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sql/engine/expr/ob_datum_cast.cpp b/src/sql/engine/expr/ob_datum_cast.cpp index 8e61ac85bf..5fee214123 100644 --- a/src/sql/engine/expr/ob_datum_cast.cpp +++ b/src/sql/engine/expr/ob_datum_cast.cpp @@ -11839,7 +11839,7 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] = cast_not_expected,/*bit*/ cast_not_expected,/*enumset*/ cast_not_expected,/*enumset_inner*/ - text_otimestamp,/*otimestamp*/ + cast_inconsistent_types,/*otimestamp*/ text_raw,/*raw*/ text_interval,/*interval*/ text_rowid,/*rowid*/ @@ -12071,7 +12071,7 @@ ObExpr::EvalFunc OB_DATUM_CAST_ORACLE_IMPLICIT[ObMaxTC][ObMaxTC] = cast_not_expected,/*bit*/ cast_not_expected,/*enumset*/ cast_not_expected,/*enumset_inner*/ - lob_otimestamp,/*otimestamp*/ + cast_inconsistent_types,/*otimestamp*/ lob_raw,/*raw*/ lob_interval,/*interval*/ lob_rowid,/*rowid*/