mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
XML data loader: fixed issue with transations
SVN:trunk[992]
This commit is contained in:
@@ -109,8 +109,7 @@ try
|
||||
|
||||
|
||||
// The XMLDataLoader constructor has initialized the DB, let's start a transaction
|
||||
CMDBSource::Query('SET AUTOCOMMIT=0');
|
||||
CMDBSource::Query('BEGIN WORK');
|
||||
CMDBSource::Query('START TRANSACTION');
|
||||
|
||||
$oChange = MetaModel::NewObject("CMDBChange");
|
||||
$oChange->Set("date", time());
|
||||
|
||||
Reference in New Issue
Block a user