From: Enrico Tassi Date: Wed, 21 Dec 2005 15:53:46 +0000 (+0000) Subject: fix X-Git-Tag: make_still_working~7945 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=1e44c8020c85761514beb8f5dd6cd5e609003b10;p=helm.git fix --- 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 "
  • ";