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

Unreadable control characters printed as is in warnings

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.0, 10.1
    • Fix Version/s: 10.5.1
    • Component/s: Character Sets
    • Labels:
      None
    • Sprint:
      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

            Assignee:
            bar Alexander Barkov
            Reporter:
            bar Alexander Barkov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: