Details

    • New Feature
    • Status: Closed (View Workflow)
    • Trivial
    • Resolution: Fixed
    • 0.9.55
    • 0.9.56
    • DBAPI 2.0
    • None

    Description

      Cursor parameters are allowed to be only tuples.

      qr.execute('select ?', [True])
      Traceback (most recent call last):
        File "<input>", line 1, in <module>
          qr.execute('select ?', [True])
      TypeError: argument 2 must be tuple!
      

      Please consider accept list as well, it makes migration to Connector/Python a lot easier.

      Attachments

        Activity

          georg Georg Richter added a comment -

          It also affects cursor.executemany()

          georg Georg Richter added a comment - It also affects cursor.executemany()
          georg Georg Richter added a comment -

          Fixed in rev. 434a4905396da815ae07c287912b5857b5c0519c

          georg Georg Richter added a comment - Fixed in rev. 434a4905396da815ae07c287912b5857b5c0519c

          People

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