From 1e44c8020c85761514beb8f5dd6cd5e609003b10 Mon Sep 17 00:00:00 2001 From: Enrico Tassi Date: Wed, 21 Dec 2005 15:53:46 +0000 Subject: [PATCH] fix --- helm/matita/scripts/public_html/bench.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/helm/matita/scripts/public_html/bench.php b/helm/matita/scripts/public_html/bench.php index 9095b2fa7..e6cdafd24 100644 --- a/helm/matita/scripts/public_html/bench.php +++ b/helm/matita/scripts/public_html/bench.php @@ -42,7 +42,7 @@ $query_csc_opt = urlencode("Performances (opt and GC) per mark@@@select mark, SE $query_total = urlencode( -"Max N@@@select MAX(COUNT(DISTINCT test)) from bench group by mark order by mark desc" +"Max N@@@select MAX(*) from tab where col = (select COUNT(DISTINCT test)) from bench group by mark order by mark desc)" . "###" . "Number of compiled tests@@@select mark, COUNT(DISTINCT test) as N from bench group by mark order by mark desc" ); @@ -57,8 +57,8 @@ function minus1_to_all($s){ function links_of($name,$q,$limits){ echo "
  • $name "; foreach($limits as $l) { - $q1 = str_replace(urlencode("###"), " LIMIT 0,$l;" . urlencode("###"), $q); - echo "" . + $q1 = str_replace(urlencode("***"), " LIMIT 0,$l;", $q); + echo "" . minus1_to_all($l) . " "; } echo "
  • "; -- 2.39.2