Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 5.1.67, 5.2.14, 5.3.12, 10.1, 10.0, 5.5
    • Fix Version/s: 10.1, 10.0, 5.5
    • Component/s: OTHER
    • Labels:
    • Environment:
      Linux

      Description

      Description:
      There are weird exit codes of some utilities:

      `mysql_waitpid --help` returns 255 instead of 0

      `mysqladmin --help` returns 1 instead of 0

      both of them accept

      '--help'

      (or '-?') as valid option according to the documentation

      How to repeat:

      $> mysql_waitpid --help &>/dev/null
      $> echo $?
      
      $> mysqladmin --help &>/dev/null
      $> echo $?
      

      Current resutls:

      255
      1
      

      Expected results:

      0
      0
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              hhorak Honza Horak added a comment -
              Show
              hhorak Honza Horak added a comment - Cross reporting: http://bugs.mysql.com/bug.php?id=76737
              Hide
              elenst Elena Stepanova added a comment -

              Thanks for the report.

              Reasoning from MDEV-4905 does not apply here, because the non-zero code is returned even when mysqladmin --help is run with a perfectly valid set of parameters.

              Show
              elenst Elena Stepanova added a comment - Thanks for the report. Reasoning from MDEV-4905 does not apply here, because the non-zero code is returned even when mysqladmin --help is run with a perfectly valid set of parameters.

                People

                • Assignee:
                  cvicentiu Vicentiu Ciorbaru
                  Reporter:
                  hhorak Honza Horak
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated: