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

Unreadable control characters printed as is in warnings

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 10.0, 10.1
    • 10.5.1
    • Character Sets
    • None
    • 10.1.10, 10.1.11

    Description

      SELECT CAST(_latin1 0x01 AS INT);
      SHOW WARNINGS;

      returns this warning:

      +---------+------+----------------------------------------+
      | Level   | Code | Message                                |
      +---------+------+----------------------------------------+
      | Warning | 1292 | Truncated incorrect INTEGER value: '<garbage>�' |
      +---------+------+----------------------------------------+

      Notice, the unreadable control character 0x01 is printed as is. It should be escaped.

      Attachments

        Activity

          People

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