summaryrefslogtreecommitdiff
path: root/sql-bench
diff options
context:
space:
mode:
authorHakan Kuecuekyilmaz <hakan@askmonty.org>2010-11-29 23:56:27 +0100
committerHakan Kuecuekyilmaz <hakan@askmonty.org>2010-11-29 23:56:27 +0100
commit0906d9e97f612fd428233a53396bd9a3960ef89a (patch)
tree4ea2b30b9866bd0b1105ad8684b2e611adbd962a /sql-bench
parentfde525de3dfc78b2541a4caeb1ba7a32e016018a (diff)
downloadmariadb-git-0906d9e97f612fd428233a53396bd9a3960ef89a.tar.gz
Use three digits after the decimal point for better resolution and comparability of results.
Diffstat (limited to 'sql-bench')
-rw-r--r--sql-bench/compare-results.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql-bench/compare-results.sh b/sql-bench/compare-results.sh
index fec65497c57..fe3563bd0b9 100644
--- a/sql-bench/compare-results.sh
+++ b/sql-bench/compare-results.sh
@@ -512,7 +512,7 @@ sub print_value
else
{
$first=1 if ($first == 0); # Assume that it took one second instead of 0
- $tmp= sprintf("%.2f",$value/$first);
+ $tmp= sprintf("%.3f",$value/$first);
}
if (defined($flags))
{