From b36398fe0d15c6c263409877f37fa72589a8ca37 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 30 Apr 2004 10:42:12 +0200 Subject: [PATCH] compatibility fix (bug#3606) --- sql/slave.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/slave.cc b/sql/slave.cc index 061c737b538..61d5e956e6c 100644 --- a/sql/slave.cc +++ b/sql/slave.cc @@ -3531,7 +3531,7 @@ static int queue_old_event(MASTER_INFO *mi, const char *buf, */ tmp_buf[event_len++]=0; buf = (const char*)tmp_buf; - int4store(buf+EVENT_LEN_OFFSET, event_len); + int4store(tmp_buf+EVENT_LEN_OFFSET, event_len); } /* This will transform LOAD_EVENT into CREATE_FILE_EVENT, ask the master to