[CONC-665] Permit to have intermediate EOF in resultset with new capability Created: 2023-09-06  Updated: 2023-09-06

Status: Open
Project: MariaDB Connector/C
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major
Reporter: Diego Dupin Assignee: Georg Richter
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
PartOf
is part of MDEV-32102 Permit to have intermediate EOF in re... Open

 Description   

This is the c/c part of MDEV-32102.

Since 5.7, a new capability CLIENT_DEPRECATE_EOF permit to remove some EOF and change resulset ending packet to an OK_Packet with 0xfe header. This permit to save some bytes, and session tracking that is only supported on OK_Packet.

The problem is that the resultset intermediate contains interesting pieces of information in status_flags like SERVER_MORE_RESULTS_EXIST, SERVER_PS_OUT_PARAMS. C/C didn't implement CLIENT_DEPRECATE_EOF due to that.

This will permit C/C support for CLIENT_DEPRECATE_EOF if MARIADB_CLIENT_SEND_INTERMEDIATE_EOF is set too.
This change will permit to support other fix, like MDEV-31560


Generated at Thu Feb 08 03:06:57 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.