summaryrefslogtreecommitdiff
path: root/sql/wsrep_hton.cc
diff options
context:
space:
mode:
authorJan Lindström <jplindst@mariadb.org>2014-04-16 13:08:29 +0300
committerJan Lindström <jplindst@mariadb.org>2014-04-16 13:08:29 +0300
commitfa18dc394406ad684ab2623e7451c9f3ec7adf08 (patch)
tree6b708eaa3b970ee14451c2ffdd5d89c7d8dce0dd /sql/wsrep_hton.cc
parent150e88e8c9b85e3e6ce500a91fd215d231e99881 (diff)
downloadmariadb-git-fa18dc394406ad684ab2623e7451c9f3ec7adf08.tar.gz
Merge lp:codership-mysql/5.5 -r3961..3980.
Diffstat (limited to 'sql/wsrep_hton.cc')
-rw-r--r--sql/wsrep_hton.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/wsrep_hton.cc b/sql/wsrep_hton.cc
index c5627ff97fb..84034ec776e 100644
--- a/sql/wsrep_hton.cc
+++ b/sql/wsrep_hton.cc
@@ -505,11 +505,17 @@ wsrep_run_wsrep_commit(THD *thd, handlerton *hton, bool all)
DBUG_RETURN(WSREP_TRX_CERT_FAIL);
+ case WSREP_SIZE_EXCEEDED:
+ WSREP_ERROR("transaction size exceeded");
+ mysql_mutex_unlock(&thd->LOCK_wsrep_thd);
+ DBUG_RETURN(WSREP_TRX_SIZE_EXCEEDED);
case WSREP_CONN_FAIL:
WSREP_ERROR("connection failure");
+ mysql_mutex_unlock(&thd->LOCK_wsrep_thd);
DBUG_RETURN(WSREP_TRX_ERROR);
default:
WSREP_ERROR("unknown connection failure");
+ mysql_mutex_unlock(&thd->LOCK_wsrep_thd);
DBUG_RETURN(WSREP_TRX_ERROR);
}