diff options
| author | Cassio de Campos <cassiopc@gmail.com> | 2017-11-01 16:43:10 +0000 |
|---|---|---|
| committer | Cassio de Campos <cassiopc@gmail.com> | 2017-11-01 16:43:10 +0000 |
| commit | e6da9360c43d4aa93a24e25399fd99e7238d12af (patch) | |
| tree | 4693fca468b9c749b5f3412098956b9e47dc45a3 /src/fextdata.php | |
| parent | 796a28bc023f6d0fb844ea14f3e95f98205d89f2 (diff) | |
| download | boca-e6da9360c43d4aa93a24e25399fd99e7238d12af.tar.gz boca-e6da9360c43d4aa93a24e25399fd99e7238d12af.zip | |
trans
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 4673fb4..800b50d 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'); |