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

Documentation of JSON contains mistakes

    XMLWordPrintable

    Details

      Description

      Page https://mariadb.com/kb/en/mariadb/connect-json-table-type/ part:

      create function jsonvalue returns string soname 'ha_connect.so';
      create function json_array returns string soname 'ha_connect.so';
      create function json_array_add_values returns string soname 'ha_connect.so';
      create function json_array_add returns string soname 'ha_connect.so';
      create function json_array_delete returns string soname 'ha_connect.so';
      create function json_object returns string soname 'ha_connect.so';
      create function json_object_nonull returns string soname 'ha_connect.so';
      create function json_object_key returns string soname 'ha_connect.so';
      create function json_object_add returns string soname 'ha_connect.so';
      create function json_object_delete returns string soname 'ha_connect.so';
      create function json_object_list returns string soname 'ha_connect.so';
      create function jsonvalue returns string soname 'ha_connect.so';
      create aggregate function json_array_grp returns string soname 'ha_connect.so';
      create aggregate function json_object_grp returns string soname 'ha_connect.so';
      create function json_array_add_values returns string soname 'ha_connect.so';
      create function json_object_add returns string soname 'ha_connect.so';
      create function json_object_delete returns string soname 'ha_connect.so';
      create function json_object_list returns string soname 'ha_connect.so';
      create function jsonlocate returns string soname 'ha_connect.so';
      create function json_locate_all returns string soname 'ha_connect.so';
      create function jsoncontains returns integer soname 'ha_connect.so';
      create function jsoncontains_path returns integer soname 'ha_connect.so';
      create function json_item_merge returns real soname 'ha_connect.so';

      contains duplicates.

      Example below this block states this for test:
      select Json_Value(3.1416);

      while create function uses jsonvalue as function name instead of Json_Value.

        Attachments

          Activity

            People

            Assignee:
            greenman Ian Gilfillan
            Reporter:
            Norbert van Nobelen Norbert van Nobelen
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.