From 09134766cd1ce6d19fc77807bd52a899dde2eb05 Mon Sep 17 00:00:00 2001 From: cassiopc Date: Fri, 25 Sep 2015 10:50:00 +0100 Subject: minor fixes --- src/frun.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/frun.php') diff --git a/src/frun.php b/src/frun.php index bdd1a02..5c5c2ec 100644 --- a/src/frun.php +++ b/src/frun.php @@ -487,7 +487,7 @@ function DBUpdateRunAutojudging($contest, $site, $number, $ip, $answer, $stdout, return true; } - echo "DEBUG: $contest, $site, " .$a["usernumber"].", $site, $number, $retval\n"; + //echo "DEBUG: $contest, $site, " .$a["usernumber"].", $site, $number, $retval\n"; if(DBUpdateRunO($contest, $site, $a["usernumber"], $site, $number, $retval, $c)==false) { DBExec($c, "rollback work", "DBUpdateRunAutoJudging(rollback)"); LOGError("Unable to automatically update a run answer (run=$number, site=$site, ". @@ -868,7 +868,7 @@ function DBUserRuns($contest,$site,$user) { "r.runfilename as filename, r.rundata as oid, " . "p.problemcolorname as colorname, p.problemcolor as color, a.yes as yes, " . "p.problemname as problem, r.runstatus as status, l.langname as language, l.langextension as extension, " . - "a.runanswer as answer, a.fake as ansfake, r.rundatediffans as anstime, " . + "a.runanswer as answer, a.fake as ansfake, r.rundatediffans as anstime, r.autoanswer as autoanswer, " . "r.runanswer1 as answer1, r.runanswer2 as answer2 " . "from runtable as r, problemtable as p, answertable as a, langtable as l " . "where r.contestnumber=$contest and p.contestnumber=r.contestnumber and " . -- cgit v1.2.3