From ba7e00e1302691cfeb7be8ec80a0b8f122a8a981 Mon Sep 17 00:00:00 2001 From: Pierre Goiffon Date: Tue, 28 May 2019 17:15:59 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B02211=20DataSynchro=20:=20rollback=20oCha?= =?UTF-8?q?nge=20remove=20in=20DBUpdate()=20+=20added=20log=20Be=20conserv?= =?UTF-8?q?ative=20:=20this=20is=20a=20fix=20only=20release...=20oChange?= =?UTF-8?q?=20will=20be=20done=20in=20the=20future,=20it's=20a=20work=20th?= =?UTF-8?q?at=20should=20be=20done=20everywhere=20in=20iTop=20and=20not=20?= =?UTF-8?q?only=20DataSynchro?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- synchro/synchrodatasource.class.inc.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/synchro/synchrodatasource.class.inc.php b/synchro/synchrodatasource.class.inc.php index 682b72953..dd4d43634 100644 --- a/synchro/synchrodatasource.class.inc.php +++ b/synchro/synchrodatasource.class.inc.php @@ -2670,7 +2670,7 @@ class SynchroExecution $aArguments['last_full_load'] = ''; } - $this->m_oStatLog->DBUpdate(); + $this->m_oStatLog->DBUpdate($this->m_oChange); $iStepCount = 0; do @@ -2766,7 +2766,7 @@ class SynchroExecution $bContinue = $this->DoJob3($iMaxChunkSize, $iCurrPos); break; } - $this->m_oStatLog->DBUpdate(); + $this->m_oStatLog->DBUpdate($this->m_oChange); self::$m_oCurrentTask = null; return $bContinue; } @@ -2875,6 +2875,7 @@ class SynchroExecution break; default: + $this->m_oStatLog->AddTrace("Unknown delete policy : $sDeletePolicy"); break; } }