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

Commit672def6

Browse files
committed
Fix typo in PQconnectStartParams().
This would lead to leaking the PGconn structure after an error detected byconninfo_array_parse(), as well as failing to return a useful error messagein such cases. Backpatch to 9.0 where the error was introduced.Joseph Adams
1 parent7b99cfb commit672def6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/interfaces/libpq/fe-connect.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ PQconnectStartParams(const char **keywords,
446446
{
447447
conn->status=CONNECTION_BAD;
448448
/* errorMessage is already set */
449-
returnfalse;
449+
returnconn;
450450
}
451451

452452
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp