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

Cursor protocol cuts off the end of json body for some json functions

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.5, 10.6, 11.1(EOL), 11.2, 10.4(EOL), 10.9(EOL), 10.10(EOL), 11.0(EOL)
    • 10.5, 10.6, 11.2
    • JSON
    • None

    Description

      Testcase (run MTR test with --cursor-protocol):

      select json_array_append('["a", "b"]', '$', FALSE);
      

      Expected result:

      json_array_append('["a", "b"]', '$', FALSE)
      ["a", "b", false]
      

      Actual result:

      json_array_append('["a", "b"]', '$', FALSE)
      ["a", "b", fals
      

      The same behavior repeats for json_insert, json_set, json_type, json_unquote, json_object, json_loose, json_detailed

      Attachments

        Issue Links

          Activity

            People

              sanja Oleksandr Byelkin
              lstartseva Lena Startseva
              Votes:
              0 Vote for this issue
              Watchers:
              1 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.