group multiple entries in binlog if same xid