diff options
author | Michael Paquier <michael@paquier.xyz> | 2019-07-08 13:15:09 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2019-07-08 13:15:09 +0900 |
commit | 6b8548964bccd0f2e65c687d591b7345d5146bfa (patch) | |
tree | 29cddb4e0aa0bc59b02850daf6f508394f8f0ec1 /src/backend/lib/dshash.c | |
parent | 7e9a4c5c3dca0d9637812d8991e96fc8f46800d9 (diff) | |
download | postgresql-6b8548964bccd0f2e65c687d591b7345d5146bfa.tar.gz postgresql-6b8548964bccd0f2e65c687d591b7345d5146bfa.zip |
Fix inconsistencies in the code
This addresses a couple of issues in the code:
- Typos and inconsistencies in comments and function declarations.
- Removal of unreferenced function declarations.
- Removal of unnecessary compile flags.
- A cleanup error in regressplans.sh.
Author: Alexander Lakhin
Discussion: https://postgr.es/m/0c991fdf-2670-1997-c027-772a420c4604@gmail.com
Diffstat (limited to 'src/backend/lib/dshash.c')
-rw-r--r-- | src/backend/lib/dshash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/lib/dshash.c b/src/backend/lib/dshash.c index 24dd3722521..350f8c0a665 100644 --- a/src/backend/lib/dshash.c +++ b/src/backend/lib/dshash.c @@ -409,7 +409,7 @@ dshash_find(dshash_table *hash_table, const void *key, bool exclusive) } else { - /* The caller will free the lock by calling dshash_release. */ + /* The caller will free the lock by calling dshash_release_lock. */ hash_table->find_locked = true; hash_table->find_exclusively_locked = exclusive; return ENTRY_FROM_ITEM(item); |