变更
This commit is contained in:
+2
-2
@@ -223,7 +223,7 @@ class Connection extends Component
|
||||
if ($pdo->inTransaction()) {
|
||||
$pdo->rollback();
|
||||
}
|
||||
$this->release(true);
|
||||
$this->release($pdo,true);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -236,7 +236,7 @@ class Connection extends Component
|
||||
if ($pdo->inTransaction()) {
|
||||
$pdo->commit();
|
||||
}
|
||||
$this->release(true);
|
||||
$this->release($pdo,true);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user