MySQL Forums
Forum List  »  Docs

Are CLIENT_DEPRECATE_EOF EOF packets potentially ambiguous?
Posted by: Michael Lenaghan
Date: April 20, 2019 12:56PM

The EOF Packet documentation (https://dev.mysql.com/doc/internals/en/packet-EOF_Packet.html) says:

Caution

The EOF packet may appear in places where a Protocol::LengthEncodedInteger may appear. You must check whether the packet length is less than 9 to make sure that it is a EOF packet.

Now, with the CLIENT_DEPRECATE_EOF capability, EOF packets are OK-packet sized. In other words, they still start with 0xFE, but their packet length is greater than 9.

Does that mean that CLIENT_DEPRECATE_EOF EOF packets (i.e., OK packets with a 0xFE header) are potentially ambiguous?

Options: ReplyQuote


Subject
Views
Written By
Posted
Are CLIENT_DEPRECATE_EOF EOF packets potentially ambiguous?
1454
April 20, 2019 12:56PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.