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

mysql_install_db: assume builddir is dirname0

Details

    Description

      The assumption in the original commit for --builddir (648d3ce), was to assume that the without a --builddir, and when --srcdir is specified, that the builddir is the same as the srcdir. For out of tree builds, the only supported by CMake type, this isn't the case.

      As mysql_install_db is in the builddir, we use dirname0 after a quick check that my_print_defaults is also located from dirname0.

      Attachments

        Issue Links

          Activity

            anel Anel Husakovic created issue -
            anel Anel Husakovic made changes -
            Field Original Value New Value
            danblack Daniel Black made changes -
            Labels contribution patch
            anel Anel Husakovic made changes -
            Description The assumption in the original commit for --builddir (648d3ce), was to assume that the without a --builddir, and when --srcdir is specified, that the builddir is the same as the srcdir. For out of tree builds, the only supported by CMake type, this isn't the case.

            As mysql_install_db is in the builddir, we use dirname0 after a quick check that my_print_defaults is also located from dirname0.
            serg Sergei Golubchik made changes -
            Assignee Oleksandr Byelkin [ sanja ]
            svoj Sergey Vojtovich made changes -
            Assignee Oleksandr Byelkin [ sanja ] Vicentiu Ciorbaru [ cvicentiu ]
            cvicentiu Vicențiu Ciorbaru made changes -
            issue.field.resolutiondate 2019-07-01 10:59:56.0 2019-07-01 10:59:56.005
            cvicentiu Vicențiu Ciorbaru made changes -
            Fix Version/s 5.5.65 [ 23402 ]
            Fix Version/s 5.5 [ 15800 ]
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Closed [ 6 ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 95396 ] MariaDB v4 [ 156076 ]

            People

              cvicentiu Vicențiu Ciorbaru
              anel Anel Husakovic
              Votes:
              1 Vote for this issue
              Watchers:
              3 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.