From 55dfddff1d99db73f19cdbd1eff3222f2acd181d Mon Sep 17 00:00:00 2001 From: Alexey Yurchenko Date: Tue, 9 Jun 2015 17:02:26 +0300 Subject: Fixing donate callback return code --- sql/wsrep_sst.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/wsrep_sst.cc') diff --git a/sql/wsrep_sst.cc b/sql/wsrep_sst.cc index cda8ec7418d..a73c9706c7d 100644 --- a/sql/wsrep_sst.cc +++ b/sql/wsrep_sst.cc @@ -1092,7 +1092,7 @@ wsrep_cb_status_t wsrep_sst_donate_cb (void* app_ctx, void* recv_ctx, current_gtid->seqno, bypass, env()); } - return (ret > 0 ? WSREP_CB_SUCCESS : WSREP_CB_FAILURE); + return (ret >= 0 ? WSREP_CB_SUCCESS : WSREP_CB_FAILURE); } void wsrep_SE_init_grab() -- cgit v1.2.1