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

mariadb_config --unknown-option exits with code 0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.2.10
    • Fix Version/s: 10.2
    • Component/s: libmariadb
    • Labels:
      None

      Description

      When you run mariadb_config from mariadb-connector-c with an unknown option, it exits with code 0. One supposes that the return code should be 1 (the same code that mysql_config returns with the unknown option).

      # mariadb_config --unknown-option 
      mariadb_config: unrecognized option '--unknown-option'
      # echo $?
      0
      

        Attachments

          Activity

            People

            Assignee:
            georg Georg Richter
            Reporter:
            kstreitova Kristyna Streitova
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: