Since MySQL 5.7 and
MDEV-8931 for MariaDB, capability CLIENT_DEPRECATE_EOF is present on server, but design has some flows: connectors don't have intermediate EOF anymore on resultset.
This intermediate did have some interesting pieces of information in status_flags like SERVER_MORE_RESULTS_EXIST, SERVER_PS_OUT_PARAMS.
When using binary protocol, calling a stored procedure, output parameters are sent as a resultset. This resultset was identified with intermediate EOF. This piece of information is now present on ending ok_packet only, AFTER having read the rows.
CLIENT_DEPRECATE_EOF capability cannot be set by connector without creating lots of issues.
This task is to add a new specific capability that will indicate to always have the intermediate EOF packet, even with CLIENT_DEPRECATE_EOF activated.