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

output of function Jbin_Array (CONNECT engine) shows garbage besides results

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 10.1, 10.2, 10.3
    • 10.3
    • None
    • Ubuntu 16.04

    Description

      function Jbin_Array expected to return only "Binary Json array", (https://mariadb.com/kb/en/mariadb/connect-json-table-type/#the-jbin-return-type), but it prints also some garbage and it accumulates

      select Jbin_Array('a','b','c');
       
      | Binary Json array ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������         И|�     ����        ���������|�  ��|�  
       
       
      select Json_Array_Add(Json_Array(56,3.1416,'machin',NULL),'One more');
      +----------------------------------------------------------------+
      | Json_Array_Add(Json_Array(56,3.1416,'machin',NULL),'One more') |
      +----------------------------------------------------------------+
      | [56,3.1416,"machin",null,"One more"]                           |
      +----------------------------------------------------------------+
       
      select Jbin_Array('a','b','c');
      | Binary Json array 6, "machin", null] ���(�_��        0�|�  ȿ|�  H�|�  ��_��      ����        `�|�  ��|�   ��������`��  И|�  DV<��  HW<��     �         8       ��_��      ����        Ⱦ|�   �|�   �������H`��  И|�  IV<��          И|�                �_��  ��|�  ��|�    
      
      

      Attachments

        Activity

          People

            bertrandop Olivier Bertrand
            alice Alice Sherepa
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.