变更
This commit is contained in:
+3
-3
@@ -254,9 +254,9 @@ class Connection extends Component
|
|||||||
*/
|
*/
|
||||||
public function release(Mysql\PDO $PDO)
|
public function release(Mysql\PDO $PDO)
|
||||||
{
|
{
|
||||||
if ($PDO->inTransaction()) {
|
// if ($PDO->inTransaction()) {
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
$this->connection->addItem($this->cds, $PDO);
|
$this->connection->addItem($this->cds, $PDO);
|
||||||
Context::remove($this->cds);
|
Context::remove($this->cds);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user