summaryrefslogtreecommitdiff
path: root/sql/mdl.cc
diff options
context:
space:
mode:
authorJan Lindström <jan.lindstrom@mariadb.com>2020-08-14 13:34:19 +0300
committerJan Lindström <jan.lindstrom@mariadb.com>2020-08-14 13:34:19 +0300
commit7df4706619898c025fbc1d3d48420da039e889cf (patch)
tree7a2a4c613a79ff6cca09eb368d1ace4956f27eac /sql/mdl.cc
parenta7a9f44f8c2f2d09a0e0af6a560ef84608d4bb7e (diff)
downloadmariadb-git-7df4706619898c025fbc1d3d48420da039e889cf.tar.gz
Fix Windows compiler error.
Diffstat (limited to 'sql/mdl.cc')
-rw-r--r--sql/mdl.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/mdl.cc b/sql/mdl.cc
index a369f9e9a95..97135890f09 100644
--- a/sql/mdl.cc
+++ b/sql/mdl.cc
@@ -24,7 +24,9 @@
#include <mysql/plugin.h>
#include <mysql/service_thd_wait.h>
#include <mysql/psi/mysql_stage.h>
+#ifdef WITH_WSREP
#include "wsrep_sst.h"
+#endif
#ifdef HAVE_PSI_INTERFACE
static PSI_mutex_key key_MDL_wait_LOCK_wait_status;