Commit Graph

1229 Commits

Author SHA1 Message Date
96fdb5eb8d Fixed SSL write failures not being handled properly. 2015-09-10 18:36:59 +03:00
5350a85e2b Fix to MXS-356: https://mariadb.atlassian.net/browse/MXS-356
Added configurable timeouts for the embedded MySQL connections.
2015-09-08 11:23:35 +03:00
ad0becae48 Copyright set to 2015
Copyright set to 2015
2015-09-07 14:39:55 +02:00
0febf23992 Removed LOGIF macros which prevented implicit initialization of the log manager. 2015-09-07 09:41:57 +03:00
160bbb70ee MXS-251: strerror
Replaces all calls to strerror with calls to strerror_r. The former
is non-thread safe while the latter is.
2015-09-05 15:52:13 +03:00
a9fd7926ac Removed unnecessary strcmp. 2015-09-04 19:34:18 +03:00
9a3510ab56 Added maxinfo and binlogrouter to the list of "internal routers". 2015-09-04 19:30:14 +03:00
30cdda48c6 The datadir path is now used as the location where the process specific data directories are created. 2015-09-03 19:30:16 +03:00
e55d345ab4 Added --version-full which prints version and commit ID. 2015-09-02 10:58:41 +03:00
b66dfaa8ec Fixed possible error with multi-line parameters. 2015-09-01 21:22:47 +03:00
77a49e8cbd Removed magic numbers. 2015-09-01 14:31:35 +03:00
e839dafdd0 Cleaned up code. 2015-09-01 14:31:35 +03:00
386fa78a30 Fix to MXS-342: https://mariadb.atlassian.net/browse/MXS-342
Added more error messaging when the parsing of the configuration file fails.
2015-09-01 14:31:35 +03:00
9d9b7bccfc Changed to PCRE for processing configuration file parameters. 2015-09-01 14:06:14 +03:00
e0f95de606 Added commas to multi-line parameters without one. 2015-09-01 14:06:14 +03:00
50d1675c7b Moved to realloc instead of always allocating new memory. 2015-09-01 14:06:14 +03:00
de643df067 All configuration parameters now support multi-line style. 2015-09-01 14:06:14 +03:00
72097fc30e Added support for multiline options for routers and filters. 2015-09-01 14:06:14 +03:00
9fe479e679 Cleaned up code. 2015-09-01 10:11:20 +03:00
28a6ea90c0 Added more details to log output when MaxScale receives a fatal signal. 2015-09-01 10:11:20 +03:00
45227c8875 Changed service permission checks to fail when user doesn't have access rights. 2015-08-28 17:39:45 +03:00
00a3d7eb56 Made service permission checks less strict. 2015-08-28 17:33:05 +03:00
3a901bfea7 Added automatic configuration of localhost_match_wildcard_host. 2015-08-28 14:55:40 +03:00
c5214bea1b Cleaned up code and changed function structure. 2015-08-28 12:54:38 +03:00
296bdc5df6 Fixed errors and added comments. 2015-08-28 12:54:38 +03:00
525daf827a Service are not started if user permissions are inadequate.
Also cleaned up code and error messages.
2015-08-28 12:54:38 +03:00
cb2b465510 Changed queries to more closely match actual queries. 2015-08-28 12:54:38 +03:00
b232c49742 Fixed function documentation. 2015-08-28 12:54:38 +03:00
4da9045da4 Removed redundant function. 2015-08-28 12:54:38 +03:00
94eb1b4eb1 Added service and monitor permission checks. 2015-08-28 12:51:37 +03:00
3e863863dd Fixes to Coverity defects. 2015-08-26 09:35:10 +03:00
ab86b67bda Fixed missing include. 2015-08-25 21:23:55 +03:00
1c9b0665ee Use dcb_close() instead of dcb_free()
Use dcb_close() instead of dcb_free()
2015-08-25 16:08:29 +02: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
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
7410b3dfbd Cleaned up code. 2015-08-21 18:13:45 +03:00
d1bf6bb303 Merge branch 'develop' into dcb_code_revert 2015-08-20 12:06:14 +03:00
139d4829a9 Further refinement of poll_remove_dcb function to ensure proper delayed release of a DCB that may be in the poll list and should only be destroyed after all threads have completed any operations on it; add comments describing implementation limitations in the bitmask processing. 2015-08-20 06:58:05 +01:00
38f78c7239 Fix possible threading problem. 2015-08-19 17:23:49 +01:00
4e5968ee15 Reverted changed which add a return value to dcb_log_write_failure 2015-08-18 13:12:59 +03:00
98ab399e6e Changed sprintf calls to snprintf calls and fixed compiler warnings. 2015-08-18 10:50:48 +03:00