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

Commit5c868c9

Browse files
committed
Fix possible null pointer reference
Per Coverity. Introduced in37851a8.
1 parentbf4ed12 commit5c868c9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎src/backend/utils/init/postinit.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,8 +439,7 @@ CheckMyDatabase(const char *name, bool am_superuser, bool override_allow_connect
439439
ereport(WARNING,
440440
(errmsg("database \"%s\" has no actual collation version, but a version was recorded",
441441
name)));
442-
443-
if (strcmp(actual_versionstr,collversionstr)!=0)
442+
elseif (strcmp(actual_versionstr,collversionstr)!=0)
444443
ereport(WARNING,
445444
(errmsg("database \"%s\" has a collation version mismatch",
446445
name),

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp