Commit Graph

3979 Commits

Author SHA1 Message Date
753746f5c5 Fix mistakes 2015-08-28 16:12:36 +01: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
9c5f622481 Additional spinlock in random_jkiss. Initial attempt at implementing dummy sessions to provide total consistency - used in mysql_client in relation to authentication - a single static dummy session is used and linked from the client dcb when authentication is not yet complete. 2015-08-28 15:30:06 +01: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
501ea809a8 Fixed typos in documentation. 2015-08-28 12:54:38 +03:00
d99b7a5ef9 Fixed documentation. 2015-08-28 12:54:38 +03:00
b7eee3ed1c Fixed markdown table. 2015-08-28 12:54:38 +03:00
3ae177f4e8 Added documentation about refresh_databases and refresh_interval options. 2015-08-28 12:54:38 +03:00
94eb1b4eb1 Added service and monitor permission checks. 2015-08-28 12:51:37 +03:00
0d62f52812 Ensure thread safe through use of spinlock; add further comments. 2015-08-28 09:12:41 +01:00
0c552bab29 Fix to MXS-35: https://mariadb.atlassian.net/browse/MXS-35
The parent process now correctly returns the value from the child process.
2015-08-27 14:22:58 +03:00
70a7a5f2f6 Fix to MXS-328: https://mariadb.atlassian.net/browse/MXS-328
Removed gwbuf_free when the write fails.
2015-08-27 09:16:00 +03:00
c01aa6952e Fix initialisation problem; put all statements on separate lines. 2015-08-26 17:16:10 +01:00
57b82dcedb Correct initialisation logic. 2015-08-26 16:36:08 +01:00
70d82fd45e Fixed compilation problems. 2015-08-26 18:33:46 +03:00
b66bcbd36c Correct small mistake 2015-08-26 16:30:08 +01:00
4ec5e3b69d Change header random.h to random_jkiss.h 2015-08-26 16:18:37 +01:00
820bb4ea00 Avoid name clash - change random to random_jkiss 2015-08-26 16:18:08 +01:00
162db13523 Add actual random number generation code. 2015-08-26 15:43:43 +01:00
1f6b544f33 Tidy dcb_free (prefer use of dcb_close) and remove from test code; add good random number generator. 2015-08-26 15:43:21 +01:00
d9bd22ce90 Added a NULL check to the log manager. 2015-08-26 16:32:17 +03:00
2f9ae48f6a Fixed debug logs not working when logging and flushing. 2015-08-26 12:49:00 +03:00
ec3a4644e4 Erroneously renamed unpack_rpm.sh now renamed correctly. 2015-08-26 11:44:28 +03:00
3e863863dd Fixes to Coverity defects. 2015-08-26 09:35:10 +03:00
b3be72022c Fixed use_sql_variables_in=master not working. 2015-08-25 21:53:54 +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
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
1731a90fad Fix for lastEventTimestamp localtime
Fix for lastEventTimestamp localtime computation
2015-08-25 11:37:17 +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