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

XA test fail (SQL Alchemy)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Confirmed (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0.0
    • Fix Version/s: N/A
    • Component/s: DBAPI 2.0
    • Labels:
      None

      Description

      test_execute test of SQL Alchemy fails due to lack of supporting XA statements in binary protocol:

      Python 3.8.1 (default, Dec 31 2019, 18:42:42) 
      [GCC 7.4.0] on linux
      Type "help", "copyright", "credits" or "license" for more information.
      >>> import mariadb
      >>> c=mariadb.connect(database="test")
      >>> cursor=c.cursor()
      >>> cursor.execute("XA BEGIN ?", ('_sa_8a4708f106847beffd4ac9d1ea513d3b',))
      Traceback (most recent call last):
        File "<stdin>", line 1, in <module>
      mariadb.ProgrammingError: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '?' at line 1
      

        Attachments

          Issue Links

            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:

                  Git Integration