fix:is json check constrain bug, json-table path expr not quoted supported, gdb charset result incorrect

This commit is contained in:
obdev
2023-09-22 09:44:04 +00:00
committed by ob-robot
parent be7cd4252e
commit 5a47b904ed
8 changed files with 179 additions and 40 deletions

View File

@ -13,6 +13,7 @@
#include <gtest/gtest.h>
#define private public
#include "lib/json_type/ob_json_tree.h"
#include "lib/json_type/ob_json_bin.h"
#include "lib/json_type/ob_json_parse.h"
#include "lib/timezone/ob_timezone_info.h"
#undef private
@ -2264,7 +2265,7 @@ TEST_F(TestJsonTree, test_big_json)
char value_buffer[16] = {0};
int idx = 0;
for (int64_t pos = 0; pos < 20000; ++pos) {
for (int64_t pos = 0; pos < 50000; ++pos) {
for (int i = 0; i < 32; ++i) {
idx = ObRandom::rand(0, 15);
key_buffer[i] = origin[idx];