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

Add binary option for cursor

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.0.1
    • Component/s: DBAPI 2.0
    • Labels:
      None

      Description

      In current implementation *execute() *method of a cursor only uses binary protocol if parameters were passed.

      This might slowdown fetch operation, epecially when transferring large amount of numbers for server to client.

      To force use of binary protcol, it should be possible to force a cursor to use always binary protocol:

      cursor= conn.cursor(binary=True)
      

        Attachments

          Activity

            People

            Assignee:
            georg Georg Richter
            Reporter:
            georg Georg Richter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: