326 Commits

Author SHA1 Message Date
counterpoint
462bfe677b Fix some bugs; add info for maxadmin. 2015-05-22 11:17:17 +01:00
counterpoint
6f31357372 Initial changes for persistent connections - add some basic functionality. 2015-05-20 18:15:11 +01:00
counterpoint
fec1e66a5c Add comment for parameter, correct spelling in comment. 2015-05-12 11:53:11 +01:00
Markus Makela
bb074d8f94 Removed stdout printing of useless messages from maxkeys and maxpasswd. 2015-05-06 21:00:43 +03:00
Markus Makela
9c305d95c7 Added a warning about multiple monitors monitoring the same servers. 2015-05-05 13:45:24 +03:00
Markus Makela
4b623e3af4 Added percentage conversion functions to maxconfig.h 2015-04-16 21:51:19 +03:00
Markus Makela
d16e4fe134 Added an option for optimization of wildcard grants to individual grants. The default behavior now checks first for specific grants to a database the wildcard grants. 2015-04-15 06:51:52 +03:00
Markus Makela
89ca0f420a Added a rule parsing tool for the dbfwfilter. The tool can be build with the -DBUILD_TOOLS=Y flag for CMake. 2015-04-03 10:37:21 +03:00
Markus Makela
5fb9353b47 Added session idle time and user name the client is connecting with to the dprintSession and dprintAllSessions functions. Also changed last_read from time_t to unsigned long to match the hkheartbeat. 2015-03-13 08:49:34 +02:00
Markus Makela
90875c1164 Cleaned up unused variables. 2015-03-11 18:12:18 +02:00
Markus Makela
63d83cd85d Monitor API 2.0.0 implemented. 2015-03-11 15:18:55 +02:00
Markus Makela
9209c812ba Updates to refactoring of the monitors. 2015-03-11 10:40:53 +02:00
Markus Makela
8d8b91d1a5 Merge branch 'develop' into monitor_refactoring 2015-03-11 07:13:01 +02:00
Markus Makela
2c31666efa Added a configurable frequecy for the feedback task. 2015-03-11 06:51:55 +02:00
Markus Makela
e937947f01 Added test_utils.h header which contains a testing environment initialization function. 2015-03-10 15:16:52 +02:00
MassimilianoPinto
479a2c3a74 stdint.h added to config.h
stdint.h added to config.h
2015-03-10 12:03:01 +01:00
Markus Makela
c0d2a12990 First step to refactoring monitors. 2015-03-10 12:24:23 +02:00
MassimilianoPinto
7af2843bcb Notification Service integration added
Notification Service integration added
2015-03-09 18:06:16 +01:00
Markus Makela
02e742f29e Added unit test for feedback service. 2015-03-09 14:17:40 +02:00
MassimilianoPinto
e1a6b1de08 Added _NOTIFICATION_REPORT_ROW_LEN
Added _NOTIFICATION_REPORT_ROW_LEN for gwbuf_alloc based on know row
numbers
2015-03-09 09:59:43 +01:00
MassimilianoPinto
6a64457255 Fix compiler warning
Fix compiler warning
2015-03-09 09:21:59 +01:00
Markus Makela
5471d35524 Merge branch 'develop' into MAX-324
Conflicts:
	server/include/modutil.h
2015-03-09 10:18:59 +02:00
MassimilianoPinto
8490f52dd0 Merge branch 'develop' into MAX-348 2015-03-09 09:07:30 +01:00
Markus Makela
22849f7c90 Added support for multiple result sets. 2015-03-06 22:40:10 +02:00
Markus Makela
2aaa367c37 Merge branch 'develop' into tee_fixes 2015-03-06 18:27:41 +02:00
MassimilianoPinto
5bbd9a66fc Added show feedbackreport
Added show feedbackreport
2015-03-06 11:15:06 +01:00
MassimilianoPinto
698af9d3b7 Send modules list into to Notification server
Send modules list into to Notification server

