Commit 5b5e8257 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

[t:3084], tweak some more to fix mysql test failure

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@26073 c7de825b-a66e-492c-adef-691d508d4ae1
parent 48bb0868
......@@ -6234,7 +6234,7 @@ double ha_tokudb::read_time(
total_scan = scan_time();
if (stats.records < rows) {
ret_val = is_clustering ? total_scan + 1.0 : total_scan;
ret_val = is_clustering ? total_scan + 0.00001 : total_scan;
goto cleanup;
}
......@@ -6242,7 +6242,7 @@ double ha_tokudb::read_time(
// one disk seek per range plus the proportional scan time of the rows
//
ret_val = (ranges + (double) rows / (double) stats.records * total_scan);
ret_val = is_clustering ? ret_val + 1.0 : ret_val;
ret_val = is_clustering ? ret_val + 0.00001 : ret_val;
cleanup:
return ret_val;
......
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