]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/scripts/public_html/bench.php
fix
[helm.git] / helm / matita / scripts / public_html / bench.php
index d694307ac0ab0fc30469d2effa460f23735636a6..8a8c71c5b9427ed8de40d590bd5055779255d4a7 100644 (file)
@@ -5,7 +5,7 @@
 // queries ::= query | query "###" queries
 // query ::= name "@@@" sql
 //
-$limits = array("20","50","100","-1");
+$limits = array("20","50","100");
   
 $quey_all = urlencode("Whole content:@@@select * from bench***");
 $query_fail = urlencode(
@@ -61,6 +61,10 @@ function links_of($name,$q,$limits){
     echo "<a href=\"showquery.php?query=$q1;\">" . 
           minus1_to_all($l) . "</a>&nbsp;&nbsp;";
   }
+    $q1 = str_replace(urlencode("***"), " LIMIT 0,-1", $q);
+    echo "<a href=\"showquery.php?query=$q1;\">" . 
+          minus1_to_all("-1") . "</a>&nbsp;&nbsp;";
+  
   echo "</li>";
 }