From 397cfa727525723e68e1cd27198e774d1db9e124 Mon Sep 17 00:00:00 2001 From: Megan Watson Date: Thu, 6 Dec 2007 07:49:45 +0000 Subject: [PATCH] KTS-1850 "Major performance issue - SQL query" Updated. Removed lines replaced by the patch. --- lib/ktentity.inc | 2 -- 1 file changed, 0 insertions(+), 2 deletions(-) diff --git a/lib/ktentity.inc b/lib/ktentity.inc index d986342..840d9cc 100644 --- a/lib/ktentity.inc +++ b/lib/ktentity.inc @@ -795,13 +795,11 @@ class KTEntityUtil { $exec .= join(", ", $aExecArgs); $exec .= \');\'; eval($exec); - $this->_save($oObject); $this->cacheGlobal[$this->iId] =& $oObject; return $res; /* */ }'; - $allcode[] = sprintf('function %s ($iId) { $this->iId = $iId; }' . "\n", $sProxyClassName); $allcode[] = sprintf('function %s ($iId) { $this->iId = $iId; $this->cacheGlobal =& $GLOBALS["_OBJECTCACHE"][%s]; }' . "\n", $sProxyClassName, $sClassName); $gen = sprintf("class %s extends %s {\n", $sProxyClassName, $sClassName); -- libgit2 0.21.4