Details

    Description

      1) JSON_MERGE is listed as deprecated in MySQL (replaced by JSON_MERGE_PRESERVE), but is still in MariaDB.
      2) RFC 7396 compliant JSON merging is missing from MariaDB.

      MySQL 8.0 reference:
      https://dev.mysql.com/doc/refman/8.0/en/json-modification-functions.html#function_json-merge-patch

      MySQL 5.7.22 reference;
      https://mysqlserverteam.com/new-json-functions-in-mysql-5-7-22/

      RFC 7396:
      https://tools.ietf.org/html/rfc7396

      Attachments

        Issue Links

          Activity

            Ellerbrockr richardeaxon added a comment -

            This would be great.

            Ellerbrockr richardeaxon added a comment - This would be great.
            alekseymvt Aleksey M. added a comment - - edited

            This is very necessary!
            Stupid json_merge break the object.

            SELECT JSON_MERGE('{"Name": "Bartholomew"}', '{"Name": "Bart"}')
             
            -- {"Name": ["Bartholomew", "Bart"]}
            

            alekseymvt Aleksey M. added a comment - - edited This is very necessary! Stupid json_merge break the object. SELECT JSON_MERGE( '{"Name": "Bartholomew"}' , '{"Name": "Bart"}' )   -- {"Name": ["Bartholomew", "Bart"]}
            alekseymvt Aleksey M. added a comment - - edited

            Please, @elenst, look at this task.
            JSON_MERGE_PATCH is very necessary!

            alekseymvt Aleksey M. added a comment - - edited Please, @elenst, look at this task. JSON_MERGE_PATCH is very necessary!
            holyfoot Alexey Botchkov added a comment - http://lists.askmonty.org/pipermail/commits/2019-May/013781.html

            People

              holyfoot Alexey Botchkov
              darkain Vincent Milum Jr
              Votes:
              5 Vote for this issue
              Watchers:
              6 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.