Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.0.2
    • 1.0.3
    • Generic
    • None

    Description

      Since MariaDB Server 10.5 data type JSON is not returned as MYSQL_TYPE_JSON anymore, but as MYSQL_TYPE_BLOB with extended field attributes, which results in wrong data type:

      import mariadb
       
      conn=mariadb.connect(db="test")
      cursor=conn.cursor()
      cursor.execute("create temporary table t1(a json)")
      cursor.execute("insert into t1 values ('{}')")
      cursor.execute("select * from t1");
      fieldinfo= mariadb.fieldinfo()
      info= cursor.description
      print(fieldinfo.type(info[0]))
      del cursor
      del connection
      

      Output:

      BLOB
      

      Attachments

        Activity

          georg Georg Richter created issue -
          georg Georg Richter added a comment -

          Fixed in rev. 5d4a8d5d6242597c80f1f0b9740b68f7b743188b

          georg Georg Richter added a comment - Fixed in rev. 5d4a8d5d6242597c80f1f0b9740b68f7b743188b
          georg Georg Richter made changes -
          Field Original Value New Value
          issue.field.resolutiondate 2020-09-29 09:49:20.0 2020-09-29 09:49:20.709
          georg Georg Richter made changes -
          Component/s Generic [ 14515 ]
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          georg Georg Richter made changes -
          Issue Type Task [ 3 ] Bug [ 1 ]
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 113985 ] MariaDB v4 [ 135682 ]

          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.