Markus Makela
0902297fe5
Clear passwords provided via arguments
...
If a password is gived as an argument, that password is shown to other users.
Changed it so that the password is copied locally and the argument cleared.
2016-01-29 11:47:15 +02:00
Markus Makela
cceeb2d234
Formatted maxadmin.c
...
Formatted maxadmin.c according to the style guide.
2016-01-22 18:55:54 +02:00
Markus Makela
689ef73705
Fixed function prototype in maxadmin
...
The DoUsage function had a difference between the prototype and the real signature.
2015-12-07 17:18:03 +02:00
Markus Makela
040587c828
Fix to MXS-413: https://mariadb.atlassian.net/browse/MXS-413
...
Added missing terminating newlines so showSession and improved maxadmin logic.
2015-10-19 09:01:58 +03:00
Johan Wikman
160bbb70ee
MXS-251: strerror
...
Replaces all calls to strerror with calls to strerror_r. The former
is non-thread safe while the latter is.
2015-09-05 15:52:13 +03:00
Markus Makela
78eab19c62
Fixed compiler warnings.
2015-07-14 17:13:09 +03:00
counterpoint
dfbb42ead9
Fix missing newlines on persistent start time; fix typos.
2015-06-23 15:45:10 +01:00
counterpoint
351f52b8e1
Add "show persistent {server}"
2015-05-27 09:57:18 +01:00
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