MXS-1506: Fix handle_causal_read_reply

The function did not return the changed buffer to the caller of the
function.
This commit is contained in:
Markus Mäkelä
2018-04-08 08:20:20 +03:00
parent 52c55a365e
commit f124e388fa
2 changed files with 30 additions and 38 deletions

View File

@ -161,7 +161,7 @@ private:
void log_master_routing_failure(bool found, mxs::SRWBackend& old_master,
mxs::SRWBackend& curr_master);
bool handle_causal_read_reply(GWBUF *writebuf, mxs::SRWBackend& backend);
GWBUF* handle_causal_read_reply(GWBUF *writebuf, mxs::SRWBackend& backend);
GWBUF* add_prefix_wait_gtid(SERVER *server, GWBUF *origin);
void correct_packet_sequence(GWBUF *buffer);
GWBUF* discard_master_wait_gtid_result(GWBUF *buffer);