From f1fdb36a71526924c8ab361fb3f4889dea60d9eb Mon Sep 17 00:00:00 2001 From: "rniwa@webkit.org" Date: Sat, 24 Jan 2015 00:21:15 +0000 Subject: [PATCH] Unreviewed typo fix. The prefix in triggerable_configurations is "trigconfig", not "trigrepo". * public/admin/tests.php: git-svn-id: https://svn.webkit.org/repository/webkit/trunk@179036 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- Websites/perf.webkit.org/ChangeLog | 6 ++++++ Websites/perf.webkit.org/public/admin/tests.php | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Websites/perf.webkit.org/ChangeLog b/Websites/perf.webkit.org/ChangeLog index 71eea76490b8..519656b6b3b6 100644 --- a/Websites/perf.webkit.org/ChangeLog +++ b/Websites/perf.webkit.org/ChangeLog @@ -1,3 +1,9 @@ +2015-01-23 Ryosuke Niwa + + Unreviewed typo fix. The prefix in triggerable_configurations is "trigconfig", not "trigrepo". + + * public/admin/tests.php: + 2015-01-10 Ryosuke Niwa Unreviewed build fix. Removed the stale code. diff --git a/Websites/perf.webkit.org/public/admin/tests.php b/Websites/perf.webkit.org/public/admin/tests.php index 1dc8473adc22..adbd601dd5b0 100644 --- a/Websites/perf.webkit.org/public/admin/tests.php +++ b/Websites/perf.webkit.org/public/admin/tests.php @@ -45,7 +45,7 @@ if ($action == 'dashboard') { notice("Failed to associate triggerable $triggerable_id with test $test_id on platform $platform_id."); } } else { - $db->query_and_get_affected_rows('DELETE FROM triggerable_configurations WHERE trigrepo_test = $1 AND trigrepo_platform = $2', + $db->query_and_get_affected_rows('DELETE FROM triggerable_configurations WHERE trigconfig_test = $1 AND trigconfig_platform = $2', array($test_id, $platform_id)); } } else if ($action == 'add') { @@ -120,8 +120,8 @@ if ($db) { $test_url = htmlspecialchars($test['test_url']); - $triggerable_platforms = $db->query_and_fetch_all('SELECT * FROM platforms LEFT OUTER JOIN triggerable_configurations - ON trigconfig_platform = platform_id AND trigconfig_test = $1 ORDER BY platform_name', array($test_id)); + $triggerable_platforms = $db->query_and_fetch_all('SELECT * FROM platforms + LEFT OUTER JOIN triggerable_configurations ON trigconfig_platform = platform_id AND trigconfig_test = $1 ORDER BY platform_name', array($test_id)); $triggerables = ''; foreach ($triggerable_platforms as $platform_row) { if (!$test_name_resolver->test_exists_on_platform($test_id, $platform_row['platform_id'])) @@ -137,7 +137,7 @@ if ($db) {