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

Commit6b1a837

Browse files
committed
Remove vestigial CHECK_FOR_INTERRUPTS call.
Commite710b65 inserted code in md5_crypt_verify to disable and laterre-enable interrupts, with a CHECK_FOR_INTERRUPTS call as part of thesecond step, to process any interrupts that had been held off. Commit6647248 removed the interrupt disable/re-enable code, but left behindthe CHECK_FOR_INTERRUPTS, even though this is now an entirely random,pointless place for one. md5_crypt_verify doesn't run long enough toneed such a check, and if it did, this would still be the wrong placeto put one.
1 parent5e0b5dc commit6b1a837

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

‎src/backend/libpq/crypt.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,6 @@ md5_crypt_verify(const Port *port, const char *role, char *client_pass,
8181
returnSTATUS_ERROR;/* empty password */
8282
}
8383

84-
CHECK_FOR_INTERRUPTS();
85-
8684
/*
8785
* Compare with the encrypted or plain password depending on the
8886
* authentication method being used for this connection. (We do not

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp