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

Ugly name qualification in ER_TRUNCATED_WRONG_VALUE_FOR_FIELD message

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 10.2, 10.3, 10.4, 10.5, 10.6
    • 10.4, 10.5
    • Server
    • None

    Description

      create procedure pr(a int) select a;
      set sql_mode='';
      call pr('foo');
      set sql_mode='STRICT_ALL_TABLES';
      call pr('foo');
      drop procedure pr;
      

      MariaDB [test]> show warnings;
      +---------+------+--------------------------------------------------------------+
      | Level   | Code | Message                                                      |
      +---------+------+--------------------------------------------------------------+
      | Warning | 1366 | Incorrect integer value: 'foo' for column ``.``.`a` at row 1 |
      +---------+------+--------------------------------------------------------------+
      1 row in set (0.000 sec)
      

      ERROR 1366 (22007): Incorrect integer value: 'foo' for column ``.``.`a` at row 1
      

      Attachments

        Activity

          People

            bar Alexander Barkov
            elenst Elena Stepanova
            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.