Details
Description
When running a SELECT query through one of the PDO adapters a Zend_Db_Statement_Pdo object is returned. However if you were to extend Zend_Db_Statement_Pdo with your own class, there is presently no way tell Zend_Db_Adapter_Pdo_Abstract to use that class for new statement objects, as it is hard coded into Zend_Db_Adapter_Pdo_Abstract::prepare().
Could we add the facility to set the class used for new statement objects?
It seems as if you could simply extend the pdo adapter class with a class of your own, overriding the prepare() method, is this not the case, and if not, why?