diff --git a/sql/wsrep_mysqld.h b/sql/wsrep_mysqld.h
|
index 819a56b9f23..3cd5fe91b13 100644
|
--- a/sql/wsrep_mysqld.h
|
+++ b/sql/wsrep_mysqld.h
|
@@ -47,7 +47,6 @@ struct wsrep_thd_shadow {
|
uint server_status;
|
enum wsrep_exec_mode wsrep_exec_mode;
|
Vio *vio;
|
- ulong tx_isolation;
|
const char *db;
|
size_t db_length;
|
my_hrtime_t user_time;
|
diff --git a/sql/wsrep_thd.cc b/sql/wsrep_thd.cc
|
index ce6d9688cb3..c8e6d5533cc 100644
|
--- a/sql/wsrep_thd.cc
|
+++ b/sql/wsrep_thd.cc
|
@@ -160,10 +160,6 @@ static void wsrep_prepare_bf_thd(THD *thd, struct wsrep_thd_shadow* shadow)
|
thd->net.vio= 0;
|
thd->clear_error();
|
|
- shadow->tx_isolation = thd->variables.tx_isolation;
|
- thd->variables.tx_isolation = ISO_READ_COMMITTED;
|
- thd->tx_isolation = ISO_READ_COMMITTED;
|
-
|
shadow->db = thd->db.str;
|
shadow->db_length = thd->db.length;
|
shadow->user_time = thd->user_time;
|
@@ -178,7 +174,6 @@ static void wsrep_return_from_bf_mode(THD *thd, struct wsrep_thd_shadow* shadow)
|
thd->server_status = shadow->server_status;
|
thd->wsrep_exec_mode = shadow->wsrep_exec_mode;
|
thd->net.vio = shadow->vio;
|
- thd->variables.tx_isolation = shadow->tx_isolation;
|
thd->user_time = shadow->user_time;
|
thd->reset_db(&db);
|