1342 Commits

Author SHA1 Message Date
Markus Makela
2471ebf55f Small update to rule parser. 2015-04-03 10:53:05 +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
e13ab6689d Fixed coverity defects. 2015-04-03 07:56:45 +03:00
Markus Makela
a65c790c3b Fixed dbfwfilter tests. 2015-04-03 06:22:30 +03:00
MassimilianoPinto
5ce1b742e9 Binlog Router, slave binlog_pos is now uint32
Binlog Router, slave binlog_pos is now uint32
2015-04-02 16:52:48 +02:00
Markus Makela
fa7e0ea7c0 Added error message for multi-statements to dbfwfilter. 2015-04-02 16:47:43 +03:00
Markus Makela
795a683c55 Added option for controlling case sensitivity of dbfwfilter regex. 2015-04-02 16:31:34 +03:00
Markus Makela
10f97572de Fixed double quotes not woring with regex rules. 2015-04-02 16:20:36 +03:00
Markus Makela
bd9fea4b3d Added support for comment lines in rules. 2015-04-02 14:53:49 +03:00
MassimilianoPinto
3b6d71086e DISCONNECT logs now to message file
DISCONNECT logs now to message file
2015-04-02 10:21:43 +02:00
Markus Makela
440a6ece59 Fix to MXS-78: https://mariadb.atlassian.net/browse/MXS-78
Literal USE statements are now parsed and classified as a database change queries.
2015-04-02 08:16:45 +03:00
Markus Makela
ee2bb2be07 Added log message about 'auth_all_users' being now the default for schemarouter. 2015-04-01 18:46:59 +03:00
Markus Makela
d2bda091fd Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop 2015-04-01 17:56:59 +03:00
MassimilianoPinto
bb65222e89 Fixed wrong var name
Fixed wrong var name detection
2015-04-01 16:56:29 +02:00
Markus Makela
f2dbbe4a97 Added more schemarouter tests. 2015-04-01 15:23:23 +03:00
Markus Makela
de88ae790d Fix to MXS-80: https://mariadb.atlassian.net/browse/MXS-80
Fixed a possible null pointer dereference and schemarouter client sessions not being closed properly when connecting with an empty database.
2015-04-01 11:18:11 +03:00
Markus Makela
04a87acced Fix to MXS-79: https://mariadb.atlassian.net/browse/MXS-79
Added a check for empty database.
2015-04-01 10:53:30 +03:00
Markus Makela
5fb7195091 Fixed extra ' in crc32 value check. 2015-04-01 10:22:24 +03:00
Markus Makela
4c418a128d Combined some conditionals in blr_slave. 2015-04-01 10:10:37 +03:00
MassimilianoPinto
04229423fc Fix checksum for NONE
Fix checksum for NONE as mysqlbinlog sends SET
@master_binlog_checksum='NONE'
2015-04-01 08:30:34 +02:00
Markus Makela
3b11a945cb Added more logging messages for unexpected tokens that do not affect the behavior. 2015-03-31 19:08:34 +03:00
Markus Makela
cb3014d141 Fixed parsing errors and made log messages more descriptive in dbfwfilter. 2015-03-31 18:33:47 +03:00
Markus Makela
be968cfad2 Fixed missing subservices parameter in config. 2015-03-31 12:54:52 +03:00
Markus Makela
7c89f49f82 Fix to MXS-74: https://mariadb.atlassian.net/browse/MXS-74
Added missing check for NULL pointer.
2015-03-31 04:21:43 +03:00
Markus Makela
e42f171564 Added support for direct connections to shardrouter. 2015-03-30 20:45:05 +03:00
Markus Makela
3a0807251c Fix to MXS-54: https://mariadb.atlassian.net/browse/MXS-54
Added log messages for failed authentication attempts.
2015-03-30 15:43:51 +03:00
Markus Makela
5f422a96fc Fixed a memory leak in schemarouter. 2015-03-30 14:24:17 +03:00
Markus Makela
875e49c074 Fixed a possible memory leak in dbfwfilter. 2015-03-30 07:34:08 +03:00
Markus Makela
0b7e1d5a51 Fix to MXS-71 and MXS-72.
at_times now fails if the parameter is not a properly formatted time.
on_queries was falsely identified as on_operations, the behavior is now in line with the documentation.
2015-03-28 16:03:44 +02:00
Markus Makela
e0319067c9 Fix to MXS-68: https://mariadb.atlassian.net/browse/MXS-68
Filter creation fails if the rule file is not valid.
2015-03-28 13:11:57 +02:00
Markus Makela
28ee7f18e0 Fixed wrong pointer being checked for NULL value. 2015-03-28 05:38:18 +02:00
Markus Makela
7c794b1d21 Fixed a memory leak in mysql_client 2015-03-27 20:28:04 +02:00
Markus Makela
6ae929c5d4 Fix to bug MXS-65: https://mariadb.atlassian.net/browse/MXS-65
Added more checks for incorrect rule syntax.
2015-03-27 19:40:18 +02:00
Markus Makela
39fc889dda Removed unnecessary headers from dbfwfilter. 2015-03-26 05:45:20 +02:00
Markus Makela
f870d3bf14 Added more alternative logging. 2015-03-25 11:23:51 +02:00
Markus Makela
8c36a45c69 Updated some logging to be only done if the logfiles are enabled. 2015-03-25 11:18:46 +02:00
Markus Makela
5c68782050 Added more trace logging to readcounnroute, schemarouter and tee. 2015-03-24 21:28:03 +02:00
Markus Makela
cc9b0db5e9 Added logging about authentication errors. 2015-03-24 19:32:17 +02:00
Markus Makela
6b8ffe7506 Fixed subselects not working without explicit table names. 2015-03-24 10:07:49 +02:00
Markus Makela
da406db292 Changed install path to /usr/local/mariadb-maxscale 2015-03-23 20:12:56 +02:00
Markus Makela
7cfc1d3cc9 Chaged MaxScale default installation directory to /usr/local/mariadb/maxscale and MaxAdmin password to 'mariadb'. 2015-03-23 14:53:31 +02:00
Markus Makela
54d242758f Revert "Removed walking of packets from mysql_backend and moved storing of partial packets to session command handling section."
This reverts commit 9e1dc40bb549fdaf05fb4f8c12dc159c30ad4c41.
2015-03-23 11:55:03 +02:00
Markus Makela
9e1dc40bb5 Removed walking of packets from mysql_backend and moved storing of partial packets to session command handling section. 2015-03-23 11:17:07 +02:00
Markus Makela
b416455f4f Added missing type to GWBUF returned from mysql_backend. 2015-03-22 16:53:51 +02:00
Markus Makela
6cfc2338c1 Small fix to modutil_get_complete_packets. 2015-03-22 10:33:35 +02:00
Markus Makela
55513cc998 Improved modutil_get_complete_packets to only allocate a single buffer. 2015-03-22 07:44:14 +02:00
Markus Makela
0c6327e6bf Renamed fwfilter to dbfwfilter. 2015-03-19 23:26:34 +02:00
Markus Makela
163e598f8a Added error logging to schemarouter about cross-database queries. 2015-03-19 22:18:20 +02:00
Markus Makela
7581070bc4 Merge branch 'mxs-47-fix' into develop 2015-03-19 21:22:24 +02:00
Markus Makela
3a50b308b0 Set CPack RPM packaging version to 1 and added a RUNNING option to readconnroute. 2015-03-19 20:11:22 +02:00