summaryrefslogtreecommitdiff
path: root/sql/wsrep_mysqld.h
diff options
context:
space:
mode:
authorSachin Setiya <sachin.setiya@mariadb.com>2017-03-23 16:52:55 +0530
committerSachin Setiya <sachin.setiya@mariadb.com>2017-04-06 15:41:54 +0530
commitff7426290ce0d46f25b0d510171f11c08e7f11a7 (patch)
tree7e763a6f4fd5387c3f40ad8f059eac51bd3f8863 /sql/wsrep_mysqld.h
parent770553e1857eeb8552caf30b930e4233c060de8a (diff)
downloadmariadb-git-ff7426290ce0d46f25b0d510171f11c08e7f11a7.tar.gz
MW-329 Fix incorrect affected rows count after replay
Fixes wsrep_replay_transaction so that it preserves affected rows, last insert id, and message from diagnostics area.
Diffstat (limited to 'sql/wsrep_mysqld.h')
-rw-r--r--sql/wsrep_mysqld.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/wsrep_mysqld.h b/sql/wsrep_mysqld.h
index 0155d3684b2..f02a3cd72f3 100644
--- a/sql/wsrep_mysqld.h
+++ b/sql/wsrep_mysqld.h
@@ -51,6 +51,7 @@ struct wsrep_thd_shadow {
char *db;
size_t db_length;
my_hrtime_t user_time;
+ longlong row_count_func;
};
// Global wsrep parameters