Bug #85551 Server incorrectly handles EOF flag
Submitted: 20 Mar 2017 21:50 Modified: 22 Mar 2017 10:01
Reporter: Daniël van Eeden (OCA) Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:5.7.17 OS:Any
Assigned to: CPU Architecture:Any
Tags: Connector/J, EOF

[20 Mar 2017 21:50] Daniël van Eeden
Description:
In Connector/J 5.1.39 the deprecate-EOF feature was implemented.

https://github.com/mysql/mysql-connector-j/commit/e8d178fb9a7827057c8824e96fa82440f6342a60

If you connect with Connector/J 5.1.38 or earlier to MySQL Server 5.7.17 then Connector/J doesn't set the deprecate-eof flag.

Then the server is expected to send EOF packets, but that doesn't happen.

How to repeat:
Connect with Connector/J 5.1.38 and 5.1.41 and
1. Check the EOF-deprecation flag
2. Check if EOF packets are present
[22 Mar 2017 8:45] Daniël van Eeden
This is a duplicate of:
Bug #83346 	CLIENT_DEPRECATE_EOF not respected when query cache is enabled