Commit d7d8c236 authored by Daniel Black's avatar Daniel Black Committed by Sergey Vojtovich

MDEV-12469: static_assert cannot be determined on bigendian

Signed-off-by: default avatarDaniel Black <daniel.black@au.ibm.com>
parent a9ad84e4
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment