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

TEE command does not work when piped into mysql client

    XMLWordPrintable

Details

    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

            bar Alexander Barkov
            rojaro Robin J. rogge
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.