소스 검색

XML data loader: fixed issue with transations

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@992 a333f486-631f-4898-b8df-5754b55c2be0
romainq 14 년 전
부모
커밋
ce72e3dab4
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      webservices/backoffice.dataloader.php

+ 1 - 2
webservices/backoffice.dataloader.php

@@ -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());