From 0c40eb63caeb75c72d9f8fd6c36228baf290b375 Mon Sep 17 00:00:00 2001 From: Hannes Verschore Date: Wed, 12 Aug 2015 03:14:43 -0700 Subject: [PATCH] Make sure compare with tip works again after db change --- website/regressions/data-revision.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/website/regressions/data-revision.php b/website/regressions/data-revision.php index a00ccd8..407a16d 100644 --- a/website/regressions/data-revision.php +++ b/website/regressions/data-revision.php @@ -49,8 +49,9 @@ while ($scores = mysql_fetch_assoc($qScores)) { $all_scores[] = $score; } -$qScores = mysql_query("SELECT * +$qScores = mysql_query("SELECT awfy_breakdown.* FROM awfy_breakdown + LEFT JOIN awfy_score ON awfy_score.id = score_id WHERE build_id = ".$data["id"]) or die(mysql_error()); while ($scores = mysql_fetch_assoc($qScores)) { $suite_version_id = get("suite_test", $scores["suite_test_id"], "suite_version_id");