Skip to content

Commit

Permalink
storage/rocksdb/rdb_datadic.cc failed to compile on big endian machin…
Browse files Browse the repository at this point in the history
…es (wrong usage of static_assert)
  • Loading branch information
Alexander Barkov committed Apr 8, 2017
1 parent 3cb28fa commit 311503f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/rocksdb/rdb_datadic.cc
Expand Up @@ -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;
Expand Down

0 comments on commit 311503f

Please sign in to comment.