PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Database » DB » Bug #4398

Executed queries count

Details

Request #4398Executed queries count
Submitted2005-05-21 09:06 UTC
Frompokorpa at napismi dot cz
Assigneddanielc
StatusWont fix
PackageDB
PHP VersionIrrelevant
OSirrelevant
Roadmaps(Not assigned)

Comments

[2005-05-21 09:06 UTC] pokorpa at napismi dot cz

Description:
------------
I would like to request adding executed queries counter. I thinkg, it should be easy to add one line into simpleQuery() method of each DB driver.

Regards
Paul Humble (CZ)

Reproduce code:
---------------
add var $query_count = 0 into DB_common class definition.
add $this->query_count++ into simpleQuery() after $this->last_query = $query;