change compat_mode default from MYSQL to INVALID

This commit is contained in:
obdev
2023-12-08 07:47:33 +00:00
committed by ob-robot
parent 6a2fd09d6b
commit e52308603f
10 changed files with 10 additions and 2 deletions

View File

@ -685,6 +685,7 @@ TEST_F(TestJsonPath, test_member_node)
TEST_F(TestJsonPath, test_ellipsis_node)
{
int ret = OB_SUCCESS;
set_compat_mode(oceanbase::lib::Worker::CompatMode::MYSQL);
ObArenaAllocator allocator(ObModIds::TEST);
ObJsonPath test_path("$**[10]", &allocator);
ret = test_path.parse_path();