1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-09 22:24:09 +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:
Daniel Black
2017-04-10 11:05:50 +10:00
committed by Sergey Vojtovich
parent a9ad84e4d4
commit d7d8c23654

View File

@@ -1303,7 +1303,7 @@ static int rdb_unpack_floating_point(
// On little-endian, swap the bytes around // On little-endian, swap the bytes around
swap_func(dst, tmp); swap_func(dst, tmp);
#else #else
static_assert(swap_func == nullptr, "Assuming that no swapping is needed."); DBUG_ASSERT(swap_func == nullptr);
#endif #endif
return UNPACK_SUCCESS; return UNPACK_SUCCESS;