56 Commits

Author SHA1 Message Date
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
9e25ed4b67 Removed unnecessary installation of tests
The maxadmin tests were installed even though they do not require any
configuring to work.
2015-11-27 12:21:19 +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
Markus Makela
33ba9e1bae Added missing maxadmin tests. 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
Martin Brampton
4c38e2224b Merge remote-tracking branch 'origin/develop' into MXS-122
Conflicts:
	server/core/CMakeLists.txt
	server/core/dcb.c
	server/include/dcb.h
	server/include/server.h
	server/modules/protocol/mysql_backend.c
2015-06-19 23:12:54 +01:00
counterpoint
351f52b8e1 Add "show persistent {server}" 2015-05-27 09:57:18 +01:00
Markus Makela
17a7b2addb Updated more variables. 2015-04-26 20:08:27 +03:00
Markus Makela
df9bc65430 Added variables that are used when installing instead of relative paths. 2015-04-25 18:35:47 +03: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
Markus Makela
70cf7663d7 Updated documentation and added a message if libedit is not found. 2015-04-23 15:04:38 +03:00
Markus Makela
7cfc1d3cc9 Chaged MaxScale default installation directory to /usr/local/mariadb/maxscale and MaxAdmin password to 'mariadb'. 2015-03-23 14:53:31 +02:00
Mark Riddoch
093b8cf02f Fix for coverity error 2015-02-04 10:35:34 +00:00
Mark Riddoch
0083e62c41 Merge branch 'blr' into develop 2015-02-03 17:19:06 +00:00
VilhoRaatikka
5d1f029260 New fix candidate to bug #698, http://bugs.mariadb.com/show_bug.cgi?id=698
client/test/maxadmin_test.sh: added new cases for testing maxadmin
service.c:dListListeners:fixed NULL-pointer reference
debugcli.h: replaced magic number 80 with constant integer.
cli.c:execute:fixed command buffer overflow
debugcmd.c:convert_arg:restored return value to 0 in case of error
2015-01-19 17:55:02 +02:00
Timofey Turenko
06c2d201e0 remove makefiles and other garbage 2015-01-14 19:08:24 +02: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
81b09e7c4d Additional tests for maxadmin and diagnostics within maxscale 2014-10-08 11:26:36 +01: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
c4ca1ddb13 Updated non-source files with new company name. 2014-10-01 15:21:47 +03:00
Markus Makela
c344231f80 Renamed all occurences of SkySQL to MariaDB Corporation 2014-09-30 13:02:10 +03:00
Mark Riddoch
33636c06f8 MaxAdmin stress test 2014-09-25 16:00:18 +01:00
Markus Makela
a85c3fe97a Merge branch 'release-1.0beta-refresh' into cmake_build 2014-09-24 14:34:04 +03:00
Mark Riddoch
c4ee414117 Addition of test for show filter 2014-09-24 11:29:33 +01:00
Markus Makela
0e23979609 Merge branch 'release-1.0beta-refresh' into cmake_build 2014-09-24 12:27:20 +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
Markus Makela
b78082f8f1 Merge branch 'release-1.0beta-refresh' into cmake_build 2014-09-23 10:42:47 +03: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
Markus Makela
d27522a6f9 Merge branch 'release-1.0beta-refresh' into cmake_build 2014-09-22 11:12:14 +03: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
Markus Makela
41226692ac Merge branch 'release-1.0beta-refresh' into cmake_build 2014-09-16 12:11:17 +03:00
Mark Riddoch
c8fc5b712b Merge branch 'hholzgra-hartmut-gitignore' into release-1.0beta-refresh 2014-09-15 13:22:46 +01:00
Markus Makela
1f56db310d Changed variable names to closer match their usage
Changed the default values to the same as in makefiles
Added configured versions of maxscale.conf and maxscale init.d script
2014-09-15 14:12:55 +03:00
Markus Makela
4c41dea6fb Merge branch 'release-1.0beta-refresh' into cmake_build 2014-09-15 09:43:24 +03:00
Mark Riddoch
3dcecc2d77 Fix for bug 539 2014-09-12 15:29:48 +01:00
Markus Makela
b3ce971020 initial implementation of the CMake build system 2014-09-11 18:24:41 +03:00
Hartmut Holzgraefe
6a03976e4f support --long options with getopt_long() 2014-09-03 01:03:10 +02:00
Hartmut Holzgraefe
d355e07e2d gitignore cleanup
* ignore typical backup files created by common editors
* move general ignore rules like "*.o" or "depend.mk" to top level gitignore
* ignore executables and test directories in target dir gitignore
  as these are local and there's no general catch-all pattern for them
2014-08-18 09:39:29 +00:00
Hartmut Holzgraefe
fb87f68368 consistently use DEL instead of rm in Makefiles 2014-08-17 21:02:24 +00:00
Mark Riddoch
34846a8b5a Delete depend.mk
This is a generated file and should not have been committed. The contents depend on the Linux distribution. Committing on one distribution will break another.
2014-07-01 09:17:15 +01:00
Timofey Turenko
c2b20eab84 add debian files 2014-06-27 14:44:55 +03:00