Commit 49737f8e authored by Yoni Fogel's avatar Yoni Fogel

Addresses #724

changed magic number 100 to a constant

git-svn-id: file:///svn/tokudb@3625 c7de825b-a66e-492c-adef-691d508d4ae1
parent 22ccd070
......@@ -545,14 +545,15 @@ void test_split_merge(enum create_type create_choice, enum close_when_done close
void init_values(enum rand_type rand_choice) {
const u_int32_t test_size = 100;
if (rand_choice == TEST_RANDOM) {
init_distinct_random_values(random_seed, 100);
init_distinct_random_values(random_seed, test_size);
}
else if (rand_choice == TEST_SORTED) {
init_distinct_sorted_values(random_seed, 100);
init_distinct_sorted_values(random_seed, test_size);
}
else if (rand_choice == TEST_IDENTITY) {
init_identity_values(random_seed, 100);
init_identity_values( random_seed, test_size);
}
else assert(FALSE);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment