diff options
author | sjaakola <seppo.jaakola@iki.fi> | 2017-05-10 15:59:52 +0300 |
---|---|---|
committer | Jan Lindström <jan.lindstrom@mariadb.com> | 2017-08-14 14:40:25 +0300 |
commit | 7ee47ef456f5b462187e299b7d5af539e107a1e5 (patch) | |
tree | 6a38531445032db4138e39c021d6ea9d001ee3c7 /sql/handler.cc | |
parent | 318af3f3b8bb0a0cbf14e4d5cbf760b02dbd8881 (diff) | |
download | mariadb-git-7ee47ef456f5b462187e299b7d5af539e107a1e5.tar.gz |
MW-378 enabling build with WITH_WSREP=OFF only one fix here, enables build of mysqld however, building embedded server fails in linking phase
Diffstat (limited to 'sql/handler.cc')
-rw-r--r-- | sql/handler.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/handler.cc b/sql/handler.cc index 19f648219ac..6072a828ab6 100644 --- a/sql/handler.cc +++ b/sql/handler.cc @@ -1690,6 +1690,11 @@ int ha_rollback_trans(THD *thd, bool all) { // cannot happen my_error(ER_ERROR_DURING_ROLLBACK, MYF(0), err); error=1; +#ifdef WITH_WSREP + WSREP_WARN("handlerton rollback failed, thd %lu %lld conf %d SQL %s", + thd->thread_id, thd->query_id, thd->wsrep_conflict_state, + thd->query()); +#endif /* WITH_WSREP */ } status_var_increment(thd->status_var.ha_rollback_count); ha_info_next= ha_info->next(); |