Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
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.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
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. |
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. |
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. |
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. |
issue.field.resolutiondate | 2021-05-31 06:41:50.0 | 2021-05-31 06:41:50.606 |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Workflow | MariaDB connectors [ 120099 ] | MariaDB v4 [ 161243 ] |