Bug 1039976 - mysql_config nonzero return code on usage message
Summary: mysql_config nonzero return code on usage message
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: mysql
Version: 5.10
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 5.11
Assignee: Honza Horak
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On: 1039975
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-10 13:00 UTC by Karel Volný
Modified: 2013-12-12 15:55 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1039975
Environment:
Last Closed: 2013-12-12 15:55:35 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Karel Volný 2013-12-10 13:00:27 UTC
cloning to track failure in our test for the appropriate RHEL version

+++ This bug was initially created as a clone of Bug #1039975 +++

Description of problem:
Trying to run mysql_config without parameters, it returns nonzero exit code. But this is not an error, the application should return zero.

Version-Release number of selected component (if applicable):
mariadb-5.5.33a-1.fc19

How reproducible:
always

Steps to Reproduce:
1. mysql_config >/dev/null; echo $?

Actual results:
1

Expected results:
0

Additional info:
from the manpage:

"If you invoke mysql_config with no options, it displays a list of all options that it supports, and their values:"

so, invoking without parameters is correct usage ...

note also that it'd be nice to support the "--help" option, but that's more RFE material than a bug

Comment 1 Honza Horak 2013-12-12 14:06:31 UTC
Moving to RHEL-6, since this bug report is not planned on being addressed in Red Hat Enterprise Linux 5. It's still happening on RHEL-6, though.

Comment 2 Honza Horak 2013-12-12 15:55:35 UTC
Ha, there already is a report for RHEL-6. So changing back to RHEL-5 and closing as WONTFIX, as per comment #1.


Note You need to log in before you can comment on or make changes to this bug.