Commit Graph

2156 Commits

Author SHA1 Message Date
64bb68c12c inst->master_chksum = true; is put back
inst->master_chksum = true; is put back
2015-06-17 12:23:31 +02:00
f0aed1f666 Fixed possible null pointer dereferences in mysql_backend. 2015-06-17 10:05:56 +03:00
4952dc48bb Added constraints to CHANGE MASTER TO options
Added constraints to CHANGE MASTER TO options  MASTER_LOG_FILE and
MASTER_LOG_POS
2015-06-15 15:03:27 +02:00
c2d69850de Merge branch 'develop' into schemarouter_refresh 2015-06-15 08:48:13 +03:00
84d5af1e00 Throw away poll events that occur for persistent pool DCBs with no related session; fix typos. 2015-06-14 18:19:30 +01:00
f602121459 Added configurable SSL certificate verification depth and updated the documentation in the code. 2015-06-12 21:21:06 +03:00
5936916e04 Merge branch 'develop' into MXS-129 2015-06-12 13:53:41 +03:00
f6f5de92eb Merge branch 'develop' into schemarouter_refresh 2015-06-12 09:51:35 +03:00
fe2062b5b0 Fixed a regression in mysql_mon.c which caused a memory leak 2015-06-11 19:50:51 +03:00
2b2e81feb2 Fix to MXS-181: https://mariadb.atlassian.net/browse/MXS-181
Added TCP_NODELAY to socket options.
2015-06-11 19:05:05 +03:00
eb8ec650ae Merge branch 'develop' into schemarouter_refresh 2015-06-11 18:47:37 +03:00
3d3b397a67 Merge branch 'develop' of https://github.com/srirampatil/MaxScale into srirampatil-develop
Conflicts:
	server/modules/filter/qlafilter.c
2015-06-11 18:41:56 +03:00
698bafb591 Merge branch 'develop' into schemarouter_refresh 2015-06-11 16:54:06 +03:00
03470bcd70 Merge branch 'develop' into MXS-129 2015-06-11 10:29:57 +03:00
c15469013e Fixed non-SSL connections to SSL enabled services failing. 2015-06-10 15:05:39 +03:00
3fb1213dee Added more error logging when monitor scripts fail. 2015-06-10 06:09:42 +03:00
de2910f75b Fixed SSL_accept failing if the GWBUF with the initial MySQL auth packet contains some of the SSL authentication data. 2015-06-09 22:27:15 +03:00
196d41cb88 More debug output. 2015-06-09 20:02:45 +03:00
d94ac9c637 Added new general error message
Added new general error message
Added
Slave_IO_Running: No
Slave_SQL_Running: No

when slave is stopped
2015-06-09 16:46:41 +02:00
b1c383b19e Added database list refreshing to schemarouter. 2015-06-09 16:13:06 +03:00
152f9bbc4a Merge remote-tracking branch 'origin/develop' into MXS-122 2015-06-09 13:51:55 +01:00
393e25e953 Fix bug in dcb; rearrange mysql_backend gw_backend_close to cope with receiving DCB that is no longer linked to a session. 2015-06-09 12:03:58 +01:00
d0e92a15f8 Move decrement of server connections into zombie processing; introduce dcb_close_finish to be called either in dcb_close or when persistent dcb is discarded. 2015-06-09 11:41:43 +01:00
1cbc7d6e7f Added error string to router->m_errmsg
Added error string to router->m_errmsg
2015-06-09 12:39:50 +02:00
f46c47651a Compile error, missing ';'
Compile error, missing ';'
2015-06-09 10:33:23 +02:00
06c5da7b17 Minor fix to SSL authentication. 2015-06-09 02:56:55 +03:00
2db4f4d771 Added error_msg to blr_slave_send_slave_status()
Added error_msg to blr_slave_send_slave_status()
2015-06-08 19:16:50 +02:00
d9234bec5f Updated logging messages
Updated logging messages
2015-06-08 17:30:26 +02:00
1c36cfb285 Added more debug output. 2015-06-08 18:04:43 +03:00
809cdb5b1e Added blr_cache_read_master_data and dcb checks
Added blr_cache_read_master_data()
Added dcb checks before calling db_close
Forced initialisation values of some parameters
2015-06-08 16:56:52 +02:00
61ea0861ff Fixed some connections hanging with SSL. 2015-06-08 14:35:31 +03:00
945e2f8132 added checks in blr_stop_slave()
errorReply sets mysql_errno into router struct
blr_slave_send_slave_status displays mysql errno
added checks in blr_stop_slave()
2015-06-05 17:37:05 +02:00
e83799648a Fixed queries getting stuck when the SSL records were of the maximum allowed size. 2015-06-05 11:00:51 +03:00
a032c94d25 Added comments to SSL tests. 2015-06-04 16:49:39 +03:00
4d30cd5fd3 Added unit test for SSL version. 2015-06-03 13:28:35 +03:00
19ac70fc2f Added unit tests for SSL. 2015-06-03 13:15:45 +03:00
2a15e6e774 server_update_port/address are used
server_update_port and server_update_address now used by
blr_handle_change_master
2015-06-03 10:30:03 +02:00
cedaeb7fe9 MariaDB10 embedded library version string
MariaDB10 embedded library version string
2015-06-03 09:41:12 +02:00
1a76fc141d Add configuration capabilities for persistent connections. 2015-06-02 15:44:57 +01:00
2f2c9c8cbc Fix for MariaDB10 state machine
Fix for MariaDB10 state machine
2015-06-02 09:45:26 +02:00
08e0a31826 Fixed session creation failure messages using the wrong packet number when an SSL connection was made. 2015-06-02 06:42:41 +03:00
6e01757455 Added error message to users when trying to connect to a MaxScale service that only allows SSL connections. 2015-06-02 06:39:51 +03:00
d7232d8b6e Moved SSL structure to the DCB instead of the MySQL protocol.
This allows for non-MySQL SSL connections.
2015-06-01 20:51:26 +03:00
4d5291c263 Fixed wrong packet sequence number causing a disconnect from the client. 2015-06-01 13:58:26 +03:00
a2768955e7 SSL handshake now successfully completes when a client connects with SSL enabled. 2015-06-01 13:50:22 +03:00
6cb0248ab8 Addition of MASTER_USER and MASTER_PASSWORD
Addition of MASTER_USER and MASTER_PASSWORD
2015-06-01 11:15:43 +02:00
392c71df07 Addition of CHANGE MASTER TO
Addition of CHANGE MASTER TO … command.

Current handled command has four options, example:

change master to MASTER_LOG_FILE='mysql-bin.000049',
MASTER_LOG_POS=245, MASTER_HOST='127.0.0.1', MASTER_PORT=3307;
2015-05-29 17:01:34 +02:00
0f814d3e73 Added SSL write and read functions. 2015-05-29 13:00:37 +03:00
f946a44620 Added handling of partial SSL handshakes. 2015-05-28 23:11:32 +03:00
a572166ffd Added ssl handshake to mysql_client 2015-05-28 22:19:50 +03:00