Commit Graph

4432 Commits

Author SHA1 Message Date
11fd6e24be Added test for CHANGE MASTER TO
Added test for CHANGE MASTER TO: syntax parsing and rule/constraints
checks
2015-08-25 16:27:37 +02:00
85d11436d7 Merge branch 'develop' into 1.2.1-binlog_router_trx 2015-08-25 16:10:43 +02:00
1c9b0665ee Use dcb_close() instead of dcb_free()
Use dcb_close() instead of dcb_free()
2015-08-25 16:08:29 +02:00
6ed3f0eee4 Updated documentation. 2015-08-25 16:35:25 +03:00
79c77d3f01 Fixed compiler warnings. 2015-08-25 15:23:27 +03:00
1658e3d704 Added more verbose error messages and fixed bugs. 2015-08-25 15:20:10 +03:00
f58e7af94d Added a define for the PID file desciptor initial value. 2015-08-25 15:20:10 +03:00
372403760c Cleaned up code. 2015-08-25 15:20:10 +03:00
063c8f904a Fixed wrong file open mode. 2015-08-25 15:20:10 +03:00
0a33174803 Added PID file locks and cleaned up code. 2015-08-25 15:20:10 +03:00
1dd22a4d2c Cleaned up code and error messages. 2015-08-25 15:20:10 +03:00
b1d6096fa8 Added a check for running MaxScale processes. 2015-08-25 15:20:10 +03:00
72b301785b Complete implementation of error logging when no session pointer in DCB. 2015-08-25 12:25:36 +01:00
e7c74c39cf Fix bug in persistent connections; add code to check for DCB session pointer in poll loop before invoking processing. 2015-08-25 12:19:02 +01:00
8425deab18 Fixed bugs by moving setting of thread bit mask from polling to DCB closing, fixed other mistakes. 2015-08-25 11:46:25 +01:00
5551b2f554 Merge conflict from develop solved
Merge conflict from develop solved
2015-08-25 11:47:43 +02:00
1731a90fad Fix for lastEventTimestamp localtime
Fix for lastEventTimestamp localtime computation
2015-08-25 11:37:17 +02:00
5153c16eac Added BLRM_MASTER_REGITRATION_QUERY_LEN constant
Added BLRM_MASTER_REGITRATION_QUERY_LEN constant
2015-08-25 11:27:15 +02:00
ea09918312 Fix mistakes. 2015-08-25 09:54:56 +01:00
3dd20cb9ec Acquire user for DCB from DCB session sooner, needed for persistent connection handling. 2015-08-25 09:53:01 +01:00
980b56e7fa Fix stupid extra } 2015-08-25 09:33:40 +01:00
d27ffcf06a Fix mistake in debug STRDCBSTATE() 2015-08-25 09:31:54 +01:00
f18f233de2 Try to resolve unexpected compiler errors 2015-08-25 09:23:24 +01:00
12922225b8 Remove redundant DCB state DCB_STATE_FREED, remove obsolete assertion from poll.c, tidy up. 2015-08-25 09:11:44 +01:00
ae669c6f88 Fix mistake 2015-08-24 16:29:41 +01:00
65c42e2d80 Move removal of closing DCB from poll list to the kill zombies processing, rather than immediately on close; modify persistent connections to obtain candidates for the pool from the kill zombies processing to be sure that they really are finished all previous processing. 2015-08-24 16:19:25 +01:00
3fe0c074c5 Added strerror_r and new constants
Added strerror_r and new constants
2015-08-24 15:02:22 +02:00
37ac158791 Changes to try to eliminate setting dcb->session to NULL with risk of crashing system. 2015-08-24 12:12:43 +01:00
082c3b6f9c Utility for mapping binary+address to source-file + line. 2015-08-24 13:05:07 +03:00
489980f4e5 Moved unpack_rpm.sh from root to script directory. 2015-08-24 13:03:47 +03:00
599e2fdc6c Small improvements for string buffers
Small improvements an constants added in string buffers
2015-08-24 11:38:24 +02:00
6aa4a31c2e Removed unused var
Removed unused var
2015-08-24 10:56:33 +02:00
bc3560bc3c Merge branch 'develop' into 1.2.1-binlog_router_trx 2015-08-24 10:53:02 +02:00
799844e243 Fixed MXS-111 https://mariadb.atlassian.net/browse/MXS-111
Fixed MXS-111 https://mariadb.atlassian.net/browse/MXS-111
2015-08-24 10:52:26 +02:00
6b456c5346 Removed duplicated statements
Removed duplicated statements
2015-08-24 10:49:00 +02:00
d6f5bdc067 Merge branch 'develop' into 1.2.1-binlog_router_trx 2015-08-24 10:20:45 +02:00
e103aa46a8 Addition of BLR_TYPE_STRING and BLR_TYPE_INT
Addition of BLR_TYPE_STRING and BLR_TYPE_INT for SQL variable names
replies
2015-08-24 10:11:26 +02:00
00a9b5b5c8 Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop 2015-08-23 20:46:29 +03:00
5adae0ff3b Added missing return value. 2015-08-23 20:46:16 +03:00
5e2e2585ad Fix mistakes. 2015-08-23 16:43:07 +01:00
1baf693b02 First changes for lazy session creation. 2015-08-23 16:39:08 +01:00
087c2fca46 Block out new test for the time being. 2015-08-23 10:09:42 +01:00
6b2d90fc50 Add check so DCB can't be added to poll list without a linked session; small safety improvement in session; tidying. 2015-08-23 09:34:26 +01:00
53c3cc4b41 Fix mistake; tidy format. 2015-08-22 19:14:40 +01:00
1b3ce9e16b Small improvements to new added options
Small improvements to new adde options
2015-08-21 18:06:53 +02:00
cb74b52601 Merge branch 'dcb_code_revert' into develop 2015-08-21 18:14:10 +03:00
7410b3dfbd Cleaned up code. 2015-08-21 18:13:45 +03:00
f014598d39 Added NULL checks. 2015-08-21 17:42:03 +03:00
c53f7fc76d Merge branch 'develop' into 1.2.1-binlog_router_trx 2015-08-21 16:35:37 +02:00
4242d28e13 Added support for new options
Added support for new options:

master_uuid,  master_hostname, master_version

If set, those values will be sent to slaves instead of
saved master responses
2015-08-21 16:31:40 +02:00