2d31d9ff5b
Initialized addr length indicator in telnetd_accept
2013-08-12 21:06:44 +03:00
249413b2c6
Freed thread structs.
2013-08-12 21:05:44 +03:00
c5fd94590c
Freed hashtable iterator to dcb_usersPrint.
2013-08-12 21:04:31 +03:00
64cb6eca56
mysql_library_end is not called if it wasn't initialized properly.
2013-08-12 13:12:23 +03:00
0c5125a44d
Typos
2013-08-12 13:11:05 +03:00
7522eb617d
Added enable/disable commands, now for log_witer only
2013-08-09 15:12:23 +02:00
6c106bb9be
Removed #if defined(SS_DEBUG) macros around trace log print commands. Trace log is disabled by default but it is meant to be possible to enable it with other than debug build only.
2013-08-09 15:27:02 +03:00
8a9d178785
Fixed bug for invalid memory access in row[1]+1 when row[1] is ""
2013-08-08 18:40:02 +02:00
1ab8420e91
Added an example to user command : help show dbusers and removed erroneous complain about unknown subcommand if show dbusers is called without arguments.
2013-08-08 15:46:33 +03:00
d94153c29f
If maxscale is compiled with DEBUG=Y readconnrouter module writes slave selection info to trace log. Example:
...
SkySQL MaxScale Thu Aug 8 00:01:08 2013
------------------------------------------
2013 08/08 00:01:17 Selected server in port 3003 to as candidate. Connections : 0
2013 08/08 00:01:17 Examine server in port 3002 with 0 connections. Status is 5, inst->bitvalue is 6
2013 08/08 00:01:17 Examine server in port 3001 with 0 connections. Status is 5, inst->bitvalue is 6
2013 08/08 00:01:17 Examine server in port 3000 with 0 connections. Status is 3, inst->bitvalue is 6
2013 08/08 00:01:17 Final selection is server in port 3003. Connections : 1
2013 08/08 00:01:22 Selected server in port 3003 to as candidate. Connections : 1
2013 08/08 00:01:22 Examine server in port 3002 with 0 connections. Status is 5, inst->bitvalue is 6
2013 08/08 00:01:22 Examine server in port 3001 with 0 connections. Status is 5, inst->bitvalue is 6
2013 08/08 00:01:22 Examine server in port 3000 with 0 connections. Status is 3, inst->bitvalue is 6
2013 08/08 00:01:22 Final selection is server in port 3002. Connections : 1
2013-08-08 00:10:33 +03:00
f1498e4403
Added log flusher thread, which flushes once per second.
2013-08-08 00:08:45 +03:00
a447583214
If MaxScale.cnf exists, install takes a backup of it before overwriting it with version from maxscale/server.
2013-08-08 00:06:38 +03:00
75e7de182f
fprintf debug for added backend connection is protected by if (backend->fd > 0)
2013-08-07 09:39:29 +02:00
8449482279
Fixed typo
2013-08-06 10:55:20 +02:00
256b8e8013
Added more test cases and reformatted output a bit.
2013-08-06 11:14:45 +03:00
30456115f7
Memory used by user structure was not initialized. Changed malloc to calloc.
2013-08-05 18:21:08 +03:00
13248c2a16
Added server/core/test directory, makefile and testhash.c for testing hashtable implementation.
...
In makefile, there is target all, which compiles and executes tests.
2013-08-05 18:04:02 +03:00
bc6fe8f6ef
hashtable_add now checks input parameter and returns with zero (indicating that no elements were added) if hashsize is zero. Caused floating point exception.
2013-08-05 15:01:36 +03:00
ef1c514489
Added creation of an empty depend.mk file to core directory.
2013-08-05 13:50:52 +03:00
401d4920e4
Moved dcb_hashtable_stats from hastable.c to dcb.c to break dependency between hashtable and the rest of the maxscale. Added check fields to hashtable structure.
2013-08-05 11:51:10 +03:00
cae4d38a7e
Removed unnecessary argument from log manager commands because it is not used and it is always NULL.
2013-08-04 23:30:47 +03:00
f62cf1ea7e
Added check if the last admin user is to be deleted, and if that's the case, prevent it and return with error message.
2013-08-04 23:02:29 +03:00
6faca29281
Added commands:
...
THIS=`pwd`
cd $(DEST)
- `./maxkeys $(DEST)/MaxScale/etc/.secrets`
cd $(THIS)
to maxscale/server/core/Makefile
Now .secrets is by default there and no complains in log.
2013-08-04 23:01:36 +03:00
b3302b1bad
Renamed reload users to reload dbusers.
2013-08-03 23:29:45 +03:00
26e4422c4d
Removed shutdown gateway command from debug commands
2013-08-03 23:21:21 +03:00
8b720f211e
in hastable_delete check if deleted entry's next pointer is NULL.
2013-08-03 23:10:45 +03:00
ca3638ae2c
Added 'remove user' to client API. New functions are
...
debugcmd.c : telnetdRemoveUser
adminusers.c : admin_remove_user
Also renamed admin_test_user to admin_search_user .
2013-08-02 23:03:43 +03:00
3357748aad
Some typos fixed
2013-08-02 10:00:56 +02:00
9305cf0f9f
In server_update check if new user or pwd are NULL and decline to update used values if they are.
2013-08-02 10:38:16 +03:00
ce8ce5b8fd
Added a check for candidate server, if NULL return
2013-07-31 16:18:45 +02:00
96855a6feb
Log message fine tuning.
2013-07-30 23:09:34 +03:00
b2099947b4
Changed mysterious log message.
2013-07-30 23:08:31 +03:00
896233d65f
Changed some important information to use skygw_log_write_flush.
2013-07-30 19:32:39 +03:00
75f308fc3f
Changes some important messages to use skygw_log_write_flush.
2013-07-30 19:31:57 +03:00
b71b22b18a
Removed dependency files because they are now created as a part of makefile processing.
2013-07-30 15:07:50 +03:00
f3cf1d703e
Removed depend.mk files. Added command 'touch depend.mk' to each Makefile which attempts to include depend.mk. That is for the makefile process phase where only the existence of depend.mk is checked. Later the real file is created in 'depend' target.
2013-07-30 11:43:39 +03:00
636e5b619c
fix Makefile to comply with new dirs
2013-07-29 09:39:46 +03:00
a7c82310f9
moving files to /server to make merge possible
2013-07-28 05:31:11 +00:00