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

Use macro in scripts/galera_recovery.sh

    Details

    • Sprint:
      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

              • Assignee:
                serg Sergei Golubchik
                Reporter:
                mschorm Michal Schorm
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: