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

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Not a Bug
    • Affects Version/s: 10.1.10
    • Fix Version/s: 10.1.12
    • Component/s: Dynamic Columns
    • Labels:
      None
    • Environment:
      Ubuntu 14.04
    • Sprint:
      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

            Assignee:
            sanja Oleksandr Byelkin
            Reporter:
            Rich Rich Theobald
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration