change compat_mode default from MYSQL to INVALID

This commit is contained in:
obdev
2024-02-07 13:51:05 +00:00
committed by ob-robot
parent af06b2b47b
commit cdbcd01b27
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();