mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
fixed mariadb 10.x
This commit is contained in:
@@ -229,7 +229,7 @@ public abstract class LogEvent {
|
|||||||
public static final int DELETE_ROWS_COMPRESSED_EVENT = 171;
|
public static final int DELETE_ROWS_COMPRESSED_EVENT = 171;
|
||||||
|
|
||||||
/** end marker */
|
/** 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
|
* 1 byte length, 1 byte format Length is total length in bytes, including 2
|
||||||
|
|||||||
@@ -711,6 +711,7 @@ public class QueryLogEvent extends LogEvent {
|
|||||||
case Q_XID:
|
case Q_XID:
|
||||||
// xid= uint8korr(pos);
|
// xid= uint8korr(pos);
|
||||||
buffer.forward(8);
|
buffer.forward(8);
|
||||||
|
break;
|
||||||
case Q_GTID_FLAGS3:
|
case Q_GTID_FLAGS3:
|
||||||
// gtid_flags_extra= *pos++;
|
// gtid_flags_extra= *pos++;
|
||||||
// if (gtid_flags_extra & (Gtid_log_event::FL_COMMIT_ALTER_E1 |
|
// if (gtid_flags_extra & (Gtid_log_event::FL_COMMIT_ALTER_E1 |
|
||||||
@@ -725,6 +726,7 @@ public class QueryLogEvent extends LogEvent {
|
|||||||
if ((gtid_flags_extra & (FL_COMMIT_ALTER_E1 | FL_ROLLBACK_ALTER_E1))> 0) {
|
if ((gtid_flags_extra & (FL_COMMIT_ALTER_E1 | FL_ROLLBACK_ALTER_E1))> 0) {
|
||||||
buffer.forward(8);
|
buffer.forward(8);
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
/*
|
/*
|
||||||
* That's why you must write status vars in growing
|
* That's why you must write status vars in growing
|
||||||
|
|||||||
Reference in New Issue
Block a user