FORMAT_DESCRIPTION_EVENT

You are viewing an old version of this article. View the current version here.

This event occurs at the beginning of a binary log file, at position 4 (after the 4 magic number bytes)

Event is byte<19> event header + data

Fields

  • uint<4> The binary log format version. This is 4 in MariaDB 10 and up.
  • byte<50> The MariaDB server's version (example: 10.2.1-debug-log), padded with 0x00 bytes on the right.
  • uint<4> Timestamp in seconds when this event was created (this is the moment when the binary log was created). This value is redundant; the same value occurs in the timestamp header field.
  • uint<1> The header length. This length - 19 gives the size of the extra headers field at the end of the header for other events.
  • byte<EOF> Variable-sized. An array that indicates the post-header lengths for all event types. There is one byte per event type that the server knows about.

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.