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

No warning after CAST( AS xmltype)

    XMLWordPrintable

Details

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

    Description

      MariaDB [test]> SELECT CAST('a' AS int);
      +------------------+
      | CAST('a' AS int) |
      +------------------+
      |                0 |
      +------------------+
      1 row in set, 1 warning (0,001 sec)
       
      Warning (Code 1292): Truncated incorrect INTEGER value: 'a'
       
      MariaDB [test]> SELECT CAST('a' AS xmltype);
      +----------------------+
      | CAST('a' AS xmltype) |
      +----------------------+
      | NULL                 |
      +----------------------+
      1 row in set (0,009 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.