update histogram buckets from pointer to ObArrayWrap

This commit is contained in:
wangt1xiuyi
2023-02-10 11:11:04 +00:00
committed by ob-robot
parent 0a9101d215
commit ca1fcada83
23 changed files with 270 additions and 299 deletions

View File

@ -680,7 +680,7 @@ TEST_F(TestOptEstSel, histogram)
num_elements.push_back(infos[i][2]);
}
init_histogram(ObHistType::FREQUENCY, 100, 0.0025,
init_histogram(allocator_, ObHistType::FREQUENCY, 100, 0.0025,
repeat_count, value, num_elements, opt_stat_.get_histogram());
run_test(test_file, result_file, tmp_file, 10);