diff options
| author | Cassio de Campos <cassiopc@gmail.com> | 2017-11-01 16:47:14 +0000 |
|---|---|---|
| committer | Cassio de Campos <cassiopc@gmail.com> | 2017-11-01 16:47:14 +0000 |
| commit | 6c7db3cfb3e72e6bf7bb8b5c530ec41fa03ec666 (patch) | |
| tree | 8d97492e81f453a97c00c3e560864f586321b296 /src/fextdata.php | |
| parent | e6da9360c43d4aa93a24e25399fd99e7238d12af (diff) | |
| download | boca-6c7db3cfb3e72e6bf7bb8b5c530ec41fa03ec666.tar.gz boca-6c7db3cfb3e72e6bf7bb8b5c530ec41fa03ec666.zip | |
no trans possible
Diffstat (limited to 'src/fextdata.php')
| -rw-r--r-- | src/fextdata.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fextdata.php b/src/fextdata.php index 800b50d..4673fb4 100644 --- a/src/fextdata.php +++ b/src/fextdata.php @@ -444,7 +444,7 @@ function importFromXML($ar,$contest,$site,$tomain=false,$uptime=0,$mainsite=-1) // print_r($values); $conn = DBConnect(); if ($conn==null) return array(false, $logstr); - DBExec($conn,"begin work","importFromXML(begin)"); + //DBExec($conn,"begin work","importFromXML(begin)"); // DBExec($conn,"lock","importFromXML(lock)"); $r = DBExec($conn, "select * from contesttable where contestnumber=$contest"); if (DBnLines($r)==0) { @@ -455,8 +455,8 @@ function importFromXML($ar,$contest,$site,$tomain=false,$uptime=0,$mainsite=-1) } $ct = DBRow($r,0); - // DBClose($conn); - //$conn=null; + DBClose($conn); + $conn=null; $firsttimetime=true; $tables = array('contesttable','answertable','langtable','problemtable','sitetable','sitetimetable','usertable','clartable','runtable','tasktable'); |