Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7229513 commit 49459d8Copy full SHA for 49459d8
src/backend/utils/init/miscinit.c
@@ -7,7 +7,7 @@
7
*
8
9
* IDENTIFICATION
10
- * $Header: /cvsroot/pgsql/src/backend/utils/init/miscinit.c,v 1.8 1997/09/08 02:31:57 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/init/miscinit.c,v 1.9 1998/01/25 04:07:00 scrappy Exp $
11
12
*-------------------------------------------------------------------------
13
*/
@@ -226,7 +226,7 @@ GetProcessingMode()
226
char *
227
GetDatabasePath()
228
{
229
- return DatabasePath;
+ return strdup(DatabasePath);
230
}
231
232
/*
@@ -236,7 +236,7 @@ GetDatabasePath()
236
237
GetDatabaseName()
238
239
- return DatabaseName;
+ return strdup(DatabaseName);
240
241
242
void
0 commit comments