forked from openGauss-Ecosystem/openGauss-server
!2894 同时指定no-locale和locale参数时,gs_initdb出现coredump
Merge pull request !2894 from zhang_jintao2020/gs_initdb
This commit is contained in:
commit
cb4bb56d8d
|
@ -4205,7 +4205,7 @@ int main(int argc, char* argv[])
|
|||
break;
|
||||
case 8:
|
||||
FREE_NOT_STATIC_ZERO_STRING(locale);
|
||||
locale = "C";
|
||||
locale = xstrdup("C");
|
||||
break;
|
||||
case 9:
|
||||
FREE_NOT_STATIC_ZERO_STRING(pwfilename);
|
||||
|
|
Loading…
Reference in New Issue