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

INET6_NTOA output is set as null to varchar(39) variable

    XMLWordPrintable

Details

    • 10.2.11

    Description

      The following code snippet was working for me in version 10.2.6. But I saw issues in version 10.2.9, where the variable "ip_full_addr" is returning null instead of expected value 2000::

       DECLARE ip_full_addr varchar(39) DEFAULT "";
       SELECT INET6_NTOA(UNHEX('20000000000000000000000000000000')) into ip_full_addr;
       SELECT ip_full_addr;
      

      Attachments

        Activity

          People

            bar Alexander Barkov
            vijay Vijay
            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.