[MDEV-14514] mariadb_config --unknown-option exits with code 0 Created: 2017-11-27  Updated: 2017-12-05

Status: Open
Project: MariaDB Server
Component/s: libmariadb
Affects Version/s: 10.2.10
Fix Version/s: 10.2

Type: Bug Priority: Major
Reporter: Kristyna Streitova Assignee: Georg Richter
Resolution: Unresolved Votes: 0
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


Generated at Thu Feb 08 08:14:10 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.