Commit 02fb9a88 authored by Rich Prohaska's avatar Rich Prohaska

DB-724 run bf_create_select_hash_part on PS 5.6.21

parent 753e4f3f
...@@ -65,8 +65,8 @@ while ($i < $maxq) { ...@@ -65,8 +65,8 @@ while ($i < $maxq) {
} }
let $time_elapsed_off = `select unix_timestamp() - $s`; let $time_elapsed_off = `select unix_timestamp() - $s`;
# check that bulk fetch on is at least 2 times faster than bulk fetch off # check that bulk fetch on is at least 1.5 times faster than bulk fetch off
let $verdict = `select $time_elapsed_on > 0 && $time_elapsed_off >= 2 * $time_elapsed_on`; let $verdict = `select $time_elapsed_on > 0 && $time_elapsed_off >= 1.5 * $time_elapsed_on`;
echo $verdict; echo $verdict;
if ($debug) { echo index $verdict $time_elapsed_off $time_elapsed_on; } if ($debug) { echo index $verdict $time_elapsed_off $time_elapsed_on; }
if (!$verdict) { echo index $time_elapsed_off $time_elapsed_on; } if (!$verdict) { echo index $time_elapsed_off $time_elapsed_on; }
...@@ -93,8 +93,8 @@ while ($i < $maxq) { ...@@ -93,8 +93,8 @@ while ($i < $maxq) {
} }
let $time_elapsed_off = `select unix_timestamp() - $s`; let $time_elapsed_off = `select unix_timestamp() - $s`;
# check that bulk fetch on is at least 2 times faster than bulk fetch off # check that bulk fetch on is at least 1.5 times faster than bulk fetch off
let $verdict = `select $time_elapsed_on > 0 && $time_elapsed_off >= 2 * $time_elapsed_on`; let $verdict = `select $time_elapsed_on > 0 && $time_elapsed_off >= 1.5 * $time_elapsed_on`;
echo $verdict; echo $verdict;
if ($debug) { echo range $verdict $time_elapsed_off $time_elapsed_on; } if ($debug) { echo range $verdict $time_elapsed_off $time_elapsed_on; }
if (!$verdict) { echo range $time_elapsed_off $time_elapsed_on; } if (!$verdict) { echo range $time_elapsed_off $time_elapsed_on; }
......
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