summaryrefslogtreecommitdiff
path: root/sql/sql_parse.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2014-09-28 12:41:51 +0200
committerSergei Golubchik <serg@mariadb.org>2014-10-01 23:48:35 +0200
commiteaec266eb16c8f02835f76ac987fca5de4debd51 (patch)
tree9cca42f62ebe463f1ac8600f2b6cfde5356d2056 /sql/sql_parse.cc
parent13af416a82796648dffdffbda0da6d60513d7ddf (diff)
downloadmariadb-git-eaec266eb16c8f02835f76ac987fca5de4debd51.tar.gz
restore and fix wsrep status variables
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r--sql/sql_parse.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index cdafeccd392..0180a1d97c5 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -5705,14 +5705,6 @@ static bool execute_sqlcom_select(THD *thd, TABLE_LIST *all_tables)
else
status_var_add(thd->status_var.rows_sent, thd->get_sent_row_count());
-#ifdef WITH_WSREP
- if (thd->wsrep_status_vars)
- {
- wsrep->stats_free (wsrep, thd->wsrep_status_vars);
- thd->wsrep_status_vars = 0;
- }
-#endif
-
return res;
}