[CONC-533] Provide non blocking support for binary protocol Created: 2021-03-15  Updated: 2021-05-31  Resolved: 2021-05-31

Status: Closed
Project: MariaDB Connector/C
Component/s: API
Affects Version/s: None
Fix Version/s: 3.2.0

Type: Task Priority: Major
Reporter: Georg Richter Assignee: Georg Richter
Resolution: Fixed Votes: 0
Labels: None


 Description   

While text protocol provides a non blocking api call mysql_send_query (which sends a statement to the server without waiting for response packet), binary protocol has no corresponding api call (prepared statements) which makes asynchronous implementation without internal async api impossible.

Proposal:

Provide a new option MARIADB_OPT_SKIP_READ_RESPONSE which defines if a response from command (text or binary) protocol should be read or not. Additionally mysql->methods structure need to provide a pointer to the function which reads response from statement execution.


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