Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-34468

mariadb-install-db breaks due to Bash typo

    XMLWordPrintable

Details

    Description

      https://github.com/MariaDB/server/commit/a960e95febd10b8558e9e626869babd0573bbf69 Introduces a Bash typo:

      if test "$cross_bootstrap" -eq 0 -a "$in_rpm" -eq 0 -a "$force" -eq 0
        do_resolve=1
      then
      fi
      

      Which should likely read:

      if test "$cross_bootstrap" -eq 0 -a "$in_rpm" -eq 0 -a "$force" -eq 0
      then
        do_resolve=1
      fi
      

      This leads to mariadb-install-db breaking:

      10.11.9 (Optimized)

      scripts/mariadb-install-db: 337: Syntax error: "fi" unexpected
      

      Attachments

        Activity

          People

            danblack Daniel Black
            Roel Roel Van de Paar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.