summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
authorJan Lindström <jan.lindstrom@mariadb.com>2022-09-06 10:51:18 +0300
committerJan Lindström <jan.lindstrom@mariadb.com>2022-09-06 10:51:18 +0300
commitc0a6ce61d88104db14f7107cb16edf475b46bffd (patch)
tree42fb0b16ed0468f5732e2a4545e986078f351072 /sql/sql_class.h
parentf6118acda961a7fde17f2984d7600e211cd47ee3 (diff)
parentddd8901cd2523289720fa8bd3bbd7dbc2d3f9ad5 (diff)
downloadmariadb-git-c0a6ce61d88104db14f7107cb16edf475b46bffd.tar.gz
Merge 10.9 into 10.10
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r--sql/sql_class.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h
index 0025eeb9a9f..e3c2e88165d 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -66,7 +66,8 @@ void set_thd_stage_info(void *thd,
#include "my_apc.h"
#include "rpl_gtid.h"
-#include "wsrep_mysqld.h"
+#include "wsrep.h"
+#include "wsrep_on.h"
#ifdef WITH_WSREP
#include <inttypes.h>
/* wsrep-lib */
@@ -76,6 +77,11 @@ void set_thd_stage_info(void *thd,
#include "wsrep_condition_variable.h"
class Wsrep_applier_service;
+enum wsrep_consistency_check_mode {
+ NO_CONSISTENCY_CHECK,
+ CONSISTENCY_CHECK_DECLARED,
+ CONSISTENCY_CHECK_RUNNING,
+};
#endif /* WITH_WSREP */
class Reprepare_observer;
@@ -7869,7 +7875,9 @@ extern THD_list server_threads;
void setup_tmp_table_column_bitmaps(TABLE *table, uchar *bitmaps,
uint field_count);
-
+#ifdef WITH_WSREP
+extern void wsrep_to_isolation_end(THD*);
+#endif
/*
RAII utility class to ease binlogging with temporary setting
THD etc context and restoring the original one upon logger execution.