mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=3333
This commit is contained in:
parent
61e6e2ffc1
commit
d4a4ccc57f
|
@ -12019,4 +12019,11 @@ Rom May 4 2004
|
|||
|
||||
html/inc/
|
||||
db_ops.inc
|
||||
|
||||
Rom May 4 2004
|
||||
- Include a link on the failure page that'll bring up a report with only those
|
||||
failures
|
||||
|
||||
html/inc/
|
||||
db_ops.inc
|
||||
|
|
@ -58,6 +58,7 @@ function join_query_string($s1, $s2) {
|
|||
// server_state (== x if z nonzero)
|
||||
// outcome (== x if z nonzero)
|
||||
// client_state (== x if z nonzero)
|
||||
// exit_status (== x if z nonzero)
|
||||
// clauses (literals added after the above)
|
||||
// sort_by (order by x desc added after all else)
|
||||
//
|
||||
|
@ -161,6 +162,7 @@ class SqlQueryString {
|
|||
$this->addeqnz('server_state');
|
||||
$this->addeqnz('outcome');
|
||||
$this->addeqnz('client_state');
|
||||
$this->addeqnz('exit_status');
|
||||
if ($_GET['clauses']) {
|
||||
$this->addclause($_GET['clauses']);
|
||||
}
|
||||
|
@ -335,6 +337,9 @@ function show_failure_result_summary_by_platform() {
|
|||
$query_appid = $_GET['appid'];
|
||||
$query_received_time = time() - $_GET['nsecs'];
|
||||
|
||||
$q = new SqlQueryString();
|
||||
$q->process_form_items();
|
||||
|
||||
$main_query = "
|
||||
SELECT
|
||||
app_version_num AS App_Version,
|
||||
|
@ -369,8 +374,10 @@ GROUP BY
|
|||
exit_status
|
||||
";
|
||||
|
||||
$urlquery = $q->urlquery;
|
||||
$result = mysql_query($main_query);
|
||||
|
||||
|
||||
echo "<table>\n";
|
||||
echo "<tr><th>App Version</th><th>OS Name</th><th>OS Version</th><th>Exit Status</th><th>Error Count</th></tr>\n";
|
||||
|
||||
|
@ -392,7 +399,7 @@ GROUP BY
|
|||
echo "</td>";
|
||||
|
||||
echo "<td align=left valign=top>";
|
||||
echo exit_status_string($res);
|
||||
echo link_results(exit_status_string($res), $urlquery, 'exit_status=$res->exit_status');
|
||||
echo "</td>";
|
||||
|
||||
echo "<td align=left valign=top>";
|
||||
|
|
Loading…
Reference in New Issue