TeslaCN commented on issue #20713:
URL: 
https://github.com/apache/shardingsphere/issues/20713#issuecomment-1350556930

   MySQL maintain a field `pkt_nr` in `NET` to hold sequence ID for current 
connection.
   
   
https://github.com/mysql/mysql-server/blob/a246bad76b9271cb4333634e954040a970222e0a/include/mysql_com.h#L921
   
   Sequence ID would be verified when reading packet headers.
   
   
https://github.com/mysql/mysql-server/blob/a246bad76b9271cb4333634e954040a970222e0a/sql-common/net_serv.cc#L1477-L1502


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to