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

Commitd518d6a

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 parentd420ba2 commitd518d6a

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
@@ -491,7 +491,7 @@ PQconnectStartParams(const char **keywords,
491491
{
492492
conn->status=CONNECTION_BAD;
493493
/* errorMessage is already set */
494-
returnfalse;
494+
returnconn;
495495
}
496496

497497
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp