summaryrefslogtreecommitdiff
path: root/sql-bench
diff options
context:
space:
mode:
authorHakan Kuecuekyilmaz <hakan@askmonty.org>2010-11-29 23:58:18 +0100
committerHakan Kuecuekyilmaz <hakan@askmonty.org>2010-11-29 23:58:18 +0100
commitb9589e2ed717b60152428f743f11e9063cae3e02 (patch)
treea79edfb051213db8c7e6dd0f6cbd3524259ce1b0 /sql-bench
parent42187df61e15e7ce8bea03779acba490af26ff7e (diff)
downloadmariadb-git-b9589e2ed717b60152428f743f11e9063cae3e02.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))
{