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

Client doesn't start if 'TERM' unknown

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.0.24, 5.5(EOL), 10.1(EOL)
    • 5.5.49, 10.0.25, 10.1.14
    • Scripts & Clients
    • None
    • MariaDB git as of f8adeccd78bff80725a95b73447e34a5f4528179, TERM=asdf

    Description

      The mysql client will exit if 'setupterm()' fails, e.g. if the 'TERM' environment variable is not recognized by curses.

      To reproduce, use TERM=asdf mysql on a client binary built with curses support (the default).
      The client will quit with:
      'asdf': unknown terminal type.

      The attached patch will fallback to the non-curses path if setupterm() fails.

      Attachments

        Activity

          People

            serg Sergei Golubchik
            davidgow David Gow
            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.