Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-7041

Confluence 2.2.9 does not work with MySQL version prior to 4.1

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Medium
    • None
    • 2.2.9
    • None

    Description

      A space cannot be deleted. The problem is that Label.hbm.xml -> confluence.label_unused uses a sub select (aka sub query). Sub selects have been introduced in MySQL version 4.1.

      Fix: Rewrite the statement to use a LEFT JOIN:

      select distinct

      {l.*}

      from LABEL l LEFT JOIN CONTENT_LABEL lc ON l.LABELID = lc.LABELID where lc.LABELID IS NULL

      BTW: Regarding to http://confluence.atlassian.com/display/DOC/Confluence+Installation+Guide MySQL version 3.2 is supported.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              44d453378311 Peter Romianowski
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: