Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-5020

Report:: recordings linked to same work more than once

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2013-03-11
    • Component/s: Reports
    • Labels:
      None

      Description

      Some recordings are linked to same work more than once (as recording and as cover recording).
      Currently there is 1567 cases.

      SQL to find those:

      SELECT work.gid as work_gid, recording.gid AS recording_gid
      FROM work
      JOIN l_recording_work ON l_recording_work.entity1 = work.id
      JOIN recording ON recording.id = l_recording_work.entity0
      JOIN link ON link.id = l_recording_work.link
      GROUP BY work.gid, recording.gid, link.link_type
      HAVING count(l_recording_work.id) > 1

        Attachments

          Activity

            People

            • Assignee:
              nikki nikki
              Reporter:
              jokipii Antti Jokipii
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                2013-03-11