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

UpdateXML should retuln xmltype

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Critical
    • Resolution: Unresolved
    • None
    • 12.3
    • None
    • None

    Description

      MariaDB [test]> create table c as select UpdateXML('<a><b>ccc</b><d></d></a>', '/a', '<e>fff</e>');
      Query OK, 1 row affected (0,057 sec)
      Records: 1  Duplicates: 0  Warnings: 0
       
      MariaDB [test]> show create table c;
      +-------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
      | Table | Create Table                                                                                                                                                                 |
      +-------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
      | c     | CREATE TABLE `c` (
        `UpdateXML('<a><b>ccc</b><d></d></a>', '/a', '<e>fff</e>')` longtext DEFAULT NULL
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci |
      +-------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
      1 row in set (0,001 sec)
      

      Attachments

        Issue Links

          Activity

            People

              holyfoot Alexey Botchkov
              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.