diff options
Diffstat (limited to 'sql/backup.cc')
-rw-r--r-- | sql/backup.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/backup.cc b/sql/backup.cc index c021d0fc552..d3f2e453a85 100644 --- a/sql/backup.cc +++ b/sql/backup.cc @@ -34,7 +34,9 @@ #include "sql_insert.h" // kill_delayed_threads #include "sql_handler.h" // mysql_ha_cleanup_no_free #include <my_sys.h> -#include "wsrep_mysqld.h" +#ifdef WITH_WSREP +#include "wsrep_server_state.h" +#endif /* WITH_WSREP */ static const char *stage_names[]= {"START", "FLUSH", "BLOCK_DDL", "BLOCK_COMMIT", "END", 0}; |