Commit 311503f3 authored by Alexander Barkov's avatar Alexander Barkov

storage/rocksdb/rdb_datadic.cc failed to compile on big endian machines (wrong...

storage/rocksdb/rdb_datadic.cc failed to compile on big endian machines (wrong usage of static_assert)
parent 3cb28fad
...@@ -1303,7 +1303,7 @@ static int rdb_unpack_floating_point( ...@@ -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;
......
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