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

mariadb.InterfaceError:

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.1.12
    • N/A
    • Generic
    • None
    • 3.12.7

    Description

      Python 3.12.7
      mariadb._version_ = 1.1.12
      mariadb.mariadbapi_version = 3.4.4

      Problem:
      When inserting text of a certain size you get a mariadb.InterfaceError

      Error:
      exception: no description
      File "", line 5, in <module>
      cursor.execute("INSERT INTO testing_weird_bug (a) VALUES ",('a' * 8126,))
      mariadb.InterfaceError:

      Code to reproduce:

      import mariadb
      connection = mariadb.connect() #fill in connection info here
      cursor = connection.cursor()
      cursor.execute("CREATE TABLE testing_weird_bug (a TEXT)")
      cursor.execute("INSERT INTO testing_weird_bug (a) VALUES (?)",('a' * 8126,))
      

      Attachments

        Issue Links

          Activity

            People

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