summaryrefslogtreecommitdiff
path: root/sql/wsrep_mysqld.cc
diff options
context:
space:
mode:
authorSachin Setiya <sachin.setiya@mariadb.com>2017-04-18 11:50:43 +0530
committerSachin Setiya <sachin.setiya@mariadb.com>2017-04-18 11:50:43 +0530
commitb8afa783bcd32c9a0e5b26d780f4debf859f1b8f (patch)
tree0088e9b6ba7e96c579474b7e5a4518f4c4ddcbf0 /sql/wsrep_mysqld.cc
parent19b9fe07f5356b1d5965c16b322a0ca7d5fbdfe8 (diff)
downloadmariadb-git-b8afa783bcd32c9a0e5b26d780f4debf859f1b8f.tar.gz
MW-267
Fix Galera crash at startup when compiled with gcc 6 Signed-off-by: Sachin Setiya <sachin.setiya@mariadb.com>
Diffstat (limited to 'sql/wsrep_mysqld.cc')
-rw-r--r--sql/wsrep_mysqld.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/wsrep_mysqld.cc b/sql/wsrep_mysqld.cc
index 21c7e94096d..a0938bdfb43 100644
--- a/sql/wsrep_mysqld.cc
+++ b/sql/wsrep_mysqld.cc
@@ -83,7 +83,7 @@ my_bool wsrep_creating_startup_threads = 0;
*/
my_bool wsrep_inited = 0; // initialized ?
-static const wsrep_uuid_t cluster_uuid = WSREP_UUID_UNDEFINED;
+static wsrep_uuid_t cluster_uuid = WSREP_UUID_UNDEFINED;
const wsrep_uuid_t* wsrep_cluster_uuid()
{
return &cluster_uuid;