TODO: remove fprintf  in module_feedback_send and use log manager
instead
2015-03-05 13:20:22 +01:00
Markus Makela
d98dd6e15f Fixing errors caused by the merge with develop. 2015-03-05 11:14:12 +02:00
Markus Makela
880adca73e Merge branch 'develop' into MAX-324 2015-03-05 10:45:48 +02:00
Markus Makela
0dd63ceaf1 Added release version string function to config.c 2015-03-04 18:48:38 +02:00
MassimilianoPinto
bc5dfe82c2 merge from develop
merge from develop
2015-03-04 17:02:04 +01:00
Markus Makela
1b0fd4576a Merge branch 'maxinfo' into develop
Conflicts:
	server/core/service.c
	server/core/session.c
	server/include/session.h
2015-03-04 11:33:00 +02:00
Markus Makela
3b76ed43c4 Added tee filter multi-statement support. 2015-03-04 04:20:46 +02:00
Markus Makela
692dd79235 Added binary protocol COM_STMT_PREPARE to modutil_get_SQL. 2015-03-03 14:42:55 +02:00
MassimilianoPinto
efda82cbf3 Header file update
Header file update
2015-03-02 17:50:29 +01:00
MassimilianoPinto
64c0b7b041 Notification service support
Notification service support
2015-03-02 17:15:31 +01:00
MassimilianoPinto
193fe22ef0 Addition of module_feedback_send
Addition of module_feedback_send.
Every 30 second data is sent to 127.0.0.1
Missing routines for configuration parameters and blocking the send
after successful completion
2015-02-26 17:47:01 +01:00
Markus Makela
9e7afeb302 Merge branch 'develop' into MAX-324
Conflicts:
	macros.cmake
	server/core/config.c
	server/core/service.c
	server/modules/routing/CMakeLists.txt
2015-02-24 06:26:55 +02:00
Markus Makela
aa4932bf2d Moved the housekeeper heartbeat to a separate header for ease of integration.
This keeps the behavior the same but allows the heartbeat to be used as a crude timer
without including everything the housekeeper.h header includes.

Moved the protocol level updates on the DCBs last_read value into dcb_read.
This keeps the implementation nice and compact.
2015-02-24 05:00:16 +02:00
Markus Makela
c47d2f3791 Added session timeouts.
The parameter 'connection_timeout' for services takes a value as seconds.
All sessions that have been idle for longer than this will be disconnected.
2015-02-20 22:16:43 +02:00
Markus Makela
fc969acc73 Added optional stripping of escape characters from database names when laoding users. 2015-02-20 21:07:12 +02:00
Mark Riddoch
a022775342 Addition of show eventtimes and /events/times URL to maxinfo 2015-02-20 11:53:47 +00:00
Mark Riddoch
8eb14235d1 Addition of DCB and Poll statistics in show status output 2015-02-20 10:05:50 +00:00
Markus Makela
ea55572ab8 Merge branch 'develop' into MAX-324 2015-02-20 04:45:48 +02:00
markus456
c2cd3f4c3d Merge pull request #73 from tanji/serversjson
Output server list in JSON format
2015-02-19 16:56:02 +02:00
Mark Riddoch
11e65f02f0 Addition of maxinfo show modules and show monitors commands 2015-02-19 13:32:48 +00:00
Mark Riddoch
2f218cba3a Addition of maxinfo commands
show sessions
	show clients
	show listeners
	show services
	show servers
2015-02-19 12:55:39 +00:00
Mark Riddoch
3898a995ad Addition of show services command 2015-02-19 11:07:24 +00:00
Mark Riddoch
e0e5652f5e Fixed bug in resultset_make_row
Addition of resultset_stream_json
2015-02-19 11:06:31 +00:00
Guillaume Lefranc
72eb89a787 Add forgotten include of JSON function 2015-02-19 11:22:17 +01:00