Bug #105300 Include newly added status_vars in QUERY_EVENT
Submitted: 22 Oct 2021 15:45 Modified: 22 Oct 2021 16:02
Reporter: DONGWOOK CHANG (OCA) Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Documentation Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: CPU Architecture:Any
Tags: QUERY_EVENT, replication, status_vars

[22 Oct 2021 15:45] DONGWOOK CHANG
Description:
https://dev.mysql.com/doc/internals/en/query-event.html

There are status_vars key-value pairs included in mysql-server source code but not in MySQL documentation.

MySQL documentation only includes keys that rangeds from Q_FLAGS2_CODE(0x00) to Q_MICROSECONDS(0x0d).
  
mysql-server source code suggest there's some more of keys:
Q_COMMIT_TS(0x0e) ~ Q_DEFAULT_TABLE_ENCRYPTION(0x14)

reference:
https://github.com/mysql/mysql-server/blob/8.0/libbinlogevents/include/statement_events.h#...

How to repeat:
Visit https://dev.mysql.com/doc/internals/en/query-event.html for existing status_vars.
[22 Oct 2021 16:02] MySQL Verification Team
Thank you for the bug report.