I've been trying to understand the format of the MySQL binary logs: I've noted from /clients/log_event.h that there are two formats, the "old" one with an event header length of 13 bytes, and a "new" one with an event header length of 19 bytes. That's perfectly clear: but supposing I have two logs, one in the old format and one in the new, and I don't know which version of MySQL each originated from. How do I work out which is in which format? (AIUI, the format version is in the first byte of the data of the START event - but to navigate to this, I need to know how long the event header is, and this is defined by the format version!)
Help and ideas would be greatly appreciated, and apologies if I'm missing something. -- Peter Duffy <[EMAIL PROTECTED]> Supanet Ltd. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]