Commit 3ebf117c authored by John Esmet's avatar John Esmet Committed by Yoni Fogel

refs #5351 correct corner case that was causing +inf, +inf point to not be covered by unit test


git-svn-id: file:///svn/toku/tokudb@50109 c7de825b-a66e-492c-adef-691d508d4ae1
parent 6de19f86
......@@ -15,7 +15,7 @@ const size_t num_points = 60;
static const DBT *get_dbt_by_iteration(size_t i) {
if (i == 0) {
return toku_dbt_negative_infinity();
} else if (i < num_points) {
} else if (i < (num_points - 1)) {
return get_dbt(i);
} else {
return toku_dbt_positive_infinity();
......
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