projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
| inline |
side by side
(parent:
0aba255
)
Fixed misspelled byteswap function for big endian machines
author
John Naylor
<
[email protected]
>
Fri, 19 Jan 2024 06:26:18 +0000
(13:26 +0700)
committer
John Naylor
<
[email protected]
>
Fri, 19 Jan 2024 06:26:18 +0000
(13:26 +0700)
Per members lora and mamba
src/include/common/hashfn_unstable.h
|
blob
|
blame
|
history
diff --git
a/src/include/common/hashfn_unstable.h
b/src/include/common/hashfn_unstable.h
index b3c56db1c090acbb6be9507351c8e451eff8c491..3d927e1fb18ace6bc5317bd7db2ab18389232ff9 100644
(file)
--- a/
src/include/common/hashfn_unstable.h
+++ b/
src/include/common/hashfn_unstable.h
@@
-225,7
+225,7
@@
fasthash_accum_cstring_aligned(fasthash_state *hs, const char *str)
* without either swapping or a bytewise check.
*/
#ifdef WORDS_BIGENDIAN
- zero_bytes_le = haszero64(pg_bswap(chunk));
+ zero_bytes_le = haszero64(pg_bswap
64
(chunk));
#else
zero_bytes_le = haszero64(chunk);
#endif