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

[PATCH] In case of no stdin tty, wrong silent level can be set

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Fix
    • 5.5(EOL), 10.0(EOL), 10.1(EOL)
    • N/A
    • Scripts & Clients
    • None
    • 10.1.8-3, 10.1.8-4, 10.1.9-3

    Description

      Note: filed on behalf of maartenvanraes / alien.

      If you execute silent=1 query in mysql, from a tty or some kind of automated script, the output will be different, because silent will then be 2 instead of 1. This will have the effect of removing column names.

      I postponed the decision for being silent when not using a tty AFTER processing the options, the output of the scripts will be the same, except if you don't add a -s flag, in which case (for historical relevance) it will become silent after all...

      Patch: https://github.com/MariaDB/server/pull/82

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              4 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.