Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-533

Provide non blocking support for binary protocol

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 3.2.0
    • API
    • 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

          People

            georg Georg Richter
            georg Georg Richter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.