Skip to content

Commit

Permalink
fixed mariadb 10.x
Browse files Browse the repository at this point in the history
  • Loading branch information
agapple committed Sep 13, 2022
1 parent c055737 commit fb69813
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ public abstract class LogEvent {
public static final int DELETE_ROWS_COMPRESSED_EVENT = 171;

/** end marker */
public static final int ENUM_END_EVENT = 165;
public static final int ENUM_END_EVENT = 171;

/**
* 1 byte length, 1 byte format Length is total length in bytes, including 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -711,6 +711,7 @@ private final void unpackVariables(LogBuffer buffer, final int end) throws IOExc
case Q_XID:
// xid= uint8korr(pos);
buffer.forward(8);
break;
case Q_GTID_FLAGS3:
// gtid_flags_extra= *pos++;
// if (gtid_flags_extra & (Gtid_log_event::FL_COMMIT_ALTER_E1 |
Expand All @@ -725,6 +726,7 @@ private final void unpackVariables(LogBuffer buffer, final int end) throws IOExc
if ((gtid_flags_extra & (FL_COMMIT_ALTER_E1 | FL_ROLLBACK_ALTER_E1))> 0) {
buffer.forward(8);
}
break;
default:
/*
* That's why you must write status vars in growing
Expand Down

0 comments on commit fb69813

Please sign in to comment.