?
avatar fastslack
fastslack
20 Oct 2014

When we create a new instance of JDatabaseDriverMysql, some reason cause that debug variable is true, so in all queryes execute this debug timings functions causing a memory leak.

https://github.com/joomla/joomla-cms/blob/staging/libraries/joomla/database/driver/mysql.php#L287

To prevent this problem we can set debug variable to false and nothing more, but the debug variable shouldnt be false by default?

        $this->_db->setDebug(false);
avatar fastslack fastslack - open - 20 Oct 2014
avatar jissues-bot jissues-bot - change - 20 Oct 2014
Labels Added: ?
avatar zero-24 zero-24 - change - 21 Oct 2014
Category Libraries
avatar zero-24 zero-24 - change - 21 Oct 2014
The description was changed
avatar fastslack
fastslack - comment - 22 Oct 2014

Yes, was a configuration mistake. Closing.

avatar fastslack fastslack - close - 22 Oct 2014
avatar fastslack fastslack - change - 22 Oct 2014
Status New Closed
Closed_Date 0000-00-00 00:00:00 2014-10-22 18:42:59

Add a Comment

Login with GitHub to post a comment