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

Use macro in scripts/galera_recovery.sh

    XMLWordPrintable

Details

    • 10.1.31

    Description

      Hello,
      please, use macro instead of hardcoded path, if it is not inevitable.

      @@ -0,0 +1,11 @@
      +--- mariadb-10.1.22/scripts/galera_recovery.sh	2017-03-17 15:34:21.069733823 +0100
      ++++ mariadb-10.1.22/scripts/galera_recovery.sh_patched	2017-03-17 15:34:03.032133966 +0100
      +@@ -68,7 +68,7 @@ parse_arguments() {
      + 
      + wsrep_recover_position() {
      +   # Redirect server's error log to the log file.
      +-  eval /usr/sbin/mysqld $cmdline_args --user=$user --wsrep_recover \
      ++  eval @sbindir@/mysqld $cmdline_args --user=$user --wsrep_recover \
      +     --log-error="$log_file"
      +   ret=$?
      +   if [ $ret -ne 0 ]; then
      

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              mschorm Michal Schorm
              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.