diff options
| author | Cassio de Campos <cassiopc@gmail.com> | 2017-11-01 15:57:16 +0000 |
|---|---|---|
| committer | Cassio de Campos <cassiopc@gmail.com> | 2017-11-01 15:57:16 +0000 |
| commit | f8d1ffa7c08687efd80c0e6fc2bdfd02b7d4e950 (patch) | |
| tree | ba2872c169f00ccf585d6e70664fa3e31cb467c6 /src | |
| parent | d905ad849668e2d961a1277f5e5cc66fff7d1219 (diff) | |
| download | boca-f8d1ffa7c08687efd80c0e6fc2bdfd02b7d4e950.tar.gz boca-f8d1ffa7c08687efd80c0e6fc2bdfd02b7d4e950.zip | |
avoid transaction to speed up
Diffstat (limited to 'src')
| -rw-r--r-- | src/fextdata.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fextdata.php b/src/fextdata.php index 9413f06..4a891c5 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) { |