1
0
mirror of synced 2025-01-19 06:51:40 +03:00

Two bugfixes.

This commit is contained in:
romanb 2007-05-28 09:54:29 +00:00
parent 502103d7a4
commit 2f0178d273
2 changed files with 417 additions and 408 deletions

View File

@ -893,5 +893,14 @@ abstract class Doctrine_Connection extends Doctrine_Configurable implements Coun
{ {
return Doctrine_Lib::getConnectionAsString($this); return Doctrine_Lib::getConnectionAsString($this);
} }
/**
* Enter description here...
*
* @param unknown_type $name
*/
public function getIndexName($name)
{
return $this->formatter->getIndexName($name);
}
} }

View File

@ -205,7 +205,7 @@ class Doctrine_Db_Statement implements Doctrine_Adapter_Statement_Interface
$skip = $this->adapter->getListener()->onPreExecute($event); $skip = $this->adapter->getListener()->onPreExecute($event);
if ( ! $skip) { if ( ! $skip) {
$this->stmt->execute((array) $params); $this->stmt->execute($params);
$this->adapter->incrementQueryCount(); $this->adapter->incrementQueryCount();
} }