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