1
0
mirror of synced 2024-12-13 22:56:04 +03:00
This commit is contained in:
zYne 2007-08-29 21:57:46 +00:00
parent 157c2d5fed
commit 4fc6efd82f
2 changed files with 5 additions and 1 deletions

View File

@ -1016,7 +1016,7 @@ abstract class Doctrine_Connection extends Doctrine_Configurable implements Coun
$this->clear();
$this->dbh = null;
unset($this->dbh);
$this->isConnected = false;
$this->getAttribute(Doctrine::ATTR_LISTENER)->postClose($event);
@ -1122,6 +1122,7 @@ abstract class Doctrine_Connection extends Doctrine_Configurable implements Coun
{
$this->transaction->rollback($savepoint);
}
/**
* returns a string representation of this object
* @return string

View File

@ -291,6 +291,9 @@ class Doctrine_Manager extends Doctrine_Configurable implements Countable, Itera
if (isset($parts['host']) && $parts['host'] == ':memory') {
$parts['database'] = ':memory:';
$parts['dsn'] = 'sqlite::memory:';
} else {
$parts['database'] = $parts['path'];
$parts['dsn'] = $parts['scheme'] . ':' . $parts['path'];
}
break;