SsIsSkipPath代码规范完善
This commit is contained in:
@ -1264,7 +1264,6 @@ bool SsIsSkipPath(const char* dirname, bool needskipall)
|
|||||||
if (IsBeginWith(dirname, "pg_xlog") > 0) {
|
if (IsBeginWith(dirname, "pg_xlog") > 0) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
/* skip other node pg_xlog except primary */
|
/* skip other node pg_xlog except primary */
|
||||||
if (IsBeginWith(dirname, "pg_xlog") > 0) {
|
if (IsBeginWith(dirname, "pg_xlog") > 0) {
|
||||||
@ -1279,6 +1278,7 @@ bool SsIsSkipPath(const char* dirname, bool needskipall)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void DeleteSubDataDir(const char* dirname)
|
static void DeleteSubDataDir(const char* dirname)
|
||||||
|
Reference in New Issue
Block a user