mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
refs codership/mysql-wsrep#90 - fixed race in OSU
Make sure that thd uses the same method to begin and end OSU operation.
This commit is contained in:
committed by
Nirbhay Choubey
parent
c16ec07419
commit
2df5ff2691
@@ -1203,6 +1203,7 @@ THD::THD()
|
||||
wsrep_consistency_check = NO_CONSISTENCY_CHECK;
|
||||
wsrep_status_vars = 0;
|
||||
wsrep_mysql_replicated = 0;
|
||||
wsrep_OSU_method = WSREP_OSU_NONE;
|
||||
wsrep_TOI_pre_query = NULL;
|
||||
wsrep_TOI_pre_query_len = 0;
|
||||
#endif
|
||||
@@ -1609,7 +1610,7 @@ void THD::init(void)
|
||||
wsrep_PA_safe= true;
|
||||
wsrep_consistency_check = NO_CONSISTENCY_CHECK;
|
||||
wsrep_mysql_replicated = 0;
|
||||
|
||||
wsrep_OSU_method = WSREP_OSU_NONE;
|
||||
wsrep_TOI_pre_query = NULL;
|
||||
wsrep_TOI_pre_query_len = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user