Commit 2f0178d2 authored by romanb's avatar romanb

Two bugfixes.

parent 502103d7
...@@ -893,5 +893,14 @@ abstract class Doctrine_Connection extends Doctrine_Configurable implements Coun ...@@ -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);
}
} }
...@@ -205,7 +205,7 @@ class Doctrine_Db_Statement implements Doctrine_Adapter_Statement_Interface ...@@ -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();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment