[MXS-1450] Maxadmin commands with a leading space are silently ignored Created: 2017-09-25  Updated: 2017-09-26  Resolved: 2017-09-26

Status: Closed
Project: MariaDB MaxScale
Component/s: Core, maxadmin
Affects Version/s: None
Fix Version/s: 2.1.10, 2.2.0

Type: Bug Priority: Minor
Reporter: Anders Karlsson Assignee: Johan Wikman
Resolution: Fixed Votes: 0
Labels: None
Environment:

CentOS 7.2



 Description   

Giving a command to maxadmin that starts with a space is ignored, independent if it is a correct command or not:

$ sudo maxadmin
MaxScale> foobar
Commands must consist of at least two words. Type help for a list of commands
MaxScale>  foobar
MaxScale> sync logs
Logs flushed to disk
MaxScale>  sync logs
MaxScale>


Generated at Thu Feb 08 04:06:50 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.