Commit b8afa783 authored by Sachin Setiya's avatar Sachin Setiya

MW-267

Fix Galera crash at startup when compiled with gcc 6
Signed-off-by: default avatarSachin Setiya <sachin.setiya@mariadb.com>
parent 19b9fe07
...@@ -83,7 +83,7 @@ my_bool wsrep_creating_startup_threads = 0; ...@@ -83,7 +83,7 @@ my_bool wsrep_creating_startup_threads = 0;
*/ */
my_bool wsrep_inited = 0; // initialized ? 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() const wsrep_uuid_t* wsrep_cluster_uuid()
{ {
return &cluster_uuid; return &cluster_uuid;
......
...@@ -314,7 +314,6 @@ int wsrep_create_trigger_query(THD *thd, uchar** buf, size_t* buf_len); ...@@ -314,7 +314,6 @@ int wsrep_create_trigger_query(THD *thd, uchar** buf, size_t* buf_len);
int wsrep_create_event_query(THD *thd, uchar** buf, size_t* buf_len); int wsrep_create_event_query(THD *thd, uchar** buf, size_t* buf_len);
int wsrep_alter_event_query(THD *thd, uchar** buf, size_t* buf_len); int wsrep_alter_event_query(THD *thd, uchar** buf, size_t* buf_len);
const wsrep_uuid_t* wsrep_cluster_uuid();
struct xid_t; struct xid_t;
void wsrep_set_SE_checkpoint(xid_t*); void wsrep_set_SE_checkpoint(xid_t*);
void wsrep_get_SE_checkpoint(wsrep_uuid_t&, wsrep_seqno_t&); void wsrep_get_SE_checkpoint(wsrep_uuid_t&, wsrep_seqno_t&);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment