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

XA test fail (SQL Alchemy)

    XMLWordPrintable

Details

    • Bug
    • Status: Confirmed (View Workflow)
    • Major
    • Resolution: Unresolved
    • 1.0.0
    • N/A
    • DBAPI 2.0
    • 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

              georg Georg Richter
              georg Georg Richter
              Votes:
              0 Vote for this issue
              Watchers:
              1 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.