Merge branch 'release-1.2' into develop
This commit is contained in:
@ -2053,6 +2053,7 @@ static char *monitor_params[] =
|
||||
"passwd",
|
||||
"script",
|
||||
"events",
|
||||
"mysql51_replication",
|
||||
"monitor_interval",
|
||||
"detect_replication_lag",
|
||||
"detect_stale_master",
|
||||
|
@ -279,10 +279,13 @@ GWPROTOCOL *funcs;
|
||||
|
||||
if(mkdir_rval)
|
||||
{
|
||||
skygw_log_write(LOGFILE_ERROR,"Error : Failed to create directory '%s': [%d] %s",
|
||||
path,
|
||||
errno,
|
||||
strerror(errno));
|
||||
if(errno != EEXIST)
|
||||
{
|
||||
skygw_log_write(LOGFILE_ERROR,"Error : Failed to create directory '%s': [%d] %s",
|
||||
path,
|
||||
errno,
|
||||
strerror(errno));
|
||||
}
|
||||
mkdir_rval = 0;
|
||||
}
|
||||
|
||||
@ -294,10 +297,13 @@ GWPROTOCOL *funcs;
|
||||
|
||||
if(mkdir_rval)
|
||||
{
|
||||
skygw_log_write(LOGFILE_ERROR,"Error : Failed to create directory '%s': [%d] %s",
|
||||
path,
|
||||
errno,
|
||||
strerror(errno));
|
||||
if(errno != EEXIST)
|
||||
{
|
||||
skygw_log_write(LOGFILE_ERROR,"Error : Failed to create directory '%s': [%d] %s",
|
||||
path,
|
||||
errno,
|
||||
strerror(errno));
|
||||
}
|
||||
mkdir_rval = 0;
|
||||
}
|
||||
strncat(path, "/dbusers", PATH_MAX);
|
||||
|
Reference in New Issue
Block a user