def METHOD_NAME(self, connection):
    """Get the version of the Firebird server used by a connection.
    Returns a tuple of (`major`, `minor`, `build`), three integers
    representing the version of the attached server.
    """
    # This is the simpler approach (the other uses the services api),
    # that for backward compatibility reasons returns a string like
    #   LI-V6.3.3.12981 Firebird 2.0
    # where the first version is a fake one resembling the old
    # Interbase signature.
    isc_info_firebird_version = 103
    fbconn = connection.connection
    version = fbconn.db_info(isc_info_firebird_version)
    return self._parse_version_info(version)