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

Core dump with named tuple cursor and information_schema

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Won't Fix
    • 1.0.6
    • N/A
    • Generic
    • None

    Description

      Connector is causing a coredump if I try to access any information_schema table with a named tuple cursor (dict and tuple works as expected)

      import mariadb
       
      db = mariadb.connect(host='10.0.0.2', user='Administrador', password='xxx', database='base')
       
      qr = db.cursor(named_tuple=True)
      qr.execute('select * from some_table')
      rows = qr.fetchall()
      print('select 1 ok')
       
      qr.execute('select * from information_schema.columns')
       
      # Coredump here with 
      # Fatal Python error: type_traverse() called for non-heap type 'mariadb.Row'
      rows = qr.fetchall()
      
      

      Attachments

        Activity

          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.