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

CONNECT table with INET6 field produces warnings upon SELECT

    XMLWordPrintable

Details

    Description

      create table t1 (a inet6) engine=CONNECT table_type=DOS FILE_NAME='t1.dos';
      insert into t1 values ('::');
      select * from t1;
      

      10.5 41fe972d

      MariaDB [test]> select * from t1;
      +------+
      | a    |
      +------+
      | ::   |
      +------+
      1 row in set, 2 warnings (0.000 sec)
       
      MariaDB [test]> show warnings;
      +---------+------+-----------------------------------------------------------------+
      | Level   | Code | Message                                                         |
      +---------+------+-----------------------------------------------------------------+
      | Warning | 1292 | Incorrect inet6 value: '::' for column `test`.`t1`.`a` at row 1 |
      | Warning | 1105 | Out of range value :: for column 'a' at row 1                   |
      +---------+------+-----------------------------------------------------------------+
      2 rows in set (0.000 sec)
      

      Attachments

        Issue Links

          Activity

            People

              bar Alexander Barkov
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              1 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.