From a1801e53a2ba045333ec1fd77ccb8e4ba88e3960 Mon Sep 17 00:00:00 2001 From: Romain Quetiez Date: Wed, 20 Nov 2013 16:16:19 +0000 Subject: [PATCH] Got rid of an unnecessary query (responsible for 8% of the time spent in a standard iTop page!!!) SVN:trunk[2974] --- core/sqlquery.class.inc.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/sqlquery.class.inc.php b/core/sqlquery.class.inc.php index 6bede13b7..e9dc9a85a 100644 --- a/core/sqlquery.class.inc.php +++ b/core/sqlquery.class.inc.php @@ -488,8 +488,6 @@ class SQLQuery private function privRenderSingleTable(&$aFrom, &$aFields, &$aGroupBy, &$aDelTables, &$aSetValues, &$aSelectedIdFields, $sCallerAlias = '', $aJoinData) { - $aActualTableFields = CMDBSource::GetTableFieldsList($this->m_sTable); - $aTranslationTable[$this->m_sTable]['*'] = $this->m_sTableAlias; // Handle the various kinds of join (or first table in the list)