Skip to content

Commit 06df126

Browse files
author
Sujatha Sivakumar
committed
Bug#21485997: WRONG INSTRUMENTATION OF CLASS GTID_SET
Fixing a build issue found on weekend runs with 'noperfschema' option.
1 parent aee3c40 commit 06df126

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

client/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ TARGET_LINK_LIBRARIES(mysql_plugin mysqlclient)
154154
MYSQL_ADD_EXECUTABLE(mysqlbinlog mysqlbinlog.cc)
155155
ADD_COMPILE_FLAGS(
156156
mysqlbinlog.cc
157-
COMPILE_FLAGS "-I${CMAKE_SOURCE_DIR}/sql" "-DHAVE_REPLICATION"
157+
COMPILE_FLAGS "-I${CMAKE_SOURCE_DIR}/sql" "-DHAVE_REPLICATION" "-DDISABLE_PSI_MUTEX"
158158
)
159159
TARGET_LINK_LIBRARIES(mysqlbinlog mysqlclient binlogevents_static)
160160

client/mysqlbinlog.cc

-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030

3131
#define MYSQL_CLIENT
3232
#undef MYSQL_SERVER
33-
#define DISABLE_PSI_MUTEX
3433
#include "client_priv.h"
3534
#include "my_default.h"
3635
#include <my_time.h>

0 commit comments

Comments
 (0)