1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00
1. Passes wsrep_sst_auth_value to SST scripts via WSREP_SST_OPT_AUTH envronmental variable, so it never appears on the command line
  2. In mysqldump and xtrabackup* SST scripts which rely on MySQL authentication, instead of passing password on the command line, SST script sets MYSQL_PWD environment variable, so that password also never appears on the mysqldump/innobackupex command line.
This commit is contained in:
Alexey Yurchenko
2015-06-06 01:08:41 +03:00
committed by Nirbhay Choubey
parent 197e9d2559
commit 86ee30cea9
3 changed files with 16 additions and 4 deletions

View File

@ -165,9 +165,10 @@ env::append(const char* val)
++len_;
env_[len_] = NULL;
}
else errno_ = errno;
}
else errno_ = errno;
/* if either realloc() or strdup() failed, errno had been set */
errno_ = errno;
return errno_;
}