Fix typos in simplehash.h
Author: Richard Guo <guofenglinux@gmail.com> Discussion: https://www.postgresql.org/message-id/flat/18252-d46d27900a277d87@postgresql.org
This commit is contained in:
parent
a7928a57b9
commit
141752bbb0
@ -770,9 +770,8 @@ restart:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Insert the key key into the hash-table, set *found to true if the key
|
* Insert the key into the hash-table, set *found to true if the key already
|
||||||
* already exists, false otherwise. Returns the hash-table entry in either
|
* exists, false otherwise. Returns the hash-table entry in either case.
|
||||||
* case.
|
|
||||||
*/
|
*/
|
||||||
SH_SCOPE SH_ELEMENT_TYPE *
|
SH_SCOPE SH_ELEMENT_TYPE *
|
||||||
SH_INSERT(SH_TYPE * tb, SH_KEY_TYPE key, bool *found)
|
SH_INSERT(SH_TYPE * tb, SH_KEY_TYPE key, bool *found)
|
||||||
@ -783,9 +782,9 @@ SH_INSERT(SH_TYPE * tb, SH_KEY_TYPE key, bool *found)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Insert the key key into the hash-table using an already-calculated
|
* Insert the key into the hash-table using an already-calculated hash. Set
|
||||||
* hash. Set *found to true if the key already exists, false
|
* *found to true if the key already exists, false otherwise. Returns the
|
||||||
* otherwise. Returns the hash-table entry in either case.
|
* hash-table entry in either case.
|
||||||
*/
|
*/
|
||||||
SH_SCOPE SH_ELEMENT_TYPE *
|
SH_SCOPE SH_ELEMENT_TYPE *
|
||||||
SH_INSERT_HASH(SH_TYPE * tb, SH_KEY_TYPE key, uint32 hash, bool *found)
|
SH_INSERT_HASH(SH_TYPE * tb, SH_KEY_TYPE key, uint32 hash, bool *found)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user