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