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:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0d
                0d
                Logged:
                Time Spent - 35m
                35m

                Git Integration

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