Skip to content

Commit 3c77181

Browse files
committed
Merge 10.4 into 10.5
2 parents c24253d + 67e063e commit 3c77181

File tree

4 files changed

+18
-4
lines changed

4 files changed

+18
-4
lines changed

sql/wsrep_high_priority_service.cc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,14 @@ int Wsrep_applier_service::apply_write_set(const wsrep::ws_meta& ws_meta,
527527
DBUG_RETURN(ret);
528528
}
529529

530+
int Wsrep_applier_service::apply_nbo_begin(const wsrep::ws_meta& ws_meta,
531+
const wsrep::const_buffer& data,
532+
wsrep::mutable_buffer& err)
533+
{
534+
DBUG_ENTER("Wsrep_applier_service::apply_nbo_begin");
535+
DBUG_RETURN(0);
536+
}
537+
530538
void Wsrep_applier_service::after_apply()
531539
{
532540
DBUG_ENTER("Wsrep_applier_service::after_apply");

sql/wsrep_high_priority_service.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ class Wsrep_applier_service : public Wsrep_high_priority_service
8585
~Wsrep_applier_service();
8686
int apply_write_set(const wsrep::ws_meta&, const wsrep::const_buffer&,
8787
wsrep::mutable_buffer&);
88+
int apply_nbo_begin(const wsrep::ws_meta&, const wsrep::const_buffer& data,
89+
wsrep::mutable_buffer& err);
8890
void after_apply();
8991
bool is_replaying() const { return false; }
9092
bool check_exit_status() const;
@@ -97,6 +99,12 @@ class Wsrep_replayer_service : public Wsrep_high_priority_service
9799
~Wsrep_replayer_service();
98100
int apply_write_set(const wsrep::ws_meta&, const wsrep::const_buffer&,
99101
wsrep::mutable_buffer&);
102+
int apply_nbo_begin(const wsrep::ws_meta&, const wsrep::const_buffer& data,
103+
wsrep::mutable_buffer& err)
104+
{
105+
DBUG_ASSERT(0); /* DDL should never cause replaying */
106+
return 0;
107+
}
100108
void after_apply() { }
101109
bool is_replaying() const { return true; }
102110
void replay_status(enum wsrep::provider::status status)

sql/wsrep_mysqld.cc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1888,9 +1888,7 @@ static int wsrep_TOI_begin(THD *thd, const char *db, const char *table,
18881888

18891889
wsrep::client_state& cs(thd->wsrep_cs());
18901890
int ret= cs.enter_toi_local(key_array,
1891-
wsrep::const_buffer(buff.ptr, buff.len),
1892-
wsrep::provider::flag::start_transaction |
1893-
wsrep::provider::flag::commit);
1891+
wsrep::const_buffer(buff.ptr, buff.len));
18941892

18951893
if (ret)
18961894
{

0 commit comments

Comments
 (0)