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);
Labels |
Added:
?
|
Category | ⇒ | Libraries |
Yes, was a configuration mistake. Closing.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2014-10-22 18:42:59 |
https://github.com/joomla/joomla-cms/blob/staging/libraries/joomla/database/driver.php#L77 Apparently it is by default :/