mirror of
https://github.com/postgres/postgres.git
synced 2025-06-13 07:41:39 +03:00
Fixed misspelled byteswap function for big endian machines
Per members lora and mamba
This commit is contained in:
@ -225,7 +225,7 @@ fasthash_accum_cstring_aligned(fasthash_state *hs, const char *str)
|
|||||||
* without either swapping or a bytewise check.
|
* without either swapping or a bytewise check.
|
||||||
*/
|
*/
|
||||||
#ifdef WORDS_BIGENDIAN
|
#ifdef WORDS_BIGENDIAN
|
||||||
zero_bytes_le = haszero64(pg_bswap(chunk));
|
zero_bytes_le = haszero64(pg_bswap64(chunk));
|
||||||
#else
|
#else
|
||||||
zero_bytes_le = haszero64(chunk);
|
zero_bytes_le = haszero64(chunk);
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user