20 Commits

Author SHA1 Message Date
Markus Makela
d89dce4372 Added emacs mode support for maxadmin. Accepted command line switches are -e and --emacs and the .maxadmin file looks for a editor=vi|emacs parameter. 2015-04-23 19:34:41 +03:00
Mark Riddoch
093b8cf02f Fix for coverity error 2015-02-04 10:35:34 +00:00
Mark Riddoch
ef830b6553 Addition of .maxscale support to override defaults for hostname, user name,
password and port
2015-01-09 08:57:19 +00:00
Markus Makela
a65b9fa8b3 Fixes to Coverity defects: 72662 82143 82144 82145 82348 82349 2014-11-20 06:44:43 +02:00
Mark Riddoch
d3c8770852 Merge branch 'blr' into develop
Conflicts:
	client/maxadmin.c
	server/core/CMakeLists.txt
	server/core/dcb.c
	server/core/gateway.c
	server/core/poll.c
	server/core/test/CMakeLists.txt
	server/core/test/makefile
	server/include/poll.h
	server/modules/routing/debugcmd.c
2014-11-19 12:00:55 +00:00
Markus Makela
17f87e29af Fixes to some Coverity issues. 2014-11-05 11:57:42 +02:00
Mark Riddoch
3d7e17d447 Add back in the quoting mechanism that was lost when the long argument
handling was added. This allow for commands like
	maxadmin show service "Binlog Service"
to work on the command line
2014-10-02 11:07:47 +01:00
Markus Makela
c344231f80 Renamed all occurences of SkySQL to MariaDB Corporation 2014-09-30 13:02:10 +03:00
Mark Riddoch
e8b5c2cbdf Updates to maxadmin to prevent hang when maxscale shuts down
Addition of maxadmin test script
2014-09-24 10:04:36 +01:00
Mark Riddoch
cd73c33d65 Merge branch 'hartmut-getopt_long' of https://github.com/hholzgra/MaxScale into release-1.0beta-refresh 2014-09-23 01:09:24 +01:00
Mark Riddoch
869de924d9 Fix issue with commands tha produce no putput hanging maxadmin 2014-09-23 01:06:14 +01:00
Hartmut Holzgraefe
1c07f10d50 process remaining non-option command line arguments as command string
or command file to source (as before)
2014-09-22 18:37:27 +02:00
Mark Riddoch
fd92b60336 Merge branch 'hholzgra-hartmut-getopt_long' into release-1.0beta-refresh
Conflicts:
	client/maxadmin.c

Resolved
2014-09-19 17:43:41 +01:00
Mark Riddoch
3dcecc2d77 Fix for bug 539 2014-09-12 15:29:48 +01:00
Hartmut Holzgraefe
6a03976e4f support --long options with getopt_long() 2014-09-03 01:03:10 +02:00
Mark Riddoch
7cdef05710 Fix issue with OK being split across multiple reads 2014-06-27 09:27:43 +01:00
Mark Riddoch
792ae454f4 Add support for #!../maxadmin scripts
Add the --help option

Add quoting for executing command with arguments that contain whitespace
2014-06-25 10:00:59 +01:00
Mark Riddoch
421995af94 Disable use of libedit if it is not installed on the machine 2014-06-18 12:28:59 +01:00
Mark Riddoch
850603171b Improvements to CLI commands and client 2014-06-16 07:57:12 +01:00
Mark Riddoch
719503e471 Addition of new client utility, maxadmin.
Supporting protocol for the admin interface

New routing module, cli, which shares source with debugcli

Tidyup output of lsit commands
2014-06-13 23:40:07 +01:00