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

Client Program Displays field differently with \G

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Incomplete
    • 5.5.40
    • N/A
    • OTHER
    • None

    Description

      I was working trying to remove some corrupt data from a table and noticed that the field was being displayed differently depending on whether or not I used the \G modifier on the query...

       
      mysql> select pid from players where id=29354221;
      +------------+
      | pid        |
      +------------+
      |  s p c i a |
      +------------+
      1 row in set (0.00 sec)
       
      mysql> select pid from players where id=29354221\G
      *************************** 1. row ***************************
      pid:
      1 row in set (0.00 sec)
       
      mysql> select hex(pid) from players where id=29354221\G
      *************************** 1. row ***************************
      hex(pid): 00730070006300690061
      1 row in set (0.01 sec)
       

      Attachments

        Activity

          People

            Unassigned Unassigned
            steveb3210 Stephen Blackstone
            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.