XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.1.0b1
    • 1.1.0b2
    • DBAPI 2.0
    • None
    • 3.9

    Description

      The following snippet fails if the statements in execute() and executemany() are the same, since the current implementation doesn't reprepare the statement.

      import mariadb
       
      c=mariadb.connect(db="test", user="foobar", password="foobar", host="127.0.0.1")
      cursor=c.cursor()
       
      cursor.execute("insert into t1 values (NULL,?)", (1,));
      cursor.executemany("insert into t1 values (NULL,?)", [(1,),(2,)]);
      

      Attachments

        Activity

          People

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