⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 176498 in webkit


Ignore:
Timestamp:
Nov 21, 2014, 8:25:19 PM (12 years ago)
Author:
rniwa@webkit.org
Message:

Unreviewed. Fixed syntax errors.

  • init-database.sql:
  • public/api/commits.php:
Location:
trunk/Websites/perf.webkit.org
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Websites/perf.webkit.org/ChangeLog

    r176497 r176498  
     12014-11-21  Ryosuke Niwa  <rniwa@webkit.org>
     2
     3        Unreviewed. Fixed syntax errors.
     4
     5        * init-database.sql:
     6        * public/api/commits.php:
     7
    182014-11-21  Ryosuke Niwa  <rniwa@webkit.org>
    29
  • trunk/Websites/perf.webkit.org/init-database.sql

    r176422 r176498  
    140140    task_start_run integer REFERENCES test_runs,
    141141    task_end_run integer REFERENCES test_runs,
    142     CONSTRAINT analysis_task_should_be_unique_for_range UNIQUE(task_start_run, task_end_run)
     142    CONSTRAINT analysis_task_should_be_unique_for_range UNIQUE(task_start_run, task_end_run),
    143143    CONSTRAINT analysis_task_should_not_be_associated_with_single_run
    144144        CHECK ((task_start_run IS NULL AND task_end_run IS NULL) OR (task_start_run IS NOT NULL AND task_end_run IS NOT NULL)));
  • trunk/Websites/perf.webkit.org/public/api/commits.php

    r174711 r176498  
    6767
    6868    if ($first && $second) {
    69         $first = commit_from_revision($db, $repository_id, $first)['commit_time'];
    70         $second = commit_from_revision($db, $repository_id, $second)['commit_time'];
     69        $fitrt_commit = commit_from_revision($db, $repository_id, $first);
     70        $second_commit = commit_from_revision($db, $repository_id, $second);
     71        $first = $fitrt_commit['commit_time'];
     72        $second = $second_commit['commit_time'];
    7173        $in_order = $first < $second;
    7274        array_push($values, $in_order ? $first : $second);
Note: See TracChangeset for help on using the changeset viewer.