Added $GLOBALS['TYPO3_DB']->sql_free_result() to TCEmain::rawCopyPageContent() to...
authorDmitry Dulepov <dmitry.dulepov@gmail.com>
Mon, 25 Jun 2007 18:30:52 +0000 (18:30 +0000)
committerDmitry Dulepov <dmitry.dulepov@gmail.com>
Mon, 25 Jun 2007 18:30:52 +0000 (18:30 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@2367 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_tcemain.php

index 48adddb..8991d22 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-05-04  Dmitry Dulepov  <dmitry@typo3.org>
+
+       * Added $GLOBALS['TYPO3_DB']->sql_free_result() to TCEmain::rawCopyPageContent() to avoid resource waste
+
 2007-06-13  Andreas Otto <andreas.otto@dkd.de>
 
        * Added status headers: In class.tslib_fe.php status header were set when an error occurs after which TYPO3 throws an exit() statement. In addition to that t3lib_div::syslog() is called to write an entry to the syslog.
 2007-06-13  Andreas Otto <andreas.otto@dkd.de>
 
        * Added status headers: In class.tslib_fe.php status header were set when an error occurs after which TYPO3 throws an exit() statement. In addition to that t3lib_div::syslog() is called to write an entry to the syslog.
index 981b3f3..e0a5049 100755 (executable)
@@ -2765,6 +2765,7 @@ class t3lib_TCEmain       {
                                                        $this->copyRecord_raw($table,$row['uid'],$new_pid);
                                                }
                                        }
                                                        $this->copyRecord_raw($table,$row['uid'],$new_pid);
                                                }
                                        }
+                                       $GLOBALS['TYPO3_DB']->sql_free_result($mres);
                                }
                        }
                }
                                }
                        }
                }