2238 Commits

Author SHA1 Message Date
counterpoint
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
counterpoint
44fcb9bc31 Fix for incorrect password handling. 2015-07-07 16:57:12 +01:00
counterpoint
77d374cd52 Fix mistake. 2015-07-07 16:57:12 +01:00
counterpoint
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
counterpoint
a72f462e2d Fixes for MXS-196 and other related problems. 2015-07-07 16:57:12 +01:00
Markus Makela
fb09cbf100 Fixed queries being routed when the session is already closing. 2015-07-07 13:15:23 +03:00
Markus Makela
c2e51f2e98 Fix to MXS-223: https://mariadb.atlassian.net/browse/MXS-223
Added a temporary buffer to prevent losing the pointer to the cloned buffer when dcb->func.write fails.
2015-07-07 08:16:29 +03:00
Markus Makela
1af73b7061 Fixed common sharding functions referring to schemarouter. 2015-07-06 18:12:08 +03:00
Markus Makela
dc646bfbf1 Fix to MXS-244: https://mariadb.atlassian.net/browse/MXS-244
Fixed buffers being only partially consumed if they contained more than one packet
when a replu to a prepared statement is received.
2015-07-04 09:07:37 +03:00
Markus Makela
5b75443744 Fixed module load failure referring to lib/maxscale/modules instead of lib/maxscale. 2015-07-04 09:07:37 +03:00
Markus Makela
03b5a634f4 Fix to MXS-244: https://mariadb.atlassian.net/browse/MXS-244
Fixed buffers being only partially consumed if they contained more than one packet
when a replu to a prepared statement is received.
2015-07-04 09:04:53 +03:00
Markus Makela
7e704d2312 Fixed module load failure referring to lib/maxscale/modules instead of lib/maxscale. 2015-07-04 07:13:14 +03:00
Markus Makela
1eb907ad38 Fixed common sharding functions referring to schemarouter. 2015-07-03 17:08:32 +03:00
Markus Makela
c8173ec4f7 Added missing return value. 2015-07-02 10:00:38 +03:00
Markus Makela
8ea11c5018 Merge branch 'develop' into MXS-230 2015-07-01 19:19:50 +03:00
Markus Makela
2b0f0b89ab Added master server id to mysql 5.1 monitoring. 2015-07-01 19:13:03 +03:00
Markus Makela
29ad3aaf5d Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop 2015-07-01 18:18:01 +03:00
Markus Makela
22f8e61321 Fixed build failure. 2015-07-01 16:47:00 +03:00
counterpoint
cc24777a90 Correct mkdir logic for default log directory. 2015-07-01 09:46:01 +01:00
Markus Makela
6c61dabfab Fix to a Coverity defect. 2015-07-01 05:15:08 +03:00
Markus Makela
a2e31d6846 Changed the service resource hashing function into a proper string hashing function. 2015-06-30 21:59:09 +03:00
Markus Makela
e350f19e6f Added NULL checks to readwritesplit. 2015-06-30 21:59:09 +03:00
Markus Makela
8a0b399896 Added code for MySQL 5.1 replication detection. 2015-06-30 21:37:29 +03:00
Markus Makela
6f343ff57b Fix to MXS-227: https://mariadb.atlassian.net/browse/MXS-227
Fixed memory leak.
2015-06-29 19:17:12 +03:00
Markus Makela
c6f43c0058 Merge branch 'MXS-171' into develop 2015-06-29 12:04:43 +03:00
Markus Makela
0062d9d2b7 Version errors for SHOW SLAVE STATUS now only print once. 2015-06-29 10:24:16 +03:00
Markus Makela
5c7a30e9fe Added more error logging. 2015-06-28 10:43:06 +03:00
Markus Makela
113fb4c33b Fix to MXS-209: https://mariadb.atlassian.net/browse/MXS-209
Added missing checks for proper column count on query result.
2015-06-28 08:43:05 +03:00
Markus Makela
88940c0097 Fixed wildcard grants not being added to the users table. 2015-06-27 09:47:06 +03:00
Markus Makela
4759df9f87 Added proper wildcard database grant detection. 2015-06-27 09:08:20 +03:00
Markus Makela
c9606e1071 Fixed build failures due to mismatching function prototypes. 2015-06-27 08:28:37 +03:00
counterpoint
03503a8f9b Fix a number of relatively simple bugs shown by Coverity. 2015-06-26 17:31:58 +01:00
Markus Makela
fc1615c489 Fixed the test header configuration failing. 2015-06-26 13:35:14 +03:00
Markus Makela
cff01cad05 Fixed compile errors with old SSL library. 2015-06-25 17:13:10 +03:00
Markus Makela
80709ce039 Fixed compile errors for older SSL libraries. 2015-06-25 16:46:26 +03:00
Markus Makela
61bee570d1 Fixed build failures due to old OpenSSL libraries. 2015-06-25 11:56:27 +03:00
Markus Makela
e5d9abbdcb Fixes to Coverity defects. 2015-06-25 06:01:33 +03:00
Martin Brampton
011c932c7d Fix mistake in testing for null password; add contents with links to MaxAdmin reference guide. 2015-06-24 21:44:02 +01:00
Martin Brampton
e4bde4402b Fix problem of certain passwords (e.g. joomla1) being treated incorrectly as null MXS-202. 2015-06-24 21:06:56 +01:00
Markus Makela
7a8c307515 MXS-171: https://mariadb.atlassian.net/browse/MXS-171
Added option which allows the master server to be used for reads.
2015-06-24 19:23:43 +03:00
Markus Makela
cb67ef4e14 Merge branch 'dev-mdb10' into develop 2015-06-24 17:44:02 +03:00
Markus Makela
577371d038 Moved SSL spinlock initialization to be done after thread initialization. 2015-06-24 16:56:27 +03:00
counterpoint
ced5c67338 Tidy the lining up of a message; add documentation. 2015-06-24 14:39:13 +01:00
Markus Makela
047985fb91 Fixed SSL thread locking functions not being used. 2015-06-24 15:26:35 +03:00
Markus Makela
80d130ef0c Fixed dcb_write_SSL being called multiple times on failure. 2015-06-24 15:05:04 +03:00
Markus Makela
484781a463 More error logging for SSL connections. 2015-06-24 14:46:46 +03:00
Markus Makela
067a62b240 Added more error logging to dcb_write_SSL. 2015-06-24 14:34:46 +03:00
Markus Makela
0f199d924f Removed unnecessary call to SSL_get_error from dcb_accept_SSL. 2015-06-24 12:56:22 +03:00
Markus Makela
13fb88ea07 Added optional code for older OpenSSL library versions. 2015-06-24 11:29:43 +03:00
counterpoint
dfbb42ead9 Fix missing newlines on persistent start time; fix typos. 2015-06-23 15:45:10 +01:00