Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit26adbc7

Browse files
committed
Clean up compiler warnings.
1 parent3908473 commit26adbc7

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

‎src/backend/commands/dbcommands.c

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/commands/dbcommands.c,v 1.64 2000/11/0816:59:49 petere Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/commands/dbcommands.c,v 1.65 2000/11/0823:24:24 tgl Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -387,7 +387,7 @@ get_user_info(Oid use_sysid, bool *use_super, bool *use_createdb)
387387
staticchar*
388388
resolve_alt_dbpath(constchar*dbpath,Oiddboid)
389389
{
390-
char*prefix;
390+
constchar*prefix;
391391
char*ret;
392392
size_tlen;
393393

@@ -396,11 +396,10 @@ resolve_alt_dbpath(const char * dbpath, Oid dboid)
396396

397397
if (strchr(dbpath,'/'))
398398
{
399-
#ifdefALLOW_ABSOLUTE_DBPATHS
400-
prefix=dbpath;
401-
#else
399+
#ifndefALLOW_ABSOLUTE_DBPATHS
402400
elog(ERROR,"Absolute paths are not allowed as database locations");
403401
#endif
402+
prefix=dbpath;
404403
}
405404
else
406405
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp