Skip to content

Commit

Permalink
Merge pull request #753 from shinnok/10.3-macfixes
Browse files Browse the repository at this point in the history
MDEV-15778: 10.3 macOS build fixes
  • Loading branch information
spetrunia committed May 15, 2018
2 parents 9ee5406 + 6620fbd commit a004837
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions storage/innobase/include/sync0policy.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class MutexDebug {
m_mutex(),
m_filename(),
m_line(),
m_thread_id(os_thread_id_t(ULINT_UNDEFINED))
m_thread_id(ULINT_UNDEFINED)
{
/* No op */
}
Expand All @@ -76,7 +76,7 @@ class MutexDebug {
{
m_mutex = mutex;

my_atomic_storelint(&m_thread_id, os_thread_get_curr_id());
my_atomic_storelint(&m_thread_id, reinterpret_cast<ulint>(os_thread_get_curr_id()));

m_filename = filename;

Expand Down
2 changes: 1 addition & 1 deletion storage/rocksdb/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ MYSQL_ADD_EXECUTABLE(sst_dump rocksdb/tools/sst_dump.cc COMPONENT rocksdb-engine
TARGET_LINK_LIBRARIES(sst_dump rocksdblib)

MYSQL_ADD_EXECUTABLE(mysql_ldb tools/mysql_ldb.cc COMPONENT rocksdb-engine)
TARGET_LINK_LIBRARIES(mysql_ldb rocksdb_tools rocksdb_aux_lib)
TARGET_LINK_LIBRARIES(mysql_ldb rocksdb_tools rocksdb_aux_lib dbug)

INSTALL_SCRIPT(myrocks_hotbackup COMPONENT rocksdb-engine)

Expand Down

0 comments on commit a004837

Please sign in to comment.