Просмотр исходного кода

Reviewed benchmark tool (split creation of structure / CIs / Tickets)

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@686 a333f486-631f-4898-b8df-5754b55c2be0
romainq 15 лет назад
Родитель
Сommit
61cfea6b04
3 измененных файлов с 263 добавлено и 456 удалено
  1. 1 1
      core/cmdbobject.class.inc.php
  2. 1 1
      core/dbobject.class.php
  3. 261 454
      setup/benchmark.php

+ 1 - 1
core/cmdbobject.class.inc.php

@@ -338,7 +338,7 @@ abstract class CMDBObject extends DBObject
 		$aChanges = $this->ListChanges();
 		if (count($aChanges) == 0)
 		{
-			throw new CoreWarning("Attempting to update an unchanged object");
+			//throw new CoreWarning("Attempting to update an unchanged object");
 			return;
 		}
 		

+ 1 - 1
core/dbobject.class.php

@@ -948,7 +948,7 @@ abstract class DBObject
 		$aChanges = $this->ListChanges();
 		if (count($aChanges) == 0)
 		{
-			throw new CoreWarning("Attempting to update an unchanged object");
+			//throw new CoreWarning("Attempting to update an unchanged object");
 			return;
 		}
 		$bHasANewExternalKeyValue = false;

Разница между файлами не показана из-за своего большого размера
+ 261 - 454
setup/benchmark.php


Некоторые файлы не были показаны из-за большого количества измененных файлов