Uploaded image for project: 'MariaDB Connector/Python'
  1. MariaDB Connector/Python
  2. CONPY-241

Parameter substitution in text protocol

    XMLWordPrintable

Details

    • Task
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 1.1.5
    • None
    • Performance
    • None
    • 3.10

    Description

      The current implementation of parameter substitution (text protocol) is written in pure Python and is too slow, compared to other MariaDB Connectors.

      Instead, parameter substitution should be handled in C code.

      In order to avoid unnecessary memory consumption, this should ideally be implemented using a (not yet existing) stream send function.

      The send function could be implemented in Connector/C or as a fallback in Connector/Python by writing directly to the socket (which can be obtained via the C/C API).

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:

              Git Integration

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