fixed issue #5453 , skipping Query_log_event by unknown status vars

This commit is contained in:
jianghang.loujh
2025-05-16 14:57:54 +08:00
parent e21e98aa83
commit dad209feb8

View File

@@ -773,7 +773,7 @@ public class QueryLogEvent extends LogEvent {
// percona // percona
// *start++ = thd->variables.binlog_ddl_skip_rewrite; // *start++ = thd->variables.binlog_ddl_skip_rewrite;
buffer.forward(1); buffer.forward(1);
}else { } else {
// PolarDB-X // PolarDB-X
// *start++ = thd->variables.opt_flashback_area; // *start++ = thd->variables.opt_flashback_area;
buffer.forward(1); buffer.forward(1);
@@ -835,7 +835,7 @@ public class QueryLogEvent extends LogEvent {
*/ */
logger.error("Query_log_event has unknown status vars (first has code: " + code logger.error("Query_log_event has unknown status vars (first has code: " + code
+ "), skipping the rest of them"); + "), skipping the rest of them");
break; // Break loop return; // Break loop
} }
} }
} catch (RuntimeException e) { } catch (RuntimeException e) {