mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-12469: static_assert cannot be determined on bigendian
Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
This commit is contained in:
committed by
Sergey Vojtovich
parent
a9ad84e4d4
commit
d7d8c23654
@@ -1303,7 +1303,7 @@ static int rdb_unpack_floating_point(
|
||||
// On little-endian, swap the bytes around
|
||||
swap_func(dst, tmp);
|
||||
#else
|
||||
static_assert(swap_func == nullptr, "Assuming that no swapping is needed.");
|
||||
DBUG_ASSERT(swap_func == nullptr);
|
||||
#endif
|
||||
|
||||
return UNPACK_SUCCESS;
|
||||
|
Reference in New Issue
Block a user