0 users online. Create an account or sign in to join them.Users
A for , submitted by nickdunn on 05 January 2010
Symphony's issue tracker has been moved to Github.
Issues are displayed here for reference only and cannot be created or edited.
Some queries are missing from the internal logger in class.mysql.php. The total is often higher than the number of queries printed out using ->debug('queries').
Sussed! Line 263 of class.mysql.php builds a unique hash for the query by hashing the current time. If two of the same query are fired one after the other, within a fraction of a second, this hash will be identical so only one will be logged.
Fixed by using microtime() instead:
$query_hash = md5($query.microtime());
Pull requested http://github.com/nickdunn/symphony-2/commit/7db0555d022b575ae56cde04a038d0f30d0b9ec5
This issue is closed.
Contact the team
Symphony • Open Source XSLT CMS