CI_DB_mysqli_driver::reconnect PHP Method

reconnect() public method

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
return void
    public function reconnect()
    {
        if ($this->conn_id !== FALSE && $this->conn_id->ping() === FALSE) {
            $this->conn_id = FALSE;
        }
    }