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

Warning when to use SUBSTR function

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • 10.1.13
    • N/A
    • OTHER
    • None
    • CentOS 7
      MariaDb 10.1.12/MariaDB 10.1.13

    Description

      Execute this command:

      select SUBSTR("MariaDB", 1, 1); show warnings;
      

      Return this message :

      +---------+------+---------------------------------------+
      | Level   | Code | Message                               |
      +---------+------+---------------------------------------+
      | Warning | 1292 | Truncated incorrect DOUBLE value: 'M' |
      +---------+------+---------------------------------------+
      

      This message does not seem to be correct. I did not understand the function of connection with the double.

      In MySQL we do not have that message.

      Attachments

        Activity

          People

            bar Alexander Barkov
            diegohellas Diego Hellas
            Votes:
            0 Vote for this issue
            Watchers:
            4 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.