From 7aaf8c49ddbcccb646236d6b96fb6099f791e749 Mon Sep 17 00:00:00 2001 From: zYne Date: Sat, 11 Nov 2006 20:02:04 +0000 Subject: [PATCH] Removed old Doctrine_Db_Statement, new one is in lib/Doctrine/Db --- lib/Doctrine/DbStatement.php | 49 ------------------------------------ 1 file changed, 49 deletions(-) delete mode 100644 lib/Doctrine/DbStatement.php diff --git a/lib/Doctrine/DbStatement.php b/lib/Doctrine/DbStatement.php deleted file mode 100644 index 787b09fd0..000000000 --- a/lib/Doctrine/DbStatement.php +++ /dev/null @@ -1,49 +0,0 @@ -. - */ -class Doctrine_DbStatement extends PDOStatement { - /** - * @param Doctrine_Db $dbh Doctrine Database Handler - */ - private $dbh; - /** - * @param Doctrine_Db $dbh - */ - private function __construct(Doctrine_Db $dbh) { - $this->dbh = $dbh; - } - /** - * @param array $params - */ - public function execute(array $params = array()) { - - $time = microtime(); - try { - $result = parent::execute($params); - } catch(PDOException $e) { - throw new Doctrine_Exception($this->queryString." ".$e->__toString()); - } - $exectime = (microtime() - $time); - $this->dbh->addExecTime($exectime); - - return $result; - } -} -