This commit is contained in:
2021-07-05 16:15:45 +08:00
parent 0ba9fc0ce7
commit cf8b25d7db
3 changed files with 3 additions and 4 deletions
+2 -2
View File
@@ -202,9 +202,9 @@ class Connection extends Component
* batch release
* @throws Exception
*/
public function connection_clear()
public function connection_clear($name, $isMaster)
{
$this->getPool()->flush(0);
$this->getPool()->clean($this->getPool()->name($name, $isMaster));
}