CI_DB_mysqli_driver::reconnect PHP 메소드

reconnect() 공개 메소드

Keep / reestablish the db connection if no queries have been sent for a length of time exceeding the server's idle timeout
public reconnect ( ) : void
리턴 void
    public function reconnect()
    {
        if ($this->conn_id !== FALSE && $this->conn_id->ping() === FALSE) {
            $this->conn_id = FALSE;
        }
    }