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

Report:: recordings linked to same work more than once

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2013-03-11
    • None
    • Reports
    • None

      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

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

              Created:
              Updated:
              Resolved:

                Version Package
                2013-03-11