Commit Graph

1185 Commits

Author SHA1 Message Date
f095ec353c Fixed config file being installed into /usr/etc instead of /etc. 2015-07-10 21:31:33 +03:00
2fe6d837fc Added null checks to hashtable functions and fixed possible crash with reload users. 2015-07-10 20:38:10 +03:00
ce0d9684d4 A few more clarifications, I hope. 2015-07-10 17:00:48 +01:00
4f5de063eb Merged dcb_read and dcb_read_n into a single function (dcb_read with an extra parameter). 2015-07-10 15:12:22 +01:00
015cb890d4 Reduce complexity. 2015-07-10 14:56:01 +01:00
8376bbf3e6 Fix mismatch of int sizes; move calculation of maximum size of persistent pool to a better location. 2015-07-09 08:37:20 +01:00
bccf3d27d6 Correct name of function in debug message. 2015-07-08 16:22:09 +01:00
700576ac32 Add the DCB address to the "Not adding DCB to persistent pool" debug message. 2015-07-08 16:15:19 +01:00
ce879b65c2 Fix wrong debug message; add maxadmin info for actual max size of persistent pool. 2015-07-08 16:03:50 +01:00
ba417ef633 Merge remote-tracking branch 'origin/develop' into MXS-122
Conflicts:
	server/core/dcb.c
2015-07-08 14:54:22 +01:00
10d690273d Resolve compiler warnings 2015-07-08 11:35:41 +01:00
4cea1b68c0 Simplify logic in processing of zombies list, to bring more into line with develop branch and reduce conflicts when merged. 2015-07-08 09:26:21 +01:00
77db46359e Change poll control failures to use SIGABRT rather than assert(false). 2015-07-08 08:52:19 +01:00
058f49eb88 Added error message about MySQL versions lower than 5.5 and monitors without the 'mysql51_replication' enabled. 2015-07-07 20:14:57 +03:00
4c8aa02c31 Finalise comments; change abort from assert(false) to raise(SIGABRT). 2015-07-07 16:57:13 +01:00
be789855ee Add lines to revision history. 2015-07-07 16:57:12 +01:00
462c8e42ef Fix more subtle bug and expand debug message for dcb_close entry. 2015-07-07 16:57:12 +01:00
d4eff72d8a Fix stupid bug. 2015-07-07 16:57:12 +01:00
5577ef94e9 Wrap spinlock around more logic; simplify process zombies list logic. 2015-07-07 16:57:12 +01:00
9ee8d11808 Allow for DCB becoming a zombie during processing. 2015-07-07 16:57:12 +01:00
96619e2f8f Allow zombies to be submitted to dcb_close - but why does this happen? 2015-07-07 16:57:12 +01:00
fffd8fb73a Unify DCB close processing to single function dcb_close. Remove dcb_add_to_zombieslist (incorporating logic into dcb_close). Alter logic so that DCB that is just allocated will still go to zombie list if dcb->fd is not closed. 2015-07-07 16:57:12 +01:00
77d374cd52 Fix mistake. 2015-07-07 16:57:12 +01:00
18a95eeb71 Simplify adding and removing DCBs from polling, improve error handling. Remove dcb_set_state functions as not adding value. 2015-07-07 16:57:12 +01:00
a72f462e2d Fixes for MXS-196 and other related problems. 2015-07-07 16:57:12 +01:00
fb09cbf100 Fixed queries being routed when the session is already closing. 2015-07-07 13:15:23 +03:00
5b75443744 Fixed module load failure referring to lib/maxscale/modules instead of lib/maxscale. 2015-07-04 09:07:37 +03:00
7e704d2312 Fixed module load failure referring to lib/maxscale/modules instead of lib/maxscale. 2015-07-04 07:13:14 +03:00
cc24777a90 Correct mkdir logic for default log directory. 2015-07-01 09:46:01 +01:00
a2e31d6846 Changed the service resource hashing function into a proper string hashing function. 2015-06-30 21:59:09 +03:00
0062d9d2b7 Version errors for SHOW SLAVE STATUS now only print once. 2015-06-29 10:24:16 +03:00
88940c0097 Fixed wildcard grants not being added to the users table. 2015-06-27 09:47:06 +03:00
4759df9f87 Added proper wildcard database grant detection. 2015-06-27 09:08:20 +03:00
03503a8f9b Fix a number of relatively simple bugs shown by Coverity. 2015-06-26 17:31:58 +01:00
cff01cad05 Fixed compile errors with old SSL library. 2015-06-25 17:13:10 +03:00
80709ce039 Fixed compile errors for older SSL libraries. 2015-06-25 16:46:26 +03:00
61bee570d1 Fixed build failures due to old OpenSSL libraries. 2015-06-25 11:56:27 +03:00
e5d9abbdcb Fixes to Coverity defects. 2015-06-25 06:01:33 +03:00
cb67ef4e14 Merge branch 'dev-mdb10' into develop 2015-06-24 17:44:02 +03:00
577371d038 Moved SSL spinlock initialization to be done after thread initialization. 2015-06-24 16:56:27 +03:00
ced5c67338 Tidy the lining up of a message; add documentation. 2015-06-24 14:39:13 +01:00
047985fb91 Fixed SSL thread locking functions not being used. 2015-06-24 15:26:35 +03:00
80d130ef0c Fixed dcb_write_SSL being called multiple times on failure. 2015-06-24 15:05:04 +03:00
484781a463 More error logging for SSL connections. 2015-06-24 14:46:46 +03:00
067a62b240 Added more error logging to dcb_write_SSL. 2015-06-24 14:34:46 +03:00
0f199d924f Removed unnecessary call to SSL_get_error from dcb_accept_SSL. 2015-06-24 12:56:22 +03:00
13fb88ea07 Added optional code for older OpenSSL library versions. 2015-06-24 11:29:43 +03:00
dfbb42ead9 Fix missing newlines on persistent start time; fix typos. 2015-06-23 15:45:10 +01:00
da987e895a Merge branch 'MXS-212' into develop 2015-06-23 17:11:23 +03:00
c42d3d9f7a Added missing NULL checks. 2015-06-23 17:05:31 +03:00