summaryrefslogtreecommitdiff
path: root/sql/wsrep_mysqld.h
diff options
context:
space:
mode:
authorVasil Dimov <vasil.dimov@galeracluster.com>2018-06-06 17:25:51 +0200
committerJan Lindström <jan.lindstrom@mariadb.com>2018-10-10 13:14:36 +0300
commit27dcef390026ab2ac547ed8592b9fed22cd93b70 (patch)
tree2c99f68083a6a286cc1eac56317d9ecc248a7b2f /sql/wsrep_mysqld.h
parent6aa578ec5a4009e33757d91d15947f51c98a5c88 (diff)
downloadmariadb-git-27dcef390026ab2ac547ed8592b9fed22cd93b70.tar.gz
Add a new config variable wsrep_certification_rules
This is used for controlling whether to use a new/optimized certification rules or the old/classic ones that could cause more certification failures - when foreign keys are used and two INSERTs are done concurrently to the child table from different nodes. (cherry picked from commit 815d73e6af8daace6262ab63ca6c043ffc4204b3)
Diffstat (limited to 'sql/wsrep_mysqld.h')
-rw-r--r--sql/wsrep_mysqld.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/wsrep_mysqld.h b/sql/wsrep_mysqld.h
index b1dc5ba452b..e2800c8c2a8 100644
--- a/sql/wsrep_mysqld.h
+++ b/sql/wsrep_mysqld.h
@@ -20,6 +20,7 @@
typedef struct st_mysql_show_var SHOW_VAR;
#include <sql_priv.h>
#include "../wsrep/wsrep_api.h"
+#include "wsrep_mysqld_c.h"
#define WSREP_UNDEFINED_TRX_ID ULONGLONG_MAX
@@ -58,7 +59,6 @@ enum wsrep_consistency_check_mode {
CONSISTENCY_CHECK_RUNNING,
};
-
// Global wsrep parameters
extern wsrep_t* wsrep;