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

TEE command does not work when piped into mysql client

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 5.1.67, 5.2.14, 5.3.12, 5.5.40, 10.0.14, 10.1.0
    • Fix Version/s: 10.1
    • Component/s: OTHER

      Description

      The following command will work as expected with Percona and Oracle MySQL 5.6 releases, but not with MariaDB 10.1: output is generated on stdout but the /tmp/foo file is not being created.

      echo "TEE /tmp/foo; SHOW MASTER STATUS\G; NOTEE;" | mysql

      When running the same query from within the mysql client application (as opposed to piping into it), the file will be created as expected.

        Attachments

          Activity

            People

            Assignee:
            bar Alexander Barkov
            Reporter:
            rojaro Robin J. rogge
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:

                Git Integration