Commit a6042123 authored by Monty's avatar Monty

Fixed typo in sql/log_event_server.cc related to ddl xid's.

This could only cause an issue if we got a crash at the very end of a
DDL log execution of an ALTER TABLE. The possible effect would be that
we would get two ALTER TABLE events in the binary log.
parent 7e31cfda
......@@ -1299,7 +1299,7 @@ bool Query_log_event::write()
if (thd && thd->binlog_xid)
{
*start++= Q_XID;
int8store(start, thd->query_id);
int8store(start, thd->binlog_xid);
start+= 8;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment