dg/dibi — pull request #56 by Andrewsville (2012-02-05 00:36:12+00:00)
Title: Fixed NettePanel output for multiple connections

When using Nette and dibi with multiple connections it does display the appropriate number of panels in the Debugger panel, each with the appropriate list of queries. However due to the fact that dibi stores the total number of queries and the total time statically, they all display the same overall numbers.

This simple patch solves this bug by introducing two attributes to DibiConnection that count the number of queries and the total time for each connection separately. These numbers are then used in DibiNettePanel.