Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-9429

COLUMN_GET on a subkey with more than three key value pairs returns a corrupted dyncol_blob

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • 10.1.10
    • 10.1.12
    • Dynamic Columns
    • None
    • Ubuntu 14.04
    • 10.1.12

    Description

      MariaDB> select column_json(column_get(column_create('test1', column_create('key1','value1','key2','value2')) , 'test1' as char));
      +-------------------------------------------------------------------------------------------------------------------+
      | column_json(column_get(column_create('test1', column_create('key1','value1','key2','value2')) , 'test1' as char)) |
      +-------------------------------------------------------------------------------------------------------------------+
      | {"key1":"value1","key2":"value2"}                                                                                 |
      +-------------------------------------------------------------------------------------------------------------------+
      1 row in set (0.00 sec)
       
      MariaDB> select column_json(column_get(column_create('test1', column_create('key1','value1','key2','value2','key3','value3')) , 'test1' as char));
      ERROR 1919 (HY000): Encountered illegal format of dynamic column string

      Attachments

        Activity

          People

            sanja Oleksandr Byelkin
            Rich Rich Theobald
            Votes:
            0 Vote for this issue
            Watchers:
            4 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.