Commit Graph

59 Commits

Author SHA1 Message Date
48b1a77a27 Fix for message length in COM_QUERY 2014-09-24 11:15:33 +01:00
675baad4b1 Fixed typo 2014-09-17 14:54:40 +01:00
40416d424e Merge branch 'Z3' of https://github.com/skysql/MaxScale into Z3
Conflicts:
	gcov.diff
	server/core/buffer.c
	server/include/buffer.h
	server/modules/routing/readwritesplit/readwritesplit.c
2014-08-29 18:50:32 +03:00
c501d4d4e1 Changes related to canonical query format implementation.
query_classifier.cc: Now query can be parsed outside query_classifier_get_type by calling function parse_query. It creates parsing_info_t struct which is then added to the GWBUF which also includes the query. Parsing information follows the buffered query and it is freed at the same time with query buffer, in gwbuf_free.
buffer.c: additions of parsing information to gwbuf struct.
modutil.c: added function which returns query from GWBUF in plain text string.
readwritesplit.c:routeQuery now only calls query_classifier_get_type to get the query type instead of extracting plain text query from the GWBUF buffer.
2014-08-20 22:10:36 +03:00
dfdd2cfccb Applying changes made in commit fa1f9ec13113e00e65f2425b080cfb0d102b0872 to this branch. 2014-08-01 16:49:13 +03:00
fa1f9ec131 Added unsigned char in modutil.c routines
Added unsigned char in modutil.c routines
2014-07-16 19:32:20 +02:00
a652e875b5 Support for multipacket statements
Remove double free in cloned DCB's
2014-06-24 17:59:29 +01:00
be87556ab0 Fix for compiler warnings 2014-06-05 15:26:57 +01:00
57e910ad3d Addition of the module utilities functions 2014-06-04 18:34:24 +01:00