mirror of
https://github.com/MariaDB/server.git
synced 2026-10-23 18:49:29 +03:00
MDEV-39168 Do not force inline for xxhash functions in Debug builds
See https://github.com/Cyan4973/xxHash/issues/943 This fixes compiling errors like inlining failed in call to ‘always_inline’ ‘XXH3_scrambleAcc_sse2’: function not considered for inlining
This commit is contained in:
@@ -7,6 +7,11 @@
|
||||
#ifndef XXH_IMPLEMENTATION
|
||||
#define XXH_IMPLEMENTATION 1
|
||||
#endif // !defined(XXH_IMPLEMENTATION)
|
||||
#ifndef NDEBUG
|
||||
#ifndef XXH_NO_INLINE_HINTS
|
||||
#define XXH_NO_INLINE_HINTS 1
|
||||
#endif // !defined(XXH_NO_INLINE_HINTS)
|
||||
#endif // !defined(NDEBUG)
|
||||
#include "../mysys/xxhash.h"
|
||||
|
||||
static void my_hasher_xxh32_hash_str(my_hasher_st *hasher, const uchar *key, size_t len)
|
||||
|
||||
Reference in New Issue
Block a user