Commit Graph

573 Commits

Author SHA1 Message Date
e8264d0228 Added print macro for mysql packet type 2013-07-10 13:20:24 +03:00
8221e75fa7 First version of read write split router. Memory is leaked but it seems that its happening in connection handling somewhere. 2013-07-10 12:31:52 +03:00
7e1840b609 Renamed router to readwritesplit 2013-07-10 11:30:58 +03:00
efb6e7b7aa Added file, and line to debug print. 2013-07-10 11:30:14 +03:00
1e02af08f1 Removed fprintf 2013-07-09 15:54:10 +02:00
6b5f65fb10 New version with /show?dcb|session 2013-07-09 15:39:03 +02:00
dc4a8f5ff5 Fixed typo 2013-07-09 16:33:40 +03:00
04a05e316c Fixed path to monitor 2013-07-09 16:18:18 +03:00
b6bca933cc Continued adding support for libmysqld in modules/monitor/Makefile. Added new libraries to links target. 2013-07-09 15:10:43 +03:00
443e709227 Added libmysqld support to mysql_mon.c, removed comment from router.c 2013-07-09 14:24:00 +03:00
6f8c595871 Merge 2013-07-09 12:37:28 +03:00
e6b72a1900 Added - rm *.so to clean to avoid accidentally use old libraries that were just lying around. 2013-07-09 12:33:25 +03:00
c8b765fbd4 Added again 2013-07-09 11:25:44 +02:00
03fad6fc1c Removed rm *.so 2013-07-09 12:22:17 +03:00
3159477a15 Merge 2013-07-09 12:14:33 +03:00
3d3ba6f986 Division by zero :-) 2013-07-09 12:13:34 +03:00
294613aece Fixed CFLAGS issue which overwrote previously specified includes. 2013-07-09 12:10:54 +03:00
15cba9895c Added HTTPD protocol module in configuration and Makefile 2013-07-09 10:38:58 +02:00
411647f6c3 Merge commit 2013-07-09 09:48:00 +02:00
be7d3b6481 New versions:
apache benchmarks succesfully done.


Example:

ab -n 1000000 -c 200 'http://127.0.0.1:6444/'
2013-07-09 09:45:59 +02:00
06ebb0319d Added flag which determines the connection type for embedded server. 2013-07-09 10:14:11 +03:00
38bb376e27 Merge 2013-07-09 09:54:07 +03:00
02ad5fad57 Removed references to libmysqlclient, and replaced them with those of libmysqld since, in addition to query parsing feature, libmysqld provides external connectivity. 2013-07-09 09:40:25 +03:00
c4d8501d75 Fixed memory leak in the DCB bitmask 2013-07-09 01:37:20 +02:00
23b2a95d5a Update to the user loading to skip servers that can not be connected to 2013-07-08 19:20:50 +02:00
46f6d27b0b Initial implementation of the monitor modules and a simple mysql monitor to set
server up or down automatically.
2013-07-08 18:55:43 +02:00
902e059342 Added basic dta structure for session 2013-07-08 17:38:47 +02:00
da2f4af95d httpd.h moved in modules/include 2013-07-08 16:26:06 +02:00
4c5bd7fffa Revision history added 2013-07-08 16:23:26 +02:00
074ae6220c First implementation 2013-07-08 16:20:59 +02:00
8876e664c9 The write part of the protocol is handled by gateway buffer strategy.
Work in progress for the incoming data
2013-07-08 14:11:44 +02:00
eea82c99cf NULL byte removed form dcb_printf 2013-07-08 12:23:53 +02:00
15ef1e072f added /show, the first "command" that will print all the DCBs. 2013-07-08 11:46:43 +02:00
ba4e8542a2 Added the Date header 2013-07-08 10:53:24 +02:00
df34284d46 Added HTTP/1.1 and Connection: close
Fixed the gwbuff size: next write the httpd_print_str()
2013-07-08 10:28:40 +02:00
5a731ee2eb Merge 2013-07-08 11:25:54 +03:00
743796a918 Added readwritesplit to make list 2013-07-08 11:18:14 +03:00
259eeee4c1 Replaced hard-coded path with variable MARIADB_SRC_PATH 2013-07-08 11:17:37 +03:00
94c0da7443 Added inclusionf of makefile.int to get necessary debug flags for compiler 2013-07-08 11:15:58 +03:00
ee9ce70e7b Added inclusion of makefile.inc to get necessary debug flags for compiler 2013-07-08 11:15:11 +03:00
37ba2738ba First implementation of HTTPD module, without router.
Makefile in ./modules/protocol not added for now
2013-07-08 10:14:55 +02:00
b069a16de7 Added including of makefile.inc debug flags for compiler. 2013-07-08 11:13:59 +03:00
a9b2f199b6 Added renaming of conflicting mysql library functions. 2013-07-08 11:13:04 +03:00
9d23fb024f Do not use strcopy anymore with logging cmds 2013-07-08 11:09:48 +03:00
29d260e6bf Removed fprintf in backend operations.
Some fprinf still available for gateway incoming connection and backend selection
2013-07-05 10:36:59 +02:00
5e06ba76dd Fixed function name mysql_send_custom_error in mysql_common.c and removed from mysql_client.c.
The revision 150 is then not working
2013-07-05 09:59:54 +02:00
9ab35a3348 Added mysql_send_custom_error, fixing the compile warning 2013-07-05 09:51:13 +02:00
740a001d01 moved mysql_send_custom_error to mysql_common.c
The failed backend auth now forces the closeSession and also sets thre router session = NULL

This will be changed introducing another state in the session struct
2013-07-05 09:38:52 +02:00
c5b2b6c759 Remove unnecessary files 2013-07-04 19:03:03 +03:00
76d74e8aa2 Fixed MySQL GTID events to print out the SID as hexadesimal representation to make it more readable 2013-07-04 19:02:11 +03:00