You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `label2coveragefile` table implicitly relates the `coverage` and
`label` tables via a three-way relationship, duplicating the role of the
`coverage` table which relates the `build` and `coveragefile` tables.
This PR fixes that by creating a new `label2coverage` table which
appropriately relates labels to coverage results.
Copy file name to clipboardExpand all lines: app/cdash/include/filterdataFunctions.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -506,7 +506,7 @@ public function getSqlField($field)
506
506
break;
507
507
508
508
case'labels':
509
-
$sql_field = "(SELECT $this->TextConcat AS labels FROM (SELECT label.text, coverage.fileid, coverage.buildid FROM label, label2coveragefile, coverage WHERE label2coveragefile.labelid=label.id AND label2coveragefile.buildid=coverage.buildid AND label2coveragefile.coveragefileid=coverage.fileid) AS filelabels WHERE fileid=c.fileid AND buildid=c.buildid)";
509
+
$sql_field = "(SELECT $this->TextConcat AS labels FROM (SELECT label.text, coverage.fileid, coverage.buildid FROM label, label2coverage, coverage WHERE label2coverage.labelid=label.id AND label2coverage.coverageid=coverage.id) AS filelabels WHERE fileid=c.fileid AND buildid=c.buildid)";
0 commit comments