Two bugfixes.
This commit is contained in:
parent
502103d7a4
commit
2f0178d273
@ -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
|
|||||||
$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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user