diff options
author | Alexey Yurchenko <ayurchen@gmail.com> | 2015-06-09 17:02:26 +0300 |
---|---|---|
committer | Nirbhay Choubey <nirbhay@mariadb.com> | 2015-09-09 17:03:32 -0400 |
commit | 55dfddff1d99db73f19cdbd1eff3222f2acd181d (patch) | |
tree | e3e549d415dd174e5634d0ca357563984ffe6c93 /sql/wsrep_sst.cc | |
parent | 0465e3a117f6c0c2e7c20441007c1e92d9c563ca (diff) | |
download | mariadb-git-55dfddff1d99db73f19cdbd1eff3222f2acd181d.tar.gz |
Fixing donate callback return code
Diffstat (limited to 'sql/wsrep_sst.cc')
-rw-r--r-- | sql/wsrep_sst.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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() |