5.0.0 - 普通 - 已关闭
版本:5.0.7代码: \thinkphp\library\think\db\Connection.php
行:396
if ($this->config['break_reconnect'] && $this->isBreak($e)) {
return $this->close()->query($sql, $bind, $master, $pdo);
}行 773/**
* 是否断线
* access protected
* @param \PDOException $e 异常
* return bool
*/
protected function isBreak($e)
{
return false;
}我配置了break_reconnect为true, 但是isBreak方法始终返回的是false....所以这个是没用的,不知对否? 