fix st_makevalid as GENERATED_COL

This commit is contained in:
wu-xingying 2024-04-24 06:25:10 +00:00 committed by ob-robot
parent bc062e48a6
commit e36e4917bf
3 changed files with 247 additions and 248 deletions

View File

@ -29,7 +29,7 @@ namespace sql
{
ObExprPrivSTMakeValid::ObExprPrivSTMakeValid(common::ObIAllocator &alloc)
: ObFuncExprOperator(alloc, T_FUN_SYS_PRIV_ST_MAKE_VALID, N_PRIV_ST_MAKEVALID, ZERO_OR_ONE,
NOT_VALID_FOR_GENERATED_COL, NOT_ROW_DIMENSION)
VALID_FOR_GENERATED_COL, NOT_ROW_DIMENSION)
{}
ObExprPrivSTMakeValid::~ObExprPrivSTMakeValid()

View File

@ -300,10 +300,9 @@ TEST_F(TestGeoCommon, sql_udt_to_wkt)
ASSERT_EQ(ObGeoTypeUtil::sql_geo_obj_to_ewkt(map2, allocator, ewkt2), OB_SUCCESS);
ASSERT_EQ(ewkt2 == "SRID=NULL;POINT(9.87 6.54)", true) << ewkt2.ptr();
}
#endif
} // namespace common
} // namespace oceanbase
#endif
int main(int argc, char** argv)
{
::testing::InitGoogleTest(&argc, argv